#1   Report Post  
Pete
 
Posts: n/a
Default Summing Time

I wish to calculate the time the machine has actually run.

D1 = 22:00 (Start Time) F1= Time Run
E1 = 00:15 (Finish Time)

D2 = 00:15 (Start) F2= Time Run
E2 = 02:30 (Finish)

D9 = 22:20 (Breakdown)
E9 = 22:30 (Restart)
D10 = 23:15 (Breakdown)
E10 = 23:30 (Restart)
D11 = 00:30 (Breakdown)
E11 = 02:00 (Restart)

Is there a formula that can scan a range (D9:E11) and
give me tha answer in F1 of the time run between the
Start & Finish times

any help would be appreciated

Pete

  #2   Report Post  
Jason Morin
 
Posts: n/a
Default

Try:

=SUM(E1:E2-D1:D2,-(E9:E11-D9:D11),--(E1:E2<D1:D2),--
(E9:E11<D9:D11))

Array-entered (press ctrl + shift + enter).

This gives you total run time for the 2 main runs (D1 to
E1 and D2 to E2) minus any machine downtime.

Format the formula cell as time.

HTH
Jason
Atlanta, GA

-----Original Message-----
I wish to calculate the time the machine has actually

run.

D1 = 22:00 (Start Time) F1= Time Run
E1 = 00:15 (Finish Time)

D2 = 00:15 (Start) F2= Time Run
E2 = 02:30 (Finish)

D9 = 22:20 (Breakdown)
E9 = 22:30 (Restart)
D10 = 23:15 (Breakdown)
E10 = 23:30 (Restart)
D11 = 00:30 (Breakdown)
E11 = 02:00 (Restart)

Is there a formula that can scan a range (D9:E11) and
give me tha answer in F1 of the time run between the
Start & Finish times

any help would be appreciated

Pete

.

  #3   Report Post  
Pete
 
Posts: n/a
Default

Jason,

Thanks. I'm not very good at explaining problems, and
whilst your solution does as stated, it's not the exact
thing I was hoping for.

E13:E20 are the stop times
F13:F20 are the start times

E5 = start of product manufacture
F5 = end of manufacture

A13:A20 is the time in minutes from F5-E5

This formula gives me what I want, but cannot handle
times that span midnight

e.g 22:30 - 00:30 in E5 & F5 respectively

Can you amend the formula to cope with that

=SUMPRODUCT(--($E$13:$E$20=E5),--($F$13:$F$20<=F5),--
($A$13:$A$20))

I hope this makes sense

Pete

-----Original Message-----
Try:

=SUM(E1:E2-D1:D2,-(E9:E11-D9:D11),--(E1:E2<D1:D2),--
(E9:E11<D9:D11))

Array-entered (press ctrl + shift + enter).

This gives you total run time for the 2 main runs (D1 to
E1 and D2 to E2) minus any machine downtime.

Format the formula cell as time.

HTH
Jason
Atlanta, GA

-----Original Message-----
I wish to calculate the time the machine has actually

run.

D1 = 22:00 (Start Time) F1= Time Run
E1 = 00:15 (Finish Time)

D2 = 00:15 (Start) F2= Time Run
E2 = 02:30 (Finish)

D9 = 22:20 (Breakdown)
E9 = 22:30 (Restart)
D10 = 23:15 (Breakdown)
E10 = 23:30 (Restart)
D11 = 00:30 (Breakdown)
E11 = 02:00 (Restart)

Is there a formula that can scan a range (D9:E11) and
give me tha answer in F1 of the time run between the
Start & Finish times

any help would be appreciated

Pete

.

.

  #4   Report Post  
Jason Morin
 
Posts: n/a
Default

To handle times than cross midnight (and to learn just
about everything you need to know about handling dates
and times in Excel), see:

http://www.cpearson.com/excel/datetime.htm#AddingTimes

This gives an example timesheet that discusses time
crossing midnight:

http://www.cpearson.com/excel/overtime.htm

HTH
Jason
Atlanta, GA

-----Original Message-----
Jason,

Thanks. I'm not very good at explaining problems, and
whilst your solution does as stated, it's not the exact
thing I was hoping for.

E13:E20 are the stop times
F13:F20 are the start times

E5 = start of product manufacture
F5 = end of manufacture

A13:A20 is the time in minutes from F5-E5

This formula gives me what I want, but cannot handle
times that span midnight

e.g 22:30 - 00:30 in E5 & F5 respectively

Can you amend the formula to cope with that

=SUMPRODUCT(--($E$13:$E$20=E5),--($F$13:$F$20<=F5),--
($A$13:$A$20))

I hope this makes sense

Pete

-----Original Message-----
Try:

=SUM(E1:E2-D1:D2,-(E9:E11-D9:D11),--(E1:E2<D1:D2),--
(E9:E11<D9:D11))

Array-entered (press ctrl + shift + enter).

This gives you total run time for the 2 main runs (D1

to
E1 and D2 to E2) minus any machine downtime.

Format the formula cell as time.

HTH
Jason
Atlanta, GA

-----Original Message-----
I wish to calculate the time the machine has actually

run.

D1 = 22:00 (Start Time) F1= Time Run
E1 = 00:15 (Finish Time)

D2 = 00:15 (Start) F2= Time Run
E2 = 02:30 (Finish)

D9 = 22:20 (Breakdown)
E9 = 22:30 (Restart)
D10 = 23:15 (Breakdown)
E10 = 23:30 (Restart)
D11 = 00:30 (Breakdown)
E11 = 02:00 (Restart)

Is there a formula that can scan a range (D9:E11) and
give me tha answer in F1 of the time run between the
Start & Finish times

any help would be appreciated

Pete

.

.

.

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
Summing Time Data AJG Excel Discussion (Misc queries) 3 May 13th 05 08:44 PM
Summing Time JDT Excel Discussion (Misc queries) 8 February 8th 05 10:53 PM
entering numbers to display a time format Ian Williams/Eazygig Excel Discussion (Misc queries) 1 January 10th 05 11:57 AM
Help - Information with time and date PM Excel Discussion (Misc queries) 4 January 6th 05 08:25 AM
time formatting and time categorizing (vlookup or data validation) MarianneR Excel Worksheet Functions 4 November 18th 04 03:24 PM


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