Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
musicman52151
 
Posts: n/a
Default Time card template

I have a large spreadsheet of time calculations. I have formula to get number
of hours worked per person.
A B C
10:00 AM 2:30 PM 4:30 This formula works
12:00 PM 3:15 PM 3:15 =TEXT(B1:A1,"h:mm")
2:00 PM 7:30 PM 5:30
4:00 PM 5:30 PM 1:30
12:00 AM This formula does not work
=sum(c1:c4) How come? I would like this to work like an old fashioned time
card from the 50's Thanks

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Biff
 
Posts: n/a
Default Time card template

Hi!

Try this:

Enter this formula in cell C1 and copy down as needed:

Format the cell as h:mm

=IF(COUNT(A1:B1)<2,"",B1-A1+(B1<A1))

Now your Sum formula should work. Format the cell of the Sum formula as
[h]:mm.

Biff

"musicman52151" wrote in message
...
I have a large spreadsheet of time calculations. I have formula to get
number
of hours worked per person.
A B C
10:00 AM 2:30 PM 4:30 This formula works
12:00 PM 3:15 PM 3:15 =TEXT(B1:A1,"h:mm")
2:00 PM 7:30 PM 5:30
4:00 PM 5:30 PM 1:30
12:00 AM This formula does not work
=sum(c1:c4) How come? I would like this to work like an old fashioned
time
card from the 50's 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
Template to track credit card expenses and expense reports combi sunshinelover Excel Discussion (Misc queries) 2 August 18th 05 02:58 AM
Time Card Dan B Excel Worksheet Functions 2 March 23rd 05 08:25 PM
a template for a holiday card list? impeck New Users to Excel 1 February 28th 05 05:33 AM
Need Budget Template for Bills, expenses, credit card balances wh. Allicia New Users to Excel 1 February 15th 05 09:01 PM
Appointment Card Template stewsutherland New Users to Excel 3 January 10th 05 06:13 PM


All times are GMT +1. The time now is 03:35 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"