Excel formula for a furnace runtime and create a cycle number for each data cohort

Parka

New Member
Joined
Dec 25, 2023
Messages
3
Office Version
  1. 365
Platform
  1. Windows
I have an extract of data showing furnace run-time for each 5-minute interval (Column B) by day and time (Column A)
Looking for assistance in creating a formula totalling furnace run-time for each cycle when the furnace is running (Column D). Also looking to add a unique run cycle number when the furnace is on (Column c).

When the data shows "0", the furnace was not on.

The number in column B represents how many minutes the furnace ran in those 5 minutes (60 seconds times 5 minutes = 300 seconds).

Columns C & D is what I would like the formula to calculate.
1703537027749.png
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
We cannot manipulate data in a picture. Request you re upload your data using XL2BB and then also upload a mocked up solution so we understand exactly what you are attempting.
 
Upvote 0
TimestampAuxiliary Heat Run Time Cycle NumberCumulative RunTime for the Cycle
2022-12-21 5:05:00 PM180Cycle 11080
2022-12-21 5:10:00 PM300Cycle 11080
2022-12-21 5:15:00 PM300Cycle 11080
2022-12-21 5:20:00 PM300Cycle 11080
2022-12-21 5:30:00 PM0Off0
2022-12-21 5:35:00 PM120Cycle 2420
2022-12-21 5:40:00 PM300Cycle 2420
2022-12-21 5:45:00 PM0Off0
2022-12-21 5:50:00 PM0Off0
 
Upvote 0
TimestampAuxiliary Heat Run TimeCycle NumberCumulative RunTime for the Cycle
2022-12-21 5:05:00 PM180Cycle 11080
2022-12-21 5:10:00 PM300Cycle 11080
2022-12-21 5:15:00 PM300Cycle 11080
2022-12-21 5:20:00 PM300Cycle 11080
2022-12-21 5:30:00 PM0Off0
2022-12-21 5:35:00 PM120Cycle 2420
2022-12-21 5:40:00 PM300Cycle 2420
2022-12-21 5:45:00 PM0Off0
2022-12-21 5:50:00 PM0Off0
See data above. Could not load the data using your software.
 
Upvote 0
How about?:
In C2 this formula:

Excel Formula:
=IF((B2<>0),IF((N(B1)=0),MAX(IFERROR(VALUE($C$1:C1),0))+1,C1),0)

And in D2 this formula:

Excel Formula:
=SUM($B$2:$B$1000*($C$2:$C$1000=C2))

and copy down both.

1703539712385.png


sorry cant paste bb code i'm on excel web app at the moment
 
Upvote 0
Solution

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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