Hi -
This should be relatively simple, but I have been fighting with it way too long.
I have a table with two fields, [Date] and [Value]. [Date] is populated with all dates in one year, and [Value] has roughly one date per month, at randomish intervals.
I'd like to loop through [Value], count the nulls between set of non-nulls and then interpolate linearly. For example, say Jan 1 has a [Value] = 1 and Jan 30 has [Value] = 30, the results would populate Jan 2nd = 2, Jan 26th = 26th, etc.
I've tried all sorts of things in VBA and keep struggling.
Thanks in advance!
This should be relatively simple, but I have been fighting with it way too long.
I have a table with two fields, [Date] and [Value]. [Date] is populated with all dates in one year, and [Value] has roughly one date per month, at randomish intervals.
I'd like to loop through [Value], count the nulls between set of non-nulls and then interpolate linearly. For example, say Jan 1 has a [Value] = 1 and Jan 30 has [Value] = 30, the results would populate Jan 2nd = 2, Jan 26th = 26th, etc.
I've tried all sorts of things in VBA and keep struggling.
Thanks in advance!