Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
LolaK
 
Posts: n/a
Default Problems calculating total hours

I am trying to create a wokr sheet that calculates the total hours worked in
a day utilizing hour:minute format. I've tried using =HOUR(B1-A1), and
although the hours get added the minutes don't and I do need a formula that
can calculate hour and minute and give me a total of how many there are in
that work day.

  #2   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
just subtract both values:
=B1-A1
and format as time
if your workin day can span midnigth use
=B1-A1+(B1<A1)
or
=MOD(B1-A1,1)

--
Regards
Frank Kabel
Frankfurt, Germany

LolaK wrote:
I am trying to create a wokr sheet that calculates the total hours
worked in a day utilizing hour:minute format. I've tried using
=HOUR(B1-A1), and although the hours get added the minutes don't and
I do need a formula that can calculate hour and minute and give me a
total of how many there are in that work day.



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
MY VLOOKUP IS RETURNING N/A AND THEREFORE MY TOTAL SUM AT THE BOT. Martin Excel Discussion (Misc queries) 2 December 13th 04 12:21 PM
how to calculate total months from month/year patti Excel Discussion (Misc queries) 1 December 8th 04 10:50 PM
how do i set up a single cell continual entry in excel to total f. mike@swallow Excel Discussion (Misc queries) 1 December 7th 04 01:29 PM
Timesheet hours will not total. Help. Kelly Excel Discussion (Misc queries) 1 December 6th 04 05:24 PM
Sumif or if statements-Help! ber_harris Excel Discussion (Misc queries) 5 December 1st 04 11:57 PM


All times are GMT +1. The time now is 09:07 PM.

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

About Us

"It's about Microsoft Excel"