+ Reply to Thread
Results 1 to 4 of 4

Using IF formula to return a List

  1. #1
    Registered User
    Join Date
    04-22-2013
    Location
    Manchester, England
    MS-Off Ver
    Excel for Mac 2011
    Posts
    22

    Using IF formula to return a List

    Hi Everyone,

    I'm not sure if the following is possible, but here goes...

    On the attached I am wanting to make a list of people who are first aid trained based, which is highlighted in Column B 15-22. The list would then be returned in Cells A3-6. On the example attached in cell A3-6 the names Richard, David, Mel and Mark would be listed.

    Is there a formula that would do this? I thought maybe an IF formula?
    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
    28,169

    Re: Using IF formula to return a List

    Try

    =IFERROR(INDEX(A:A,SMALL(IF($B$2:$B$9="Yes",ROW($B$2:$B$9)),ROWS($1:1))),"")

    ...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.

    See attached.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    04-22-2013
    Location
    Manchester, England
    MS-Off Ver
    Excel for Mac 2011
    Posts
    22

    Re: Using IF formula to return a List

    Awesome! Spot on... it worked

  4. #4
    Registered User
    Join Date
    04-22-2013
    Location
    Manchester, England
    MS-Off Ver
    Excel for Mac 2011
    Posts
    22

    Re: Using IF formula to return a List

    Is there a way to list the names along a row instead of column at all?

+ 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] Using a Formula to return a list based on a cellls value.
    By JonWilf in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-21-2016, 08:12 AM
  2. Data Validation List - Formula to Sort and Return Unique Values in List
    By beewketu in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-14-2015, 04:18 PM
  3. [SOLVED] Need a formula/s to return the three most recent dates from a list
    By john dalton in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-03-2015, 04:31 AM
  4. [SOLVED] Formula to return name from list - only once.
    By SVTF in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-11-2014, 02:46 AM
  5. [SOLVED] Formula to reference a list and return yes/no
    By JennOlsen in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 06-03-2014, 02:16 PM
  6. Formula to return a value from a list
    By amandaw in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-25-2013, 06:01 AM
  7. Replies: 9
    Last Post: 02-14-2009, 01:21 PM

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