![]() |
Excel Calculating Time
Can Excel calculate daily hours with just a cell that contains a start time
and one that contains an end time? I tried different things but they all came out with ###VALUE or ###REF and junk like that... THANKS YET AGAIN!! |
Excel Calculating Time
08:30 in A1
17:15 in B1 =B1-A1 in C1 gives 08:45 If the times might go over midnight, use =B1-A1+(A1B1) -- David Biddulph "ng66" wrote in message ... Can Excel calculate daily hours with just a cell that contains a start time and one that contains an end time? I tried different things but they all came out with ###VALUE or ###REF and junk like that... THANKS YET AGAIN!! |
Excel Calculating Time
With times entered as XL time (ie like 8:45 with a full colon)
Start time in B2 End time in C2 Hours in D2: =C2-B2 and format the cell as custom hh:mm If you SUM() the hours worked the custom format the cell as [hh]:mm which will stop the hours rolling over into days when they reach 24 -- HTH Sandy In Perth, the ancient capital of Scotland and the crowning place of kings with @tiscali.co.uk "ng66" wrote in message ... Can Excel calculate daily hours with just a cell that contains a start time and one that contains an end time? I tried different things but they all came out with ###VALUE or ###REF and junk like that... THANKS YET AGAIN!! |
Excel Calculating Time
So it has to be done in military time, ie 20:15??
"Sandy Mann" wrote: With times entered as XL time (ie like 8:45 with a full colon) Start time in B2 End time in C2 Hours in D2: =C2-B2 and format the cell as custom hh:mm If you SUM() the hours worked the custom format the cell as [hh]:mm which will stop the hours rolling over into days when they reach 24 -- HTH Sandy In Perth, the ancient capital of Scotland and the crowning place of kings with @tiscali.co.uk "ng66" wrote in message ... Can Excel calculate daily hours with just a cell that contains a start time and one that contains an end time? I tried different things but they all came out with ###VALUE or ###REF and junk like that... THANKS YET AGAIN!! |
Excel Calculating Time
8:15 PM will work equally well, if you prefer.
-- David Biddulph "ng66" wrote in message ... So it has to be done in military time, ie 20:15?? "Sandy Mann" wrote: With times entered as XL time (ie like 8:45 with a full colon) Start time in B2 End time in C2 Hours in D2: =C2-B2 and format the cell as custom hh:mm If you SUM() the hours worked the custom format the cell as [hh]:mm which will stop the hours rolling over into days when they reach 24 -- HTH Sandy In Perth, the ancient capital of Scotland and the crowning place of kings with @tiscali.co.uk "ng66" wrote in message ... Can Excel calculate daily hours with just a cell that contains a start time and one that contains an end time? I tried different things but they all came out with ###VALUE or ###REF and junk like that... THANKS YET AGAIN!! |
Excel Calculating Time
What have you tried exactly ?
Steve On Thu, 25 Jan 2007 22:01:02 -0000, ng66 wrote: Can Excel calculate daily hours with just a cell that contains a start time and one that contains an end time? I tried different things but they all came out with ###VALUE or ###REF and junk like that... THANKS YET AGAIN!! |
Excel Calculating Time
Perfect, thanks!
"David Biddulph" wrote: 8:15 PM will work equally well, if you prefer. -- David Biddulph "ng66" wrote in message ... So it has to be done in military time, ie 20:15?? "Sandy Mann" wrote: With times entered as XL time (ie like 8:45 with a full colon) Start time in B2 End time in C2 Hours in D2: =C2-B2 and format the cell as custom hh:mm If you SUM() the hours worked the custom format the cell as [hh]:mm which will stop the hours rolling over into days when they reach 24 -- HTH Sandy In Perth, the ancient capital of Scotland and the crowning place of kings with @tiscali.co.uk "ng66" wrote in message ... Can Excel calculate daily hours with just a cell that contains a start time and one that contains an end time? I tried different things but they all came out with ###VALUE or ###REF and junk like that... THANKS YET AGAIN!! |
All times are GMT +1. The time now is 04:42 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com