+ Reply to Thread
Results 1 to 6 of 6

Return multiple answers from a single drop-down list

  1. #1
    Forum Contributor
    Join Date
    05-30-2015
    Location
    Dubai
    MS-Off Ver
    Excel 2016 Mac & PC & 365
    Posts
    633

    Return multiple answers from a single drop-down list

    Hi,

    I would like to return multiple answers from a drop-down list where two or more possibilities exist
    Data and drop-down are on two different sheets

    All help greatly appreciated

    Kevin
    Attached Files Attached Files

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Return multiple answers from a single drop-down list

    In Cell C2 of Sheet2 use

    =IF(ROWS(A$1:A1)>COUNTIF(Sheet1!$A:$A,$B$2),"",INDEX(Sheet1!$B:$B,SMALL(INDEX((Sheet1!$A:$A=$B$2)*(ROW(Sheet1!$A:$A)-ROW($A$1)+1),),COUNTIF(Sheet1!$A:$A,"<>"&$B$2)+ROWS(A$1:A1))))


    Copy down
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,878

    Re: Return multiple answers from a single drop-down list

    In C2:

    =IFERROR(INDEX(Sheet1!B:B,SMALL(IF(Sheet1!$A$1:$A$100=$B$2,ROW($A$1:$A$100)),ROWS($A$1:A1))),"")

    ... confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Once confirmed, drag copy down.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Forum Contributor
    Join Date
    05-30-2015
    Location
    Dubai
    MS-Off Ver
    Excel 2016 Mac & PC & 365
    Posts
    633

    Re: Return multiple answers from a single drop-down list

    Thank you, both work perfectly!

    Happy New Year to you both and the rest of the forum!

    Kevin

  5. #5
    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
    44,054

    Re: Return multiple answers from a single drop-down list

    or (non-array):

    =IFERROR(INDEX(Sheet1!$B:$B,AGGREGATE(15,6,ROW(Sheet1!$A$1:$A$6)/(Sheet1!$A$1:$A$6=$B$2),ROWS($1:1))),"")
    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

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,878

    Re: Return multiple answers from a single drop-down list

    You're welcome - happy New Year to you, too!

+ 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: 1
    Last Post: 09-04-2017, 02:11 PM
  2. Multiple data selection from drop down list --> to single cell
    By Monami in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-09-2014, 08:10 AM
  3. Single drop down list to change multiple pivot tables/charts.
    By ZeDoctor in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-04-2013, 11:31 AM
  4. How to Look up Single list value & Return multiple corresponding values
    By LAB2007 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-22-2013, 09:49 AM
  5. Replies: 12
    Last Post: 09-26-2012, 03:32 PM
  6. Replies: 7
    Last Post: 02-27-2008, 03:53 PM
  7. Replies: 0
    Last Post: 02-22-2006, 04:20 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