+ Reply to Thread
Results 1 to 5 of 5

How do I return multiple results for a given value?

  1. #1
    Registered User
    Join Date
    05-24-2019
    Location
    Philadelphia
    MS-Off Ver
    1904
    Posts
    1

    How do I return multiple results for a given value?

    I am trying to return all values for the given group.

    Take a look at the image.

    The table on the left is the data, the table top right is the ugly results I'm getting, and the bottom is what I want my formula to produce!

    I've watched many videos and have tried several examples. I have even use the same exact formulas and relocated my data to match these examples and I'm not getting correct results!

    I need this to work so I can apply it to the report my boss is asking me for.
    Attached Images Attached Images

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: How do I return multiple results for a given value?

    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: How do I return multiple results for a given value?

    Try this in F2:

    =IFERROR(INDEX($B:$B,AGGREGATE(15,6,ROW($A$2:$A$7)/($A$2:$A$7=$E2),COLUMNS($A:A))),"")

    Drag the formula to the right and down.

    FYI, the formula that you had needs to be entered with Ctrl Shift Enter instead of just Enter. This one does not require Ctrl Shift Enter.

  4. #4
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: How do I return multiple results for a given value?

    Thanks for the rep!

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

  5. #5
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: How do I return multiple results for a given value?

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon 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 those who helped.

+ 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] Macro- Search multiple criteria in spreadsheet return with multiple results in new sheet
    By nicebeaches in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-22-2018, 04:47 PM
  2. [SOLVED] Lookup to match multiple criteria and return multiple results excluding duplicates.
    By kris3012 in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 01-13-2018, 11:06 AM
  3. [SOLVED] Using an array (or other) formula to return multiple results over multiple dates
    By Sedgeway in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-17-2017, 11:04 PM
  4. [SOLVED] Look up multiple target values to return related multiple results
    By DGAlamo in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-17-2016, 07:58 PM
  5. [SOLVED] Is it possible to lookup multiple values and return multiple rows of results?
    By justin11 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-20-2013, 12:02 PM
  6. Search multiple sheets and return list of multiple results
    By Abuck in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 03-07-2012, 11:59 AM
  7. User Form to Search multiple Criteria to return multiple Results
    By Calieth in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-16-2011, 11:57 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