+ Reply to Thread
Results 1 to 4 of 4

Count unique values from a column with conditions

  1. #1
    Registered User
    Join Date
    09-21-2018
    Location
    Boston, USA
    MS-Off Ver
    2016
    Posts
    15

    Count unique values from a column with conditions

    Hi,
    I used this formula below to give me unique entry counts from a column that has texts.
    I have another column that indicates whether the text is from 2018 or 2017.
    How do I embed in the formula to just give me texts from 2018 entries (then count unique entries that are from 2018 only)? the years are logged in column A in my excel sheet.

    =SUMPRODUCT((E10:E162<>"")/COUNTIF(E10:E162, E10:E162&""))

    Thank you!!

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    2016
    Posts
    5,874

    Re: Count unique values from a column with conditions

    Try this:

    =SUMPRODUCT((A10:A162=2018)*(E10:E162<>"")/COUNTIFS(E10:E162,E10:E162&""))

  3. #3
    Registered User
    Join Date
    09-21-2018
    Location
    Boston, USA
    MS-Off Ver
    2016
    Posts
    15

    Re: Count unique values from a column with conditions

    Massively helpful. This is exactly what I needed. Thank you so much.
    Quote Originally Posted by 63falcondude View Post
    Try this:

    =SUMPRODUCT((A10:A162=2018)*(E10:E162<>"")/COUNTIFS(E10:E162,E10:E162&""))

  4. #4
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    2016
    Posts
    5,874

    Re: Count unique values from a column with conditions

    You're welcome. Happy to help.

+ 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. Count unique values across sheets in a workbook that meet certain conditions
    By libramom814 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-29-2016, 08:41 AM
  2. How to count unique values in two ranges that meet conditions
    By akbermo in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-18-2015, 08:22 AM
  3. Replies: 2
    Last Post: 08-19-2015, 10:22 AM
  4. [SOLVED] Count amount of unique values with multiple conditions
    By Melon6 in forum Excel General
    Replies: 17
    Last Post: 05-19-2015, 11:59 AM
  5. [SOLVED] Count only unique values with two conditions
    By Melon6 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-01-2015, 05:24 AM
  6. Count unique values with multiple conditions
    By liybpg in forum Excel General
    Replies: 6
    Last Post: 03-18-2015, 05:43 AM
  7. [SOLVED] count the number of unique values given certain conditions
    By eh308701 in forum Excel General
    Replies: 8
    Last Post: 05-31-2012, 11:48 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