Would you please help me sort this following problem out? I've been stuck here for a while.
I have the data as below. You can see there are 3 loops (column A, B and C) and column D contains the computed values that I want at the index continuous positions.
However these indexes are not continuous at all. You can see at 3rd-loop (column C), it nicely goes from 1-4 but then the next loop it misses 3...and so on. Consequently, the 2nd-loop doesn't go nicely also. These non-continuous are marked by red number or line...
What I want is the interpolated values in column D in case there are a gap between them, a simple interpolation is already great for me.
Say my loops go from 1:nA, 1:nB and 1:nC. For this very short example, nA=2, nB=3, nC=4 but my true data is up to hundreds...