+ Reply to Thread
Results 1 to 8 of 8

Return a List

  1. #1
    Registered User
    Join Date
    07-02-2012
    Location
    Fairfax, Virginia
    MS-Off Ver
    Excel 2007
    Posts
    15

    Return a List

    I have a spreadsheet with two worksheets. One Worksheet has a list of 100 or so last names (column 1), first names (column 2) and ages (column 3).

    In my second worksheet, I'd like to have a formula that returns a list of last names and first names of those over the age of 21.

    I used to know how but I can't seem to figure it out now. I've tried, vlookup but can't make it work. Can someone please help me?

    Thanks,
    Jason B
    Fairfax, VA

  2. #2
    Forum Expert
    Join Date
    09-27-2011
    Location
    Poland
    MS-Off Ver
    Excel 2007
    Posts
    1,312

    Re: Return a List

    Hi try formula from attachment (this is array formula so You must cofirm this with CTRL + SHIFT + ENTER)
    Attached Files Attached Files
    Regards

    tom1977

    If You are satisfied with my solution click the small star icon on the left to say thanks.

  3. #3
    Registered User
    Join Date
    07-02-2012
    Location
    Fairfax, Virginia
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: Return a List

    Tom,

    I can see that works but is that simplest way to do it? Is there another formula that will return a list from another sheet when a value is greater than?

  4. #4
    Forum Expert
    Join Date
    09-27-2011
    Location
    Poland
    MS-Off Ver
    Excel 2007
    Posts
    1,312

    Re: Return a List

    Sorry I do not know simpler formula and what about pivot table?

  5. #5
    Registered User
    Join Date
    07-02-2012
    Location
    Fairfax, Virginia
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: Return a List

    I can research the pivot table. Thanks for your help?

  6. #6
    Forum Expert
    Join Date
    09-27-2011
    Location
    Poland
    MS-Off Ver
    Excel 2007
    Posts
    1,312

    Re: Return a List

    Sorry pivot table is not good idea try to find something about advance filter

  7. #7
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2504
    Posts
    13,620

    Re: Return a List

    Ypu can copy paste your range to another sheet then apply then sort your range for ages smaller than 21 than delete the results and remove the filter

    ( although Tom's solution is more interesting)

  8. #8
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Return a List

    You can shrink Tom's formula slightly,

    =IFERROR(INDEX(A$1:A$5,SMALL(IF($C$1:$C$5>$D$2,ROW($C$1:$C$5),""),ROW()),"")

    But that's as simple as it can get.

+ 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