+ Reply to Thread
Results 1 to 7 of 7

Index Indirect MAtch

  1. #1
    Registered User
    Join Date
    04-10-2020
    Location
    Dubai, UAE
    MS-Off Ver
    2016
    Posts
    3

    Index Indirect MAtch

    The below formula returns an incorrect match. I am trying to create a drop down option for each table of data, but it returns a match even when it shouldn't

    =INDEX(INDIRECT(A2&"[PTP Edit Rationale]"),MATCH(A4&"|"&B4,(INDIRECT(A2&"[Pair]",0))))

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Index Indirect MAtch

    Hard to tell without a workbook to reference. Create a short dummy workbook and upload as per the instructions in yellow at the top of the page. When you say it returns a match, what sort of match? Any pattern like off by 1? Again, an example would clarify all of this.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,873

    Re: Index Indirect MAtch

    Please read the yellow banner at the top of the page. Or skip to extended version of it below:

    Will you please attach a SMALL sample Excel workbook(s) (10-20 rows of data is usually enough)? Please don't attach a picture of one (no-one will want to re-type all your stuff before starting).

    1. Make sure that your sample data are truly REPRESENTATIVE of your real data. (If there are typical cases like: all unique values/duplicates could occur, day/night, nobody present/several persons at once, before/on/past due, empty cells between data, mixed text/numbers, etc. - please show them all, or at least indicate in text). The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution(s) is/are also shown (mock up the results manually).

    3. Make sure that all confidential/restricted information (either personal or business) like real e-mails, social security numbers, bank accounts, etc. is removed first!!

    To attach an Excel file you have to do the following (paperclip icon does not work!): Just before posting, scroll down and press Go Advanced button and then scroll down and press Manage Attachments link. Now follow the instructions at the top of that pop-up screen.
    Best Regards,

    Kaper

  4. #4
    Registered User
    Join Date
    04-10-2020
    Location
    Dubai, UAE
    MS-Off Ver
    2016
    Posts
    3

    Re: Index Indirect MAtch

    Capture.JPG

    I would like to be able to select a table from the drop down, and get a matching description for a pair of codes from that table.
    But my formula gives me a description even when the cells for the codes are blank or the codes I enter is not from the table I selected.
    Attached Files Attached Files

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2504
    Posts
    19,304

    Re: Index Indirect MAtch

    The following formula seems to work:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Note that Table2 needs to be resized.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  6. #6
    Registered User
    Join Date
    04-10-2020
    Location
    Dubai, UAE
    MS-Off Ver
    2016
    Posts
    3

    Re: Index Indirect MAtch

    This worked perfectly. Thank you so much!

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,792

    Re: Index Indirect MAtch

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

+ 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. Dynamic Index Match Match with Indirect
    By apzoe in forum Excel General
    Replies: 2
    Last Post: 01-01-2019, 06:32 PM
  2. Replies: 8
    Last Post: 09-30-2018, 12:53 PM
  3. [SOLVED] Index/Match and indirect
    By Suede2 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-25-2018, 08:46 AM
  4. Help with Index, indirect, and match
    By chachacharest in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-08-2014, 05:08 PM
  5. Problem with INDEX, INDIRECT, MATCH, MATCH
    By JO505 in forum Excel General
    Replies: 5
    Last Post: 09-01-2011, 05:51 PM
  6. Index/Indirect/Match Help
    By robertsclark in forum Excel General
    Replies: 2
    Last Post: 04-20-2011, 10:24 AM
  7. Using INDEX/MATCH with indirect
    By jdpjtp910 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-15-2010, 11:39 AM

Tags for this Thread

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