+ Reply to Thread
Results 1 to 8 of 8

Lookup Formula to output all values tied to one value

  1. #1
    Registered User
    Join Date
    02-18-2009
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    25

    Lookup Formula to output all values tied to one value

    Hello,

    I am in need of a lookup for all rows associated with a project number. I know vLookup only finds the first value, which is not what I want. I need all values tied to a project

    Can someone provide me with a formula or tell me which lookup formula to use? I am not a formula expert, so I am not sure what to google. I am using Excel 2016. Appreciate any help I can get. Thank you much!

    Sample:

    Project
    PR556000

    Output:

    Project Number:
    PR556000
    PR556000
    PR556000
    PR556000
    PR556000

    I have attached a sample file.

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Lookup Formula to output all values tied to one value

    A16 =INDEX($A$6:$D$13,MATCH($A$2,$A$6:$A$13,0)+ROW()-15,COLUMN()) and drag across.

    See the attached file.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    02-18-2009
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    25

    Re: Lookup Formula to output all values tied to one value

    Thank you sooo much oeldere for your assistance.

    I failed to explain my issue correctly.

    I have a report that I am looking up the value from. On the “Lookup Data” tab is the data I would like to pull the project data from. So when I enter a project number in the A2 row, the data will look up the values from the lookup tab and populate in the “Results” tab.

    I am looking for a formula that functions like a vlookup, but instead of pulling in the first matching value, it will pull in all matching values

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

    Re: Lookup Formula to output all values tied to one value

    How about, in A6 dragged down & across
    =IFERROR(INDEX('Lookup Data'!A$5:A$29,AGGREGATE(15,6,(ROW('Lookup Data'!$A$5:$A$29)-ROW('Lookup Data'!$A$5)+1)/('Lookup Data'!$A$5:$A$29=$A$2),ROWS(A$6:A6))),"")

  5. #5
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Lookup Formula to output all values tied to one value

    You did not added the second sheet in your earlier post.

    A23 =INDEX('Lookup Data'!$A$5:$D$29,MATCH(Results!$A$2,'Lookup Data'!$A$5:$A$29,0)+ROW()-22,COLUMN()) and drag across.

    See the attached file.

  6. #6
    Registered User
    Join Date
    02-18-2009
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    25

    Re: Lookup Formula to output all values tied to one value

    Thank you Fluff13 for your response. I was able to use the updated file that oeldere provided.

  7. #7
    Registered User
    Join Date
    02-18-2009
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    25

    Re: Lookup Formula to output all values tied to one value

    Thank you oeldere! That is what I needed. I appreciate your time and help on my issue. :-)

  8. #8
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Lookup Formula to output all values tied to one value

    Glad I could help.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

+ 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] Conditional Formatting tied to date/calendar and lookup
    By Perk1961 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-01-2016, 04:54 PM
  2. [SOLVED] Lookup and output multiple values from table
    By daumebtb in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-21-2016, 09:15 AM
  3. DIFFICULT formula: Show tied values and match uniek model
    By charnl01 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-02-2013, 06:52 AM
  4. [SOLVED] LOOKUP Formula to output cells with values only
    By Red fuji in forum Excel General
    Replies: 17
    Last Post: 06-25-2012, 07:30 PM
  5. Excel 2007 : Tied Values Lookup Formula
    By loknath in forum Excel General
    Replies: 2
    Last Post: 11-13-2011, 03:05 AM
  6. Replies: 16
    Last Post: 03-08-2010, 09:25 PM
  7. Lookup & output of multiple values related to ID in column
    By VanF00 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-24-2008, 04:55 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