I have a set of data which is similar to the table below.
| Column A | Column B |
|---|---|
| 12:00 | 200 |
| 12:30 | 235 |
| 12:45 | 233 |
| 12:55 | 245 |
| 13:09 | 265 |
| 13:15 | 288 |
| 13:35 | 289 |
| 13:55 | 299 |
What I need is to set a formula which allows me to get the max value from column B for each 1 hr interval in column A. For example, from 12:00 to 12:55 the max value is 245. From 13:09 to 13:55 the max value is 299.
In this way I can create another table where I will have in one column the 1st hr interval and in another column the correspondent max value for that hour.
Since I have an extensive amount of data, how can make this easier with a formula?
Thanks
I did this manually, but it takes too long.



Copy, paste, and update A3:B35 in the formula with your array: