Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default 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!!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 620
Default 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!!



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,345
Default 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!!



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default 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!!




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 620
Default 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!!








  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default 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!!






  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 427
Default 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!!

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
Displaying negative time in excel Six Sigma Blackbelt Excel Worksheet Functions 5 November 10th 06 10:42 PM
Running Excel 2000 VBA Application on Excel 2003 Excel Worksheet Functions 0 August 8th 06 06:04 PM
How do I enter a time in excel so it does not print as 1:00:00 PM Geet New Users to Excel 1 February 8th 06 10:29 PM
Accumulate weekly time to total time in Excel. delve Excel Discussion (Misc queries) 0 May 4th 05 08:14 PM
AGE CALCULATING EXCEL SPREADSHEETS AND OTHERS! RICHARD Excel Discussion (Misc queries) 0 March 1st 05 01:53 PM


All times are GMT +1. The time now is 05:09 AM.

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"