greetings all
my data
--------------------------------------------------------------------
I have a series of decimal values which represent hours, these values correlate to a given fuel flow rate at that time instant.
I have grouped the fuel flow rates into 3 groups
(=IF(F4 > =2800,3,IF(AND(F4 > =570,F4 < 2800),2,IF(AND(F4 > =0,F4 < 570),1)))
this correlates the fuel flow rates with the number of engines used (1, 2 or 3 Engines) depending on the fuel flow rate value
During a given time span the number of engines used in the ship fluctuates (post continued after pic)
Capture.PNG
----------------------------------------------------------------
problem
----------------------------------------------------------------
how can I measure the total time interval of each group???
(i.e the total timespan where No. of Eng=1 or No. of Eng.=2 or No. of Eng=3)
what I attempted was =SUMIF(G7661:G22484,1,C7661:C22484), =SUMIF(G7661:G22484,2,C7661:C22484), =SUMIF(G7661:G22484,3,C7661:C22484)
but realised that just adds the time values together
I think I somehow need to subtract the last value when the group changes from 1 - > 2, 2 - >3, 3 - > 2, 2 - > 1 with the first.... but I really have no idea how to get around this
-----------------------------------------------------------------
please god someone help me lol
Bookmarks