M
Mr. Haney
This was brought over from the 'functions' group.
I think I need a combination of a sub, and the use of SUMPRODUCT.
Any ideas?
OK... Here is what I want, and it boils down to me not knowing how to
handle the test code, not so much the tally.
I have a sheet with data that starts with a text column that has job
numbers in it.
The sheet is a fixed length (number of rows), meant to be printed out
on a weekly basis,
so there are always blank lines on the sheet that have no data in this
first aforementioned column.
Job Number Mon Time Start Mon Time End Tues Start Tues End
TextSamp1 06:00 08:30
TextSamp2 08:30 10:30
Meal 10:30 11:30
TextSamp1 11:30 15:30
TextSamp2 15:30 17:30
With several blank lines following these
I want to do a "For Each" non-blank example of job number, SumProduct
the time accruals, skipping the blank lines.
With a result that lists the job numbers worked in that day, and the
total time put toward that job number.
Job Number Mon Time Total
TextSamp1 6.5 Hrs
TextSamp2 4.0 Hrs
Meal 0.5 Hrs
I know this is easy, but I just cannot find an example for what I want.
I will do it on a separate tally sheet, and perhaps even from a
different workbook where I query the date coded file names as:
task_track_041809.xls for the week of 04-18-09.
It would seem that I could do it on an included sheet macro free, but
the separate workbook would require VB code, but I am not sure. They
both might need it to perform the test criteria cycling.
Thank you for any assistance in this endeavor.
I think I need a combination of a sub, and the use of SUMPRODUCT.
Any ideas?
OK... Here is what I want, and it boils down to me not knowing how to
handle the test code, not so much the tally.
I have a sheet with data that starts with a text column that has job
numbers in it.
The sheet is a fixed length (number of rows), meant to be printed out
on a weekly basis,
so there are always blank lines on the sheet that have no data in this
first aforementioned column.
Job Number Mon Time Start Mon Time End Tues Start Tues End
TextSamp1 06:00 08:30
TextSamp2 08:30 10:30
Meal 10:30 11:30
TextSamp1 11:30 15:30
TextSamp2 15:30 17:30
With several blank lines following these
I want to do a "For Each" non-blank example of job number, SumProduct
the time accruals, skipping the blank lines.
With a result that lists the job numbers worked in that day, and the
total time put toward that job number.
Job Number Mon Time Total
TextSamp1 6.5 Hrs
TextSamp2 4.0 Hrs
Meal 0.5 Hrs
I know this is easy, but I just cannot find an example for what I want.
I will do it on a separate tally sheet, and perhaps even from a
different workbook where I query the date coded file names as:
task_track_041809.xls for the week of 04-18-09.
It would seem that I could do it on an included sheet macro free, but
the separate workbook would require VB code, but I am not sure. They
both might need it to perform the test criteria cycling.
Thank you for any assistance in this endeavor.