calculate the total time taken to complete a cycle in excel

noufi

New Member
Joined
Dec 19, 2018
Messages
6
i need to calculate, how mant minutes its takes to reach temperature 120(T1, time corresponding to blue color numbers), after reaching 120, how many minutes it is in between 119.5 to 120.5 deg temperature(T2, time corresponding to red colour numbers), and how many minutes after T2,(T3, time coresponding to green colour numbers).
T1 i calculated as:,=SUM(C1:INDEX($C$1:$C$25,MATCH(H8,$B$1:$B$25,0)-1))
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

<colgroup><col width="64" style="width:48pt"> </colgroup><tbody>
</tbody>
Time
10:36:00
10:36:30
10:37:00
10:37:30
10:38:00
10:38:30
10:39:00
10:39:30
10:40:00
10:40:30
10:41:00
10:41:30
10:42:00
10:42:30
10:43:00
10:43:30
10:44:00
10:44:30
10:45:00

<tbody>
</tbody>
Temp
45.5
49.7
91
106
113.5
115.6
117.8
119.6
120
119.7
119.7
119.7
119.7
119.7
120.3
108.8
102.8
54.5
48.4

<colgroup><col></colgroup><tbody>
</tbody>
Temp diff
0:00:30
0:00:30
0:00:30
0:00:30
0:00:30
0:00:30
0:00:30
0:00:30
0:00:30
0:00:30
0:00:30
0:00:30
0:00:30
0:00:30
0:00:30
0:00:30
0:00:30
0:00:30
0:00:30

<colgroup><col></colgroup><tbody>
</tbody>

<colgroup><col></colgroup><tbody>
</tbody>

<tbody>
</tbody>
now please help me to find T2 and T3.
H8: 120.
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
GsstrO1
Hi noufi,

I suggest creating a small table in cells G12:I15 which will present the results of all 3 SUM formulas.

Sum (column H)Row No (column I)
T100:04:008
T200:03:3015
T300:02:0019

<tbody>
</tbody>
You already completed the first part (T1) ->
Sum: =SUM(C1:INDEX($C$1:$C$25,MATCH(H8,$B$1:$B$25,0)-1))
Row No: =MATCH(H8,$B$1:$B$25,0)-1

T2 can be calculated as ->
Sum: =SUM(INDEX(C:C,I13+1):INDEX(C:C,I14))
Row No (Array formula - Ctrl+Shift+Enter): =LARGE(--((B9:B19-120.5)>=-1)*ROW(B9:B19),1)

Finally, for T3 ->
Sum: =SUM(INDEX(C:C,I14+1):INDEX(C:C,I15))
Row No: =COUNTA(C:C)

Of course, you can combine Row No with Sum formulas, but I believe that it might be clearer to present the results in such form.
Hope it helps.
 
Upvote 0
I suggest creating a small table in cells G12:I15 which will present the results of all 3 SUM formulas.

Sum (column H)Row No (column I)
T100:04:008
T200:03:3015
T300:02:0019

<tbody>
</tbody>
You already completed the first part (T1) ->
Sum: =SUM(C1:INDEX($C$1:$C$25,MATCH(H8,$B$1:$B$25,0)-1))
Row No: =MATCH(H8,$B$1:$B$25,0)-1

T2 can be calculated as ->
Sum: =SUM(INDEX(C:C,I13+1):INDEX(C:C,I14))
Row No (Array formula - Ctrl+Shift+Enter): =LARGE(--((B9:B19-120.5)>=-1)*ROW(B9:B19),1)

Finally, for T3 ->
Sum: =SUM(INDEX(C:C,I14+1):INDEX(C:C,I15))
Row No: =COUNTA(C:C)

Of course, you can combine Row No with Sum formulas, but I believe that it might be clearer to present the results in such form.
Hope it helps.[/QUOTE]


Hi JustynaMK,

Highly appreciated for your valuable reply.

It is working. but the thing is that, this is a variying process, the data will be different in next day(next cycle).

in this formula,

Row No (Array formula - Ctrl+Shift+Enter): =LARGE(--((B9:B19-120.5)>=-1)*ROW(B9:B19),1)

manually i need to change the range (B9:B19) . it is not easy to change range in each process. i think if i can change range also using formula, that would be better.

i found one formula mentioned below, but it is finding T3 also( combined T2 and T3) in one strech.

SUM(OFFSET($C$1,MATCH(H8,$B$1:$B$25,0),0,ROW($B$1:$B$25)-ROW($B$1)+1):C25)= 00:5:30 :(

hope u can help me on this too.
 
Upvote 0
Hi noufi,

Fair point! Let's replace "B9:B19" with INDEX formula which will be based on row number calculated in I13 (using your T1 formula) and row number calculated in I15 (last row number in array). Same as previously, you need to use Ctrl+Shift+Enter:
=LARGE(--((INDEX(B:B,I13+1):(INDEX(B:B,I15))-120.5) > =-1)*ROW((INDEX(B:B,I13+1):(INDEX(B:B,I15)))),1)

This should make the whole table dynamic. Let me know your thoughts.
 
Upvote 0

Forum statistics

Threads
1,214,642
Messages
6,120,698
Members
448,979
Latest member
DET4492

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top