+ Reply to Thread
Results 1 to 10 of 10

Index / Match with Wildcard Not Working

  1. #1
    Registered User
    Join Date
    07-28-2022
    Location
    Georgia, US
    MS-Off Ver
    MS Office 365
    Posts
    6

    Index / Match with Wildcard Not Working

    HI Everyone,
    I'm a long time viewer, but brand new member(and super excited to be part of this group).

    I'm in need of assistance on an index/match with wildcard formula.

    For the life of me I can't get this one to match. Hopefully you can help.


    Formula: =IFERROR(IF(A78="","",INDEX(Raw!B:B,MATCH("*"&A78&"*",Raw!A:A,0),1)),"")


    Context:
    Attempting to match an 8 digit number within a list of a string of 8 digit numbers separated by semicolons.
    In my example you can see where there is clearly a match, but the formula is not recognizing it.

    I can't seem to attach my work here, so I'll try to list it out this way:


    (Column A Active Sheet) (Column B Active Sheet(Where Formula Is)
    Active Reference: Required Return:
    25549813 #N/A



    Raw Data Sheet has a match of the below in column A: You can see the match is number 6 in the string
    25549483;25549487;25549531;25549546;25549754;25549813;25549827;25550129;25550153;25550154;25550156;25550157;25550158;25550159;25550162;25550163;25550164;25550199;25550203;25550205;48041897;48041948;48042458;48042613;48042667;48045684;48045687;48045749;48045774;48045973;48046029;95706118

    Column B is the column i'm trying to get the return from. But i get the standard #N/A error.

    Any ideas?

    Again, sorry I can't insert my excel sheet, it's not giving me an option when i hit the attachment button.

    THANKS IN ADVANCE!





    Attached Files Attached Files
    Last edited by JadeOwl; 07-28-2022 at 09:51 AM.

  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,955

    Re: Index / Match with Wildcard Not Working

    Welcome to the forum.

    There are instructions at the top of the page explaining how to attach your sample workbook (it does not include using the attachment button for the reason you have discovered already).

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, worked examples where required, relevant cells highlighted and a few explanatory notes.
    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
    07-28-2022
    Location
    Georgia, US
    MS-Off Ver
    MS Office 365
    Posts
    6

    Re: Index / Match with Wildcard Not Working

    Thanks so much! I've uploaded my sample now!

  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,955

    Re: Index / Match with Wildcard Not Working

    Try this in B2 copied down:

    =IFERROR(IF(A2="","",INDEX(Raw!B:B,MATCH("*"&A2&"*",Raw!A:A,0),1)),IFERROR(LOOKUP(99999,SEARCH(B3,Raw!$A$2:$A$25),Raw!$B$2:$B$25),""))
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    07-28-2022
    Location
    Georgia, US
    MS-Off Ver
    MS Office 365
    Posts
    6

    Re: Index / Match with Wildcard Not Working

    This formula returns results, but they are not the correct ones. I need it to match perfectly, and line 25 should specifically return REF754327652275

  6. #6
    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,955

    Re: Index / Match with Wildcard Not Working

    In B2 copied down:

    =IFERROR(LOOKUP(99999,SEARCH(A2,Raw!$A$2:$A$25),Raw!$B$2:$B$25),"")

    If this isn't right, then provide a workbook with this applied and highlight the rows that are incorrect - in column C, manually enter what you are expecting.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    07-28-2022
    Location
    Georgia, US
    MS-Off Ver
    MS Office 365
    Posts
    6

    Re: Index / Match with Wildcard Not Working

    This one seems to be working!
    I've never seen this formula before, thanks so much for the quick response!

  8. #8
    Registered User
    Join Date
    07-28-2022
    Location
    Georgia, US
    MS-Off Ver
    MS Office 365
    Posts
    6

    Re: Index / Match with Wildcard Not Working

    Perfect! That worked! Thanks so much!

  9. #9
    Registered User
    Join Date
    07-28-2022
    Location
    Georgia, US
    MS-Off Ver
    MS Office 365
    Posts
    6

    Re: Index / Match with Wildcard Not Working

    How do I update it to show "SOLVED"?

  10. #10
    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,955

    Re: Index / Match with Wildcard Not Working

    Glad to have helped.

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

    Also, if you have not already done so, you may not be aware that you can thank those who have helped you by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.
    Last edited by AliGW; 07-28-2022 at 11:50 AM.

+ 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. [SOLVED] index match wildcard
    By carrollm in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-31-2019, 01:39 AM
  2. [SOLVED] Index and Match formula with Wildcard
    By Perk1961 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-08-2016, 07:10 PM
  3. [SOLVED] Index and match using wildcard
    By Eustace07 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-09-2016, 01:30 PM
  4. 2 variable index match with wildcard
    By izk630 in forum Excel General
    Replies: 4
    Last Post: 10-26-2015, 02:42 PM
  5. [SOLVED] INDEX - MATCH on two Criteria with wildcard
    By SrDurham in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-19-2015, 09:04 AM
  6. [SOLVED] Index,Offest, Match, Wildcard?
    By fgruhlke in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-18-2014, 11:27 PM
  7. [SOLVED] Wildcard text match using INDEX and MATCH
    By mmayna03 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-12-2012, 03:02 PM

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