+ Reply to Thread
Results 1 to 6 of 6

Extract values based on dropdown selection

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,012

    Extract values based on dropdown selection

    Looking for a non-array formula to look into column B1 in sheet named Here and also sheet named Enter and populate column A (Names), column B (Status) and column C (Sales #) in sheet named Here. See sample file.

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,825

    Re: Extract values based on dropdown selection

    in A4

    Formula: copy to clipboard
    =IFERROR(INDEX(Enter!$B$2:$B$1000,AGGREGATE(15,6,ROW($A$1:$A$1000)/(Enter!$D$2:$D$1000=$B$1),ROWS($1:1))),"")


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

  3. #3
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,012

    Re: Extract values based on dropdown selection

    JohnTopley: Excellent solution, JohnTopley! Thanks for the rep.

  4. #4
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.95 for Mac MS 365
    Posts
    8,690

    Re: Extract values based on dropdown selection

    try these three non array formulas...
    for status...=IFERROR(INDEX(Enter!$D$2:$D$34,AGGREGATE(15,6,ROW(Enter!$A$1:$A$34)/(Enter!$D$2:$D$34=Here!$B$1),ROWS($A$1:A1)),COLUMN()-(COLUMN()-1),1),"")
    for names... =IFERROR(INDEX(Enter!$B$2:$B$34,AGGREGATE(15,6,ROW(Enter!$A$1:$A$34)/(Enter!$D$2:$D$34=Here!$B$1),ROWS($A$1:A1)),COLUMN()-(COLUMN()-1),1),"")
    for sales #... =IFERROR(INDEX(Enter!$E$2:$E$34,AGGREGATE(15,6,ROW(Enter!$A$1:$A$34)/(Enter!$D$2:$D$34=Here!$B$1),ROWS($A$1:A1)),COLUMN()-(COLUMN()-1),1),"")
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  5. #5
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,012

    Re: Extract values based on dropdown selection

    Sam Capricci: Outstanding solution, Sam Capricci! Thanks for the rep.

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

    Cool Re: Extract values based on dropdown selection

    my 3 cents with Power Query

+ 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. Replies: 2
    Last Post: 08-31-2022, 07:59 AM
  2. Multiple Dropdown selection & Column Groupings based on dropdown selection
    By rabrol in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-20-2018, 10:23 AM
  3. Show column headings and corresponding values/text based on dropdown selection
    By deedee90 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-03-2018, 07:03 AM
  4. Replies: 3
    Last Post: 12-18-2014, 07:20 AM
  5. Change values in cells based on dropdown selection
    By Gert Van Dessel in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-19-2013, 09:31 AM
  6. Replies: 0
    Last Post: 07-13-2010, 10:31 AM
  7. Return Multiple Values Based On Dropdown List Selection
    By tigabalm in forum Excel General
    Replies: 5
    Last Post: 04-01-2010, 07:36 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