Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Excel 2007 calculate time between 2 date/time columns

I am using Excel 2007 and trying to calculate the actual time it takes to
pick orders.
Work day starts at 06:00 and ends at 20:00. using simple [end time] -
[start time] calulation. How do i calculate the hours if the job goes in to
the next day? I am a novice, as you can tell, but desperate to learn.
Kevo
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Excel 2007 calculate time between 2 date/time columns

To deal with wrapping round at midnight, use =MOD(B2-A,1) and format as
time.
If you are taking more than 24 hours, then you'd have to input date and
time.
--
David Biddulph

"Kevo" wrote in message
...
I am using Excel 2007 and trying to calculate the actual time it takes to
pick orders.
Work day starts at 06:00 and ends at 20:00. using simple [end time] -
[start time] calulation. How do i calculate the hours if the job goes in
to
the next day? I am a novice, as you can tell, but desperate to learn.
Kevo



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Excel 2007 calculate time between 2 date/time columns

Hi David, thank you for your prompt reply.
Very helpful.
My new problem is how to "remove" the hours we don't work from 8pm at night
to 6am the next morning (10 hours we are not open).
Any suggestions?
Thanks,
Kevo

"David Biddulph" wrote:

To deal with wrapping round at midnight, use =MOD(B2-A,1) and format as
time.
If you are taking more than 24 hours, then you'd have to input date and
time.
--
David Biddulph

"Kevo" wrote in message
...
I am using Excel 2007 and trying to calculate the actual time it takes to
pick orders.
Work day starts at 06:00 and ends at 20:00. using simple [end time] -
[start time] calulation. How do i calculate the hours if the job goes in
to
the next day? I am a novice, as you can tell, but desperate to learn.
Kevo




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default Excel 2007 calculate time between 2 date/time columns

Try this:
A1 = start time
A2 = end time

=a2-a1+(a2<a1)*time(14,0,0)

This will work as long as you finish the job within a 24-hour period.

Regards,
Fred.

"Kevo" wrote in message
...
Hi David, thank you for your prompt reply.
Very helpful.
My new problem is how to "remove" the hours we don't work from 8pm at
night
to 6am the next morning (10 hours we are not open).
Any suggestions?
Thanks,
Kevo

"David Biddulph" wrote:

To deal with wrapping round at midnight, use =MOD(B2-A,1) and format as
time.
If you are taking more than 24 hours, then you'd have to input date and
time.
--
David Biddulph

"Kevo" wrote in message
...
I am using Excel 2007 and trying to calculate the actual time it takes
to
pick orders.
Work day starts at 06:00 and ends at 20:00. using simple [end time] -
[start time] calulation. How do i calculate the hours if the job goes
in
to
the next day? I am a novice, as you can tell, but desperate to learn.
Kevo





  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Excel 2007 calculate time between 2 date/time columns

Hi Fred, thanks for the reply and the help. I've never used this kind of site
before and its amazing how helpful and polite people sre.
Unfortunately some of our orders are on the system for more than 24 hours,
due to the complexity of stock. Is there any way to do this for times
greater than 24 hours?
Best Regards,
Kevo

"Fred Smith" wrote:

Try this:
A1 = start time
A2 = end time

=a2-a1+(a2<a1)*time(14,0,0)

This will work as long as you finish the job within a 24-hour period.

Regards,
Fred.

"Kevo" wrote in message
...
Hi David, thank you for your prompt reply.
Very helpful.
My new problem is how to "remove" the hours we don't work from 8pm at
night
to 6am the next morning (10 hours we are not open).
Any suggestions?
Thanks,
Kevo

"David Biddulph" wrote:

To deal with wrapping round at midnight, use =MOD(B2-A,1) and format as
time.
If you are taking more than 24 hours, then you'd have to input date and
time.
--
David Biddulph

"Kevo" wrote in message
...
I am using Excel 2007 and trying to calculate the actual time it takes
to
pick orders.
Work day starts at 06:00 and ends at 20:00. using simple [end time] -
[start time] calulation. How do i calculate the hours if the job goes
in
to
the next day? I am a novice, as you can tell, but desperate to learn.
Kevo







  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Excel 2007 calculate time between 2 date/time columns


I've been looking around the discussions and trying out a few examples from
other posts. I have decided on using the following but the calculation
doesn't work on my spreadsheet, even though i can get the examples to work on
spreadsheets.
Right, I'll try to describe as best i can what the problem is:
Calculating the following difference in months, DAYS, hours and minutes.
A2=02/04/08 07:49:25
E2=12/08/08 13:05:16

trying to calculate the time difference, assuming that working hours = 14
(6am to 8pm) and only using weekdays:

=SUM((20/24-MOD(A2,1))*(WEEKDAY(A2,2)<6),MOD(E2,1)-6/24*
(WEEKDAY(E2,2)<6)+(NETWORKDAYS(A2,E2)-SUM(WEEKDAY(A2,2)
<6,WEEKDAY(E2,2)<6))*14/24)

answer i got was 2-24-01:15
2 months 24 days 1hour 15 minutes.
Obviously incorrect, but what have i done wrong?
PLEASE< PLEASE<PLEASE put me out of my misery.
Regards,
a very frustrated Englishman (and it's St Georges Day)

"Kevo" wrote:

Hi Fred, thanks for the reply and the help. I've never used this kind of site
before and its amazing how helpful and polite people sre.
Unfortunately some of our orders are on the system for more than 24 hours,
due to the complexity of stock. Is there any way to do this for times
greater than 24 hours?
Best Regards,
Kevo

"Fred Smith" wrote:

Try this:
A1 = start time
A2 = end time

=a2-a1+(a2<a1)*time(14,0,0)

This will work as long as you finish the job within a 24-hour period.

Regards,
Fred.

"Kevo" wrote in message
...
Hi David, thank you for your prompt reply.
Very helpful.
My new problem is how to "remove" the hours we don't work from 8pm at
night
to 6am the next morning (10 hours we are not open).
Any suggestions?
Thanks,
Kevo

"David Biddulph" wrote:

To deal with wrapping round at midnight, use =MOD(B2-A,1) and format as
time.
If you are taking more than 24 hours, then you'd have to input date and
time.
--
David Biddulph

"Kevo" wrote in message
...
I am using Excel 2007 and trying to calculate the actual time it takes
to
pick orders.
Work day starts at 06:00 and ends at 20:00. using simple [end time] -
[start time] calulation. How do i calculate the hours if the job goes
in
to
the next day? I am a novice, as you can tell, but desperate to learn.
Kevo





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 to add date and time to a single cell in MS Excel 2007 Anil123 Excel Worksheet Functions 5 April 21st 09 07:24 AM
Static Date & Time in Footer - Excel 2007 Maria Maz Excel Discussion (Misc queries) 1 January 26th 09 05:35 PM
Calculate Ending time using Start Time and Elapsed Time Chief 711 Excel Worksheet Functions 5 May 13th 08 04:34 PM
Calculating days & time left from start date/time to end date/time marie Excel Worksheet Functions 7 December 7th 05 02:36 PM
HOW DO I CALCULATE TIME IN A TIME SHEET FOR EXCEL RAFAEL New Users to Excel 1 June 26th 05 11:32 PM


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