I summed up the hours above the date (filled in green)
Is this what you are wanting?
I summed up the hours above the date (filled in green)
Is this what you are wanting?
Assuming your time input cells are formatted correctly ( I would use 24 hour time for clarity: e.g. 17:00 vs. 5:00 pm but it's your choice).
This formula will calculate the hours worked:
=(B13-B12)*24
I would love to use military time, but the Boss will not allow it. Thank you guys for trying Palmetto you are on the right track I just need it to work on a AM/PM schedule
Palmetto's formula will work for you even if you use AM/PM as long as it is formatted as time and not text. However yours are formatted as (text 6a is not a valid time format). If you go through the trouble of converting them all (e.g. 6a to 6:00 AM), then starting in C12That can be dragged and copied to all your green cells. Does that work for you.![]()
=IF(AND(ISNUMBER(B12),ISNUMBER(B13)),(B13-B12)*24,"")
Last edited by ChemistB; 08-19-2009 at 04:35 PM.
ChemistB
My 2?
substitute commas with semi-colons if your region settings requires
Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)
Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble
excellent work and great help guys, one last question what formula would I use to add the total hours scheduled for that week for each person?
Well, your equationworks perfectly well.![]()
=C12+E12+G12+I12+K12+M12+O12
OrEntered as an array (CNTRL SHFT ENTER)![]()
=SUM(IF(MOD(COLUMN(C:O),2)=1,C12:O12,0))
OrAny of these work for you?![]()
=SUMPRODUCT(--(MOD(COLUMN(C12:O12),2)=1),C12:O12) or placing a T in the appropriate columns (green) in row 11 =SUMPRODUCT(--($C$11:$O$11="T"),C12:O12)
I want to thank everyone for the help I was able to make the schedule with your help
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks