Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I am trying to do a work schedule for work. I am using an excel worksheet
and typing the starting time ex. 8:00 am in Cell A2 and ending time 5:00 pm in Cell B2. I need to add the total hours worked for two full weeks. I have the formula =TEXT(B2-A2,"h"), which adds the hours for the first day. What formula do I use to add the following days to this formula to get a total for two full weeks. Thanks, |
#2
![]() |
|||
|
|||
![]()
You can simply add up your result.
Another way is to find a simple difference first =B2-A2 and format the cell as custom h:mm or simply h, and then add up the entire total and format the result also with the same format - Mangesh "Jayda" wrote in message ... I am trying to do a work schedule for work. I am using an excel worksheet and typing the starting time ex. 8:00 am in Cell A2 and ending time 5:00 pm in Cell B2. I need to add the total hours worked for two full weeks. I have the formula =TEXT(B2-A2,"h"), which adds the hours for the first day. What formula do I use to add the following days to this formula to get a total for two full weeks. Thanks, |
#3
![]() |
|||
|
|||
![]()
=SUMPRODUCT((B2:B20-A2:A20))*24
one step -- HTH Bob Phillips "Jayda" wrote in message ... I am trying to do a work schedule for work. I am using an excel worksheet and typing the starting time ex. 8:00 am in Cell A2 and ending time 5:00 pm in Cell B2. I need to add the total hours worked for two full weeks. I have the formula =TEXT(B2-A2,"h"), which adds the hours for the first day. What formula do I use to add the following days to this formula to get a total for two full weeks. Thanks, |
#4
![]() |
|||
|
|||
![]()
Why are you using TEXT?
Regards, Peo Sjoblom "Jayda" wrote: I am trying to do a work schedule for work. I am using an excel worksheet and typing the starting time ex. 8:00 am in Cell A2 and ending time 5:00 pm in Cell B2. I need to add the total hours worked for two full weeks. I have the formula =TEXT(B2-A2,"h"), which adds the hours for the first day. What formula do I use to add the following days to this formula to get a total for two full weeks. Thanks, |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I find the amount of hours between times? | Excel Discussion (Misc queries) | |||
totaling times past 24 hours | Excel Worksheet Functions | |||
calculate hours just can't figure it out | Excel Worksheet Functions | |||
How do I convert times from hours to minutes? | Excel Discussion (Misc queries) | |||
Subtracting paid hours from unpaid hours | Excel Worksheet Functions |