+ Reply to Thread
Results 1 to 3 of 3

Display distinct values and their counts

  1. #1
    Registered User
    Join Date
    02-08-2017
    Location
    Phoenix, AZ
    MS-Off Ver
    2013
    Posts
    21

    Display distinct values and their counts

    I have a list of terms in Col D.
    I would like a distinct list in Col F and in Col G I would like a count of the distinct terms displayed in Col F from Col D.

    For Col F I am currently using the following formula and it is working great.
    =IFERROR(INDEX($D$2:$D$2000, MATCH(0,COUNTIF($F$1:F1, $D$2:$D$2000), 0)),"")
    Any suggestions on this?

    I am unsure what to do about Col G.
    I have this, but it isn't working.
    =SUM(--(FREQUENCY(IF($D$2:$D$2000=F2,MATCH($D$2:$D$2000,$D$2:$D$2000,0)),ROW(D2:D2000)-ROW(D2)+1)>0))

    Thoughts, ideas and musings welcomed.
    excel.PNG

  2. #2
    Registered User
    Join Date
    09-15-2016
    Location
    Houston
    MS-Off Ver
    2016
    Posts
    12

    Re: Display distinct values and their counts

    I might be oversimplifying and/or missing what you are asking but in cell G2, can you not use =COUNTIF(D:D,$F2)? Copy & paste down as needed...

  3. #3
    Registered User
    Join Date
    02-08-2017
    Location
    Phoenix, AZ
    MS-Off Ver
    2013
    Posts
    21

    Re: Display distinct values and their counts

    You are exactly correct omccabe!
    Apparently the first formula drained my brain and something like this was just beyond me. Thanks so much!

+ 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] return average counts for distinct samples but with same name
    By Midna in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-18-2012, 01:08 AM
  2. [SOLVED] Count consecutive non-zero values; list first non-zero value; display counts as an array
    By treznick in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-17-2012, 08:25 PM
  3. unique distinct counts.
    By albert28 in forum Excel General
    Replies: 2
    Last Post: 03-11-2010, 06:58 AM
  4. Need help in getting the unique distinct counts.
    By albert28 in forum Excel General
    Replies: 1
    Last Post: 03-11-2010, 05:48 AM
  5. Replies: 13
    Last Post: 01-20-2010, 05:54 PM
  6. Distinct Counts in Pivot Tables
    By tw41 in forum Excel General
    Replies: 1
    Last Post: 06-19-2009, 02:28 AM
  7. [SOLVED] Distinct counts in piviot tables
    By rqwatson in forum Excel General
    Replies: 1
    Last Post: 04-23-2006, 03:55 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