Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Jayda
 
Posts: n/a
Default =Text(b2-A2,"h") hours between 2 times, what do I do for 10 times

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   Report Post  
Mangesh
 
Posts: n/a
Default

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   Report Post  
Bob Phillips
 
Posts: n/a
Default

=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   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I find the amount of hours between times? gormanj Excel Discussion (Misc queries) 1 May 4th 05 12:26 PM
totaling times past 24 hours txduster Excel Worksheet Functions 2 February 21st 05 04:39 PM
calculate hours just can't figure it out monish74 Excel Worksheet Functions 1 February 13th 05 07:31 PM
How do I convert times from hours to minutes? kkrebs Excel Discussion (Misc queries) 5 December 30th 04 06:13 PM
Subtracting paid hours from unpaid hours ejerry7 Excel Worksheet Functions 5 November 29th 04 04:16 AM


All times are GMT +1. The time now is 05:56 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"