+ Reply to Thread
Results 1 to 12 of 12

Search a list with multiple values

  1. #1
    Registered User
    Join Date
    04-09-2014
    Location
    Sweden
    MS-Off Ver
    MS 365 version 2302
    Posts
    20

    Search a list with multiple values

    Hi all,

    I wonder if there is anyone other who can assist me on a small matter.

    I have list, in column B the user enters a value, e.g. 21. Then I want to search a secondary tab with the value entered in that column + the value of the column headers. I know that this is not crystal clear and it is hard to explain.
    Please see attached file for details.

    Br,
    MikaelMM_TEST_Book1.xlsx

  2. #2
    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. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,023

    Re: Search a list with multiple values

    Administrative Note:

    Is your forum profile showing the version of Excel that you need this to work for?

    Members will tailor the solutions they offer to the version of Office (Excel, NOT Windows) that you have. Please check that your forum profile is up-to-date in this respect. If you aren't sure, in Excel go to File | Account and report what it says below the MS logo at the top of that page. If your version is for Mac, please also state this.

    The three most recent versions of Excel are Excel 2019, Excel 2021 and MS365 - if you are using MS365, please give this name along with the release number in your profile (e.g. MS365 Version 2211). This is in the About Excel section further down the Account page.

    Thanks.
    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.

  3. #3
    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. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,023

    Re: Search a list with multiple values

    I can give you a really easy solution IF you have upgraded to 365 - please update your profile as requested or confirm that you are still using Excel 2003.

  4. #4
    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. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,023

    Re: Search a list with multiple values

    Here it is anyway (should work with Excel 2021 or 365):

    =TRANSPOSE(INDEX(FILTER(Text!$A$2:$C$10,Text!$A$2:$A$10=B2),,3))
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    04-09-2014
    Location
    Sweden
    MS-Off Ver
    MS 365 version 2302
    Posts
    20

    Re: Search a list with multiple values

    Hi,

    thank you! I have updated. I am running it on 365, but I need it to work on 2016 as well But I am happy if you can show for 365 too

  6. #6
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,788

    Re: Search a list with multiple values

    Another option
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  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. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,023

    Re: Search a list with multiple values

    What I have showed you above will work on Excel 2021 and later, I believe. Sorry - can't help you with Excel 2016.

  8. #8
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,788

    Re: Search a list with multiple values

    The formula I posted will work with 2016, but will need to be confirmed with Ctrl Shift Enter, rather than just Enter

  9. #9
    Registered User
    Join Date
    04-09-2014
    Location
    Sweden
    MS-Off Ver
    MS 365 version 2302
    Posts
    20

    Re: Search a list with multiple values

    Thank u

  10. #10
    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. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,023

    Re: Search a list with multiple values

    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 anyone who offered you help towards a solution for your issue 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.

  11. #11
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,788

    Re: Search a list with multiple values

    Glad to help & thanks for the feedback.

  12. #12
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: Search a list with multiple values

    with Power Query
    it will work in XL2010 to XL365
    XL2010/2013 require PQ add-in

    Item ID List.1 List.2 List.3 List.4 List.5
    A
    21
    Line 21 AA Line 21 BB Line 21 CC
    B
    33
    Line 33 A Line 33 B Line 33 C Line 33 D Line 33 E
    C
    33
    Line 33 A Line 33 B Line 33 C Line 33 D Line 33 E
    D
    45
    Line 44 AAA
    E
    33
    Line 33 A Line 33 B Line 33 C Line 33 D Line 33 E
    F
    45
    Line 44 AAA
    G
    33
    Line 33 A Line 33 B Line 33 C Line 33 D Line 33 E
    H
    45
    Line 44 AAA

+ 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. Search and list values and adjacent columns from multiple workbooks
    By Petijandro in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-27-2021, 04:21 AM
  3. Search for Values that Multiple Search Words Share
    By Drew67209 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-18-2014, 05:54 AM
  4. Search list and return multiple values
    By MarVil85 in forum Excel General
    Replies: 1
    Last Post: 06-23-2012, 03:46 PM
  5. Search Multiple Worksheets Against List of Non-Exact Search Criteria?
    By thump4r in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-17-2010, 03:46 PM
  6. Search and list multiple values
    By skywalkman2007 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-28-2008, 02:05 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