+ Reply to Thread
Results 1 to 9 of 9

Index-match function to return multiple values in a row or column

  1. #1
    Registered User
    Join Date
    02-10-2015
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    5

    Index-match function to return multiple values in a row or column

    I am trying to return the labels of values <500 but can only see the first label and not the remaining.

    here is the formula I am using - =INDEX($B$2:$CO$2,MATCH(TRUE,B7:CO7<500,0))

    Test.xlsx

    I am not sure if I have the data setup correctly to do this or not.

    Any help would be greatly appreciated!

    Thanks

    Bruno

  2. #2
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: Index-match function to return multiple values in a row or column

    If I interpreted this correctly, paste into B21 and confirm with CTRL+SHIFT+ENTER. Then drag down through B32 and across through column CO.

    Please Login or Register  to view this content.
    Spread the love, add to the Rep

    "None of us are as smart as all of us."

  3. #3
    Registered User
    Join Date
    02-10-2015
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    5

    Re: Index-match function to return multiple values in a row or column

    I don't really know what to say...I am speechless that it worked! Thanks for the help!

  4. #4
    Registered User
    Join Date
    02-10-2015
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    5

    Re: Index-match function to return multiple values in a row or column

    I don't really know what to say...I am speechless that it worked! Thanks for the help!


    Can I please have your input on the same thing else?


    Basically, what I would like to do is starting with an excel file to figure out which barcodes (IonExpress xxx) have values <500
    This is the starting file.
    Attachment 376430

    I did macro to first swap columns with rows (transpose) but I am not sure if needed to do this? Then highlighted the cells <500 and then try to identify the column headers of all of the <500 and build a function on those.

    Do you think that it is possible to do all of this in one go? Let's say, I download the excel file and then run a macro and then get a report with all of the barcodes. I am not sure how to run the same macro on different files either.

    Last question, how can I get to a level such as yours in Excel? Obviously your understanding of Excel's logic is amazing...I thought I had done a great job with my macro and all but I just realise that I might be overcomplicating things because Ido not understand the mechanics of it...

    Thanks

    Bruno

  5. #5
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: Index-match function to return multiple values in a row or column

    Your attachment did not seem to upload correctly, could you try again?


    As to increasing your level of Excel, stay on these forums long enough and some information is bound to stick.

  6. #6
    Registered User
    Join Date
    02-10-2015
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    5

    Re: Index-match function to return multiple values in a row or column

    Project.xlsx

    Hi there, here it is!

    Thanks

    B

  7. #7
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: Index-match function to return multiple values in a row or column

    As you've said, I'm not sure why you need to transpose the data. Attached is the results again, done for the original workbook without the transpose.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    02-10-2015
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    5

    Re: Index-match function to return multiple values in a row or column

    It looks great! Thank you very much! What is the best way to apply the same formula to other workbooks? Should I write a macro for it?

  9. #9
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: Index-match function to return multiple values in a row or column

    You could go with VBA for it, but straight cutting/pasting may be just as easy if you have to work with a downloaded workbook every time.

+ 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] Return Multiple values from a column with index and match, and search criteria
    By marcusduton in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 02-15-2015, 09:59 PM
  2. Using Index/Match to return multiple values for one match
    By superboy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-10-2014, 06:21 PM
  3. [SOLVED] return multiple values in 1 column via index / match
    By Bax in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-12-2013, 06:54 AM
  4. SOS:Return multiple values against multi criteria match and index function
    By nitesh_inin in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 11-26-2012, 05:45 PM
  5. [SOLVED] Formula (VLOOKUP vs INDEX & MATCH) to return multiple values in the same column
    By wfidler in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-06-2012, 07:04 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