+ Reply to Thread
Results 1 to 4 of 4

Counting # of Unique Items In List & Listing Unique Items In A List

  1. #1
    Registered User
    Join Date
    09-25-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2007
    Posts
    17

    Counting # of Unique Items In List & Listing Unique Items In A List

    Dear all,

    I am stuck with a project that requires us to count the number of unique items in a list. The list contains blank cells which are not really empty. They contain "" which is shown as a blank.

    I need to count them, and furthermore, I need an array formula to list them out into another table and each unique item will only appear once in this table.

    I have attached a sample. Please take a look.

    This is difficult for me. I need the experts over here to assist. Thank you all for the time.

    regards,
    Lim
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    07-27-2012
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2010
    Posts
    826

    Re: Counting # of Unique Items In List & Listing Unique Items In A List

    Have you tried using the search function on the forum? There are numerous similar queries, which should help to get you started, if you read through them.
    Brendan.


    __________________________________________________________________________________________________
    Things to consider:

    1) You can thank any poster by clicking the * at the left of a helpful post.
    2) You can help to keep the forum tidy by marking your thread as "Solved", if it has been answered to your satisfaction.
    3) Help us to help you, by uploading a sample workbook, showing the type of data you're dealing with, and clearly indicating what the results should be.

  3. #3
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Counting # of Unique Items In List & Listing Unique Items In A List

    hi unpluggedmusic, you can try 2 of these array formulas.

    in C7:
    =SUM(IF(FREQUENCY(IF($A$2:$A$24<>"",MATCH($A$2:$A$24,$A$2:$A$24,0)),ROW($A$2:$A$24)-1)>0,1))

    in E14:
    =INDEX($A$2:$A$24,MATCH(0,IF($A$2:$A$24<>"",COUNTIF($E$13:E13,$A$2:$A$24)),0))

    for both of them, you have to paste the formula inside the formula bar & press CTRL + SHIFT + ENTER

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  4. #4
    Registered User
    Join Date
    09-25-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: Counting # of Unique Items In List & Listing Unique Items In A List

    Wow that works perfectly!!! Thank you Benishiryo!!!

+ 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