Forum Discussion

JonasAR1's avatar
JonasAR1
Copper Contributor
May 24, 2022

Hourly Avarages

Hi 

I have a an issue that I cannot resolve in excel.

I have a list of time stamps (Column A) that shows when a new value starts (value in column B).

What I need is a list of 1 hour intervals (Like in column F) over 24 hours with the average value of column b in that hour (Like in Column G).

 

As you can see, values carry over from the day before (row 25), so that is the value in the first ~8:30 hours is 135, but the hour that starts 08:00:00 also have rows 24, 23, 22, 21 and one minute of row 20.

In cell G10 I have tried to explain how the equation would look if it was done by hand.

This data is 1 of 7 days I have, so doing it by hand would take a long time. 

Hope someone has the answer 🙂 

Column F should also contain the date, my mistake. Column G is what I am trying to achieve.

5 Replies

    • JonasAR1's avatar
      JonasAR1
      Copper Contributor
      because the first new value in 09:00 - 10:00 starts at 09:30, so untill then, the value is still the one that started at 08:59, does that make sense? otherwise I will try to make my self clear in another way 🙂 Thank you for you interest!

Resources