+ Reply to Thread
Results 1 to 12 of 12

Create list based on criteria and is unique

  1. #1
    Registered User
    Join Date
    04-23-2013
    Location
    normal, il
    MS-Off Ver
    Excel 2010
    Posts
    66

    Create list based on criteria and is unique

    Hi all,

    i am trying to generate a list that did not not have a test and there are no duplicates.

    thanks for the help!
    Joanne
    Attached Files Attached Files

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Create list based on criteria and is unique

    You can autopopulate data using countifs and ranking.

    joannelittell.xlsx

  3. #3
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,647

    Re: Create list based on criteria and is unique

    Does it help?
    Attached Files Attached Files
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  4. #4
    Valued Forum Contributor Melvinrobb's Avatar
    Join Date
    06-19-2012
    Location
    Manitoba, Canada
    MS-Off Ver
    Excel 2013
    Posts
    1,128

    Re: Create list based on criteria and is unique

    A Pivot Table has to be the easiest, and least resource demanding solution.
    Attached Files Attached Files
    Please click the * icon below if I have helped.

  5. #5
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Create list based on criteria and is unique

    @sktneer

    That's the prettiest advanced filter macro I've ever seen.

  6. #6
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,647

    Re: Create list based on criteria and is unique

    Quote Originally Posted by daffodil11 View Post
    @sktneer

    That's the prettiest advanced filter macro I've ever seen.
    Thanks for your kind words. That means a lot to me.

  7. #7
    Registered User
    Join Date
    04-23-2013
    Location
    normal, il
    MS-Off Ver
    Excel 2010
    Posts
    66

    Re: Create list based on criteria and is unique

    these are good ideas, unfortunately they won't work.
    @sktneer- very cool programming, but, i just need the list to generate automatically.
    @daffodil11- the results include the test = Yes. i only need in the list test = No

    I can modify daffodil11's quite easily, however, is there another way to do the calculations without having to create columns with numbers 1-24 (i.e., column A)? like use the function "Row"?

    can anyone help?

    thanks
    Joanne

  8. #8
    Valued Forum Contributor
    Join Date
    10-29-2012
    Location
    Mojokerto,Indonesia
    MS-Off Ver
    Excel 2007
    Posts
    554

    Re: Create list based on criteria and is unique

    array at J3
    =IFERROR(INDEX(B$3:B$21,SMALL(IF(MATCH($B$3:$B$21&$C$3:$C$21&$D$3:$D$21&$E$3:$E$21&$F$3:$F$21&$G$3:$G$21,$B$3:$B$21&$C$3:$C$21&$D$3:$D$21&$E$3:$E$21&$F$3:$F$21&$G$3:$G$21,0)+ROW($B$2)=ROW($B$3:$B$21),ROW($B$3:$B$21)-ROW($B$2)),ROW(1:1))),"")

    copy right and down

  9. #9
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,647

    Re: Create list based on criteria and is unique

    @Ghozi Alkatiri

    Pretty cool formula. Very good use of index, small, match and rows together.

  10. #10
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Create list based on criteria and is unique

    You're missing the condition that Test (column H) = no.

    Array entered**:


    =IFERROR(INDEX(B$3:B$21,SMALL(IF($H$3:$H$21="no",IF(MATCH($B$3:$B$21&$C$3:$C$21&$D$3:$D$21&$E$3:$E$21&$F$3:$F$21&$G$3:$G$21,$B$3:$B$21&$C$3:$C$21&$D$3:$D$21&$E$3:$E$21&$F$3:$F$21&$G$3:$G$21,0)+ROW($B$2)=ROW($B$3:$B$21),ROW($B$3:$B$21)-ROW($B$2))),ROWS(J$3:J3))),"")


    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  11. #11
    Registered User
    Join Date
    04-23-2013
    Location
    normal, il
    MS-Off Ver
    Excel 2010
    Posts
    66

    Re: Create list based on criteria and is unique

    Thank you both for such fast replies that work!

    really appreciate you

    thanks
    Joanne

  12. #12
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Create list based on criteria and is unique

    You're welcome. Thanks for the feedback!

+ 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] Create unique list based on specific criteria
    By Joynesy in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-21-2013, 05:54 AM
  2. [SOLVED] Create list returning unique criteria covering several columns using arrays
    By joannelittell in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-24-2013, 04:37 PM
  3. [SOLVED] Create list returning unique criteria covering several columns
    By joannelittell in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-23-2013, 04:27 PM
  4. VBA: Create unique list based on latest entry in list
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-08-2011, 09:55 AM
  5. Create Unique List with Criteria
    By Fos605 in forum Excel General
    Replies: 2
    Last Post: 07-20-2010, 07:57 AM

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