I'm running into this issue where I have two sets of datapoints across my timeline. One is collected at every point in the interval "Temperature (Celsius)", the other is collected sporadically "Residual Glucose (g/L)". When placed together in a data table, one of the columns is missing data in the interval. I attached a data table as an example but essentially looks like this:

What I need is to get the mean of the "Temperature (Celsius)" column between rows that contain data in the "Residual Glucose (g/L)" column. The caveat is that this has to be forward-looking . E.g. at row 1, the result should just be "32". At row 7, the result should be the mean of everything in [Row 2, Row 7] = "32.1". The results should show in the cells highlighted green.
I have been doing this by creating a helper column, using sort, and then tabulating but this is very time consuming. I am hoping to get help automating this as I keep adding data to my table. I would appreciate any help and/or guidance!