+ Reply to Thread
Results 1 to 4 of 4

Creating a list from data without filtering

  1. #1
    Registered User
    Join Date
    04-28-2011
    Location
    Louisiana
    MS-Off Ver
    Excel 2007
    Posts
    2

    Creating a list from data without filtering

    Suppose you have a list of data like:

    Col A Col B
    Smith Yes
    Thomas No
    Wilson Yes
    Johnson No
    Fox No
    Stride Yes
    Gall Yes
    Lackett Yes
    Shope No
    Robinson Yes

    I want to lookup column B and find all instances of "No" and return corresponding value from column A, so the output would look like:

    Thomas
    Johnson
    Fox
    Shope

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Creating a list from data without filtering

    Try:

    =IFERROR(INDEX(A1:A100,SMALL(IF(B1:B100="No",ROW(A1:A100)-ROW(A1)+1),ROWS($A$1:$A1))),"")

    adjust ranges to suit and then confirm with CTRL+SHIFT+ENTER not just ENTER and copy down as far as you need.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    04-28-2011
    Location
    Louisiana
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Creating a list from data without filtering

    Thank you. Worked perfectly! Need to learn more about CNTRL-SHIFT-ENTER.

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Creating a list from data without filtering

    You can learn a bit here:

    Array Formulas

    and

    Array Formulas

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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