Dear all,
I have a table (10000 records) contains a "column" field , "row" field and some values under "Value" field (sample example attached). I need to interoplate / extrapolate missing values within each COLUMN if enough minimum number of values exist to allow interpolation. Next, interpolate within each ROW for any missing values that havn't been filled from the prvious process (see example attached with explanation).
I expect the following steps will be performed:
-STEP 1:
- For each COLUMN within the group, if there's at least 3 values, interpolate/ extrapolate linearly all missing values as necessary (column 1 within Group 1 above meets the criteria of 3 values)
- Column 2 ' as an examlpe' has only 2 values, doesn't meet the criteria then skip
- Column 3 meets the criteria( at least 3 values), then interpolate / extrapolate and so on
STEP 2:
Now, for each ROW across all columns within the group (row A, B, etc.) , interpolate / extrapolate all missing values. This should fill all values skiped from step 1 above. After finishing, move to the next group and so on
I appreciate a vba macro to solve this. Thanks
Bookmarks