+ Reply to Thread
Results 1 to 7 of 7

Find Names and list that meet specific criteria

  1. #1
    Registered User
    Join Date
    03-01-2017
    Location
    HOUSTON, TX
    MS-Off Ver
    2010
    Posts
    3

    Unhappy Find Names and list that meet specific criteria

    I've done a lot of searching and could really use some help on this one. (see image below)

    I have tiers that I need to list names in based on the number of items.

    Tier 1 = 0-30
    Tier 2 = 31-60
    Tier 3 = 60+

    Based on a table with this info, I'd like it to list the persons based on the number of items.

    Based on the image, I'd like excel to return the following:

    Example.JPG

    Tier 1
    Beth
    Simon

    Tier 2
    Brandon
    Chris
    Destiny

    Tier 3
    John
    Joe
    Sally

    I can't figure this one out for the life of me. Help

  2. #2
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: Find Names and list that meet specific criteria

    You could use a new column that uses a formula to determine the Tier.

    Then use a pivot table to display your output.

  3. #3
    Registered User
    Join Date
    03-01-2017
    Location
    HOUSTON, TX
    MS-Off Ver
    2010
    Posts
    3
    I would be fine with a new column but that’s where I get lost. What formula to use. I’m assuming it would be an IF formula?
    Last edited by AliGW; 11-09-2018 at 02:22 AM.

  4. #4
    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,912

    Re: Find Names and list that meet specific criteria

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired results are also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    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.

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Find Names and list that meet specific criteria

    A sample file is almost always better, saves us from reconstructing your data, but I felt like some typing practice, so...
    Q
    R
    S
    1
    Name % Qty
    2
    aa
    90
    3
    bb
    119
    4
    cc
    45
    5
    dd
    60
    6
    ee
    21
    7
    ff
    5
    8
    gg
    34
    9
    hh
    59
    10
    11
    12
    Tier 1 Tier 2 Tier 3
    13
    ee cc aa
    14
    ff dd bb
    15
    gg
    16
    hh


    Q13=IFERROR(INDEX($Q$2:$Q$9,SMALL(IF($S$2:$S$9<=30,ROW($Q$2:$Q$9)-1),ROWS($A$1:A1))),"")
    R13=IFERROR(INDEX($Q$2:$Q$9,SMALL(IF(($S$2:$S$9>30)*($S$2:$S$9<=60),ROW($Q$2:$Q$9)-1),ROWS($A$1:A1))),"")
    S13=IFERROR(INDEX($Q$2:$Q$9,SMALL(IF($S$2:$S$9>60,ROW($Q$2:$Q$9)-1),ROWS($A$1:A1))),"")
    these are all ARRAY formulas ...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.

    After you enter all 3, copy them down as needed
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  6. #6
    Registered User
    Join Date
    03-01-2017
    Location
    HOUSTON, TX
    MS-Off Ver
    2010
    Posts
    3

    Re: Find Names and list that meet specific criteria

    Quote Originally Posted by FDibbins View Post
    A sample file is almost always better, saves us from reconstructing your data, but I felt like some typing practice, so...
    Q
    R
    S
    1
    Name % Qty
    2
    aa
    90
    3
    bb
    119
    4
    cc
    45
    5
    dd
    60
    6
    ee
    21
    7
    ff
    5
    8
    gg
    34
    9
    hh
    59
    10
    11
    12
    Tier 1 Tier 2 Tier 3
    13
    ee cc aa
    14
    ff dd bb
    15
    gg
    16
    hh


    Q13=IFERROR(INDEX($Q$2:$Q$9,SMALL(IF($S$2:$S$9<=30,ROW($Q$2:$Q$9)-1),ROWS($A$1:A1))),"")
    R13=IFERROR(INDEX($Q$2:$Q$9,SMALL(IF(($S$2:$S$9>30)*($S$2:$S$9<=60),ROW($Q$2:$Q$9)-1),ROWS($A$1:A1))),"")
    S13=IFERROR(INDEX($Q$2:$Q$9,SMALL(IF($S$2:$S$9>60,ROW($Q$2:$Q$9)-1),ROWS($A$1:A1))),"")
    these are all ARRAY formulas ...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.

    After you enter all 3, copy them down as needed
    You're my hero! Thank you! That worked! Will mark as solved!

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Find Names and list that meet specific criteria

    Happy to help and thanks for the kind words

    For future reference, consider attaching a sample file, and also, there is no need to quote whole posts -- it's just clutter. If you are responding to a post out of sequence, limit quoted content to a few relevant lines that makes clear to whom and what you are responding

    For normal conversational replies, try using the QUICK REPLY box below.

+ 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] A formula which results in a list of names based on specific criteria
    By Eftychia in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 08-18-2016, 12:15 PM
  2. [SOLVED] Find specific text, in a string and retrieve that name according to a list of names
    By fleyd in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-05-2016, 11:59 AM
  3. Replies: 4
    Last Post: 08-05-2015, 04:48 PM
  4. Make a list of names from a roster that meet a certain criteria
    By robertwclark in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-08-2014, 02:09 AM
  5. Filtering a list of Names from Worksheet1 onto Worksheet 2 based on specific criteria
    By jonvanwyk in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-11-2014, 05:19 AM
  6. [SOLVED] Create a list of unique entries that did not meet a specific criteria
    By joannelittell in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-23-2013, 12:08 PM
  7. Replies: 2
    Last Post: 11-20-2007, 04:42 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