+ Reply to Thread
Results 1 to 2 of 2

How to use a wildcard in a formula to search for values within a table

  1. #1
    Registered User
    Join Date
    01-27-2023
    Location
    Michigan
    MS-Off Ver
    Microsoft 365
    Posts
    1

    How to use a wildcard in a formula to search for values within a table

    Hello,

    I am trying to set up an inventory table with a designated cell to search for the location of an item (as shown in the example below)

    A1 A2 A3 A4 B1 B2 B3
    1
    2
    3
    4
    5
    ...
    Location: *****
    Item: *****

    As I input a value into the cell to the right of "item", the location of the item is updated in the cell to the right of "location" (with the location being the column header)

    The formula that I am currently using is:
    =IFERROR(INDEX(Table2[[#Headers],[174 A1]:[DOCKET]], SUMPRODUCT(MAX((Table2[[174 A1]:[DOCKET]]=A23)*(COLUMN(Table2[[#Headers],[174 A1]:[DOCKET]]))))-COLUMN(Table2[[#Headers],[174 A1]])+1),"")

    The problem that I am running into is that some of the values that I am searching for are only partial matches to what is in the cell in the table. Is there a way to use a wildcard with A23?

    I have tried A23&"*" but I'm not sure how else to solve this problem.

    Any help would be appreciated and if my explanation is too confusing I can try to clarify.

    Thank you!!!

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,023

    Re: How to use a wildcard in a formula to search for values within a table

    Hi there.

    A picture is worth 1,000 words. An Excel sheet is worth 1,000 non-editable pictures.

    Please read the yellow banner about sample worksheets, at the top of the screen. Act on its guidelines and post a SMALL sample sheet complete with an explanation and some expected results.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

+ 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] How to search a table when a cell has multiple search values
    By april19 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-31-2022, 01:58 AM
  2. Filter function with wildcard and multiple search values
    By Mr Stern 2 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-29-2022, 09:05 AM
  3. Replies: 4
    Last Post: 09-23-2016, 01:22 PM
  4. [SOLVED] Insert Search (wildcard) in an index/match formula
    By ZedaG in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-13-2016, 08:04 AM
  5. Replies: 2
    Last Post: 09-12-2015, 11:02 AM
  6. [SOLVED] how to use a wildcard with an IF formula to search for text in a cell
    By nje in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 10-23-2012, 07:40 AM
  7. formula for wildcard search only if all critera is meet
    By sandy.beach in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-01-2009, 03:28 PM

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