+ Reply to Thread
Results 1 to 3 of 3

Match 3 values and interpolate to find fourth

  1. #1
    Registered User
    Join Date
    04-22-2013
    Location
    Madison, WI
    MS-Off Ver
    Excel 2007
    Posts
    5

    Match 3 values and interpolate to find fourth

    I have a data set with 4 columns of data. I wish to match the first three columns and output the fourth if all previous values match. To complicate matters, I would like to interpolate the fourth value based on the third value. The attached sample shows a bit more detail.

    I have tried matching multiple columns in an array with some success, but I cannot quite get what I am looking for.

    Thanks in advance to anyone who has an idea of how to solve this!
    Attached Files Attached Files

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Match 3 values and interpolate to find fourth

    trouble is 2 fold first for match with a criteria of 1 to work data must be sorted ascending put in e2 =a2&b2&c2 fill down then sort by col e youll see the diference
    secondly i cant see why first result should be 0.253 as there is an exact match for 5 2 350
    in row 18
    lastly
    you can use the non array
    =INDEX($D$2:$D$109,MATCH(F2&G2&H2,INDEX($A$2:$A$109&$B$2:$B$109&$C$2:$C$109,0),1))
    and since youll need to sort the data by whats in col e you could use
    =INDEX($D$2:$D$109,MATCH(F2&G2&H2,E2:E109),1)
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    04-22-2013
    Location
    Madison, WI
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Match 3 values and interpolate to find fourth

    I think I can answer the second discrepancy. I had originally used 360 which provided an interpolated result of 0.253, and I forgot to change it back. I followed your first recommendation and was able to use this code to get what I wanted. I have a large dataset, so a non array solution worked out favorably. Thank you for the help!

+ Reply to Thread

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