+ Reply to Thread
Results 1 to 4 of 4

If match index returns value X, then use match index to return new value

  1. #1
    Registered User
    Join Date
    01-08-2020
    Location
    Toronto
    MS-Off Ver
    2010
    Posts
    72

    If match index returns value X, then use match index to return new value

    I am using Index match to return a value but if a certain value is return then is it possible to do another index match.

    To better explain I am have attached a example. in the example I am match index the corridor but if the value comes back as 'PFW' then I would like it to then lookup the next column in the data set.

    Thank you.
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,728

    Re: If match index returns value X, then use match index to return new value

    Try this:

    =IF(INDEX('Exampe Data'!B:B,MATCH(A2,'Exampe Data'!A:A,0))="PFW",INDEX('Exampe Data'!C:C,MATCH(A2,'Exampe Data'!A:A,0)),INDEX('Exampe Data'!B:B,MATCH(A2,'Exampe Data'!A:A,0)))
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    01-08-2020
    Location
    Toronto
    MS-Off Ver
    2010
    Posts
    72

    Re: If match index returns value X, then use match index to return new value

    Thanks AliGW!

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,728

    Re: If match index returns value X, then use match index to return new value

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 03-01-2020, 10:36 PM
  2. Replies: 6
    Last Post: 05-22-2019, 11:29 PM
  3. [SOLVED] Index / Match - match 3 input values and return the results from the index
    By t83357 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-08-2016, 07:34 PM
  4. [SOLVED] Index+Match+Match doesnt returns right values
    By SwissExcel in forum Excel General
    Replies: 10
    Last Post: 07-21-2015, 08:39 AM
  5. [SOLVED] IF date value returned from Index/Match is blank, return prior cell that returns a value
    By gunnerau in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-11-2014, 08:40 PM
  6. Replies: 6
    Last Post: 04-30-2014, 02:42 AM
  7. Replies: 2
    Last Post: 08-16-2012, 09:00 AM

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