Results 1 to 3 of 3

VBA to interpolate missing values in table

Threaded View

  1. #1
    Registered User
    Join Date
    10-25-2009
    Location
    Toronto, ON
    MS-Off Ver
    Excel 2003
    Posts
    13

    VBA to interpolate missing values in table

    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
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1