I have a problem which I have been trying to solve but I need help.
Thanks in advance for any answers.
I have time series data, much of which is in complete. So for example there might be 4 years missing in the series. What I'd like is a formula which finds the nearest non-blank value both forward or backwards in time.
So for my example below, I'd like cells G2 and H2 to equal 21, and I2 and J2 to equal 51.
The formulas will be entered from row 9 downwards as a complete matrix.
Note my real dataset is many thousands of rows and more years...
Thanks in advance for any answers.
I have time series data, much of which is in complete. So for example there might be 4 years missing in the series. What I'd like is a formula which finds the nearest non-blank value both forward or backwards in time.
So for my example below, I'd like cells G2 and H2 to equal 21, and I2 and J2 to equal 51.
The formulas will be entered from row 9 downwards as a complete matrix.
Note my real dataset is many thousands of rows and more years...