+ Reply to Thread
Results 1 to 4 of 4

Formula to Search for Multiple Instances and Display All Data Related to Those Instances

  1. #1
    Registered User
    Join Date
    01-07-2020
    Location
    Chicago, IL
    MS-Off Ver
    Office 2016
    Posts
    5

    Formula to Search for Multiple Instances and Display All Data Related to Those Instances

    Hello,

    Is there an MS Excel formula that will search for a particular criteria, such as a certain name among a list of names, and for each instance of that one name that is found, all related data is populated into the formula cell?

    For example -- The formula would search for Rick's name and then provide all of the food related to his name in one cell.

    NAME:

    col A col B
    1 NAME FOOD
    2 Bob Orange
    3 Rick Apple
    4 Dave Orange
    5 Al Peach
    6 Pete Orange
    7 Rick Peach
    8 Sam Nectarine
    9 Rick Kiwi

    Formula Result:
    Apple
    Peach
    Kiwi

    Thanks, Everyone!!!!

    Happy Friday-Eve!

    Rod

  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
    43,996

    Re: Formula to Search for Multiple Instances and Display All Data Related to Those Instanc

    Next time, please supply a sample Excel file... it removes ambiguity and is easier for us to use!!

    =IFERROR(INDEX(B:B,AGGREGATE(15,6,ROW($A$3:$A$15)/($A$3:$A$15=$E$1),ROWS(E$2:E2))),"")
    Attached Files Attached Files
    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

  3. #3
    Registered User
    Join Date
    01-07-2020
    Location
    Chicago, IL
    MS-Off Ver
    Office 2016
    Posts
    5

    Re: Formula to Search for Multiple Instances and Display All Data Related to Those Instanc

    Thanks, Glenn!!

    That works perfectly! You are AWESOME!!!

    Rod

  4. #4
    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
    43,996

    Re: Formula to Search for Multiple Instances and Display All Data Related to Those Instanc

    You're welcome.



    It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

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

+ 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. VLookup 2 instances in a table with 2 instances horizontal and vertical
    By vivek.budhram in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-08-2019, 11:47 AM
  2. [SOLVED] Complex VLOOKUP, multiple instances vertical, return subsequent instances horizontally
    By Miles_2804 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-12-2013, 11:54 AM
  3. Replies: 0
    Last Post: 04-11-2013, 10:18 AM
  4. Replies: 4
    Last Post: 10-06-2012, 08:25 AM
  5. [SOLVED] Trying to display multiple instances of same value
    By MOONDRIFT47 in forum Excel General
    Replies: 7
    Last Post: 07-12-2012, 03:39 AM
  6. Replies: 3
    Last Post: 06-26-2012, 04:40 PM
  7. Lookup multiple instances and display in columns
    By shabbir in forum Excel General
    Replies: 4
    Last Post: 11-23-2008, 11:42 AM

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