+ Reply to Thread
Results 1 to 7 of 7

Formula to Count unique items based on multiple criteria including time period

  1. #1
    Registered User
    Join Date
    04-20-2015
    Location
    philippines
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3

    Exclamation Formula to Count unique items based on multiple criteria including time period

    Hi,

    I would like to count the number of unique values/concepts (data on the left-hand side) based on the following criteria:
    1. Category Code - it will only count the number of unique concepts for that category
    2. Time Period - if I select from 1 to 3, then it should sum the number of unique concepts based on time periods 1-3. If I select from 3 to 3, then it would only count the number of unique concepts based on time period 3.

    Sample file attached for reference.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    01-28-2014
    Location
    Turkey
    MS-Off Ver
    Excel 2013
    Posts
    159

    Re: Formula to Count unique items based on multiple criteria including time period

    For I6 cell

    Please Login or Register  to view this content.
    This is an Array Formula 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 then drag down up to I12
    Last edited by Ali Kırksekiz; 04-20-2015 at 06:25 AM.

  3. #3
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Formula to Count unique items based on multiple criteria including time period

    (self-deleted)
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  4. #4
    Registered User
    Join Date
    04-20-2015
    Location
    philippines
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3

    Re: Formula to Count unique items based on multiple criteria including time period

    Quote Originally Posted by Ali Kırksekiz View Post
    For I6 cell

    Please Login or Register  to view this content.
    This is an Array Formula 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 then drag down up to I12
    No. of Unique Concept Names
    Fragrance 2
    Color 1
    Skin Care 3
    Personal Care 2
    Hair Care 1
    Innerwear 3
    Jewelry 3

    Total 15

    Tried using your formula but looks like it's retrieving incorrect information.. For example, fragrance should return 5 unique concept names (SCENT ESSENCE VIBRANT FRUITY, SCENT ESSENCE ROMANTIC BOUQUET, SCENT ESSENCE SPARKLY CITRUS, X-SERIES QUAKE AP, Sweet Miss BRILLIANCE EDT) from time periods 1 to 3..

  5. #5
    Forum Contributor
    Join Date
    01-28-2014
    Location
    Turkey
    MS-Off Ver
    Excel 2013
    Posts
    159

    Re: Formula to Count unique items based on multiple criteria including time period

    I changed the formula. Try again please.

  6. #6
    Registered User
    Join Date
    04-20-2015
    Location
    philippines
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3

    Re: Formula to Count unique items based on multiple criteria including time period

    Quote Originally Posted by Ali Kırksekiz View Post
    I changed the formula. Try again please.
    Thanks! What if create a new row (column D) with values in it and I add another criteria wherein the value should be greater than zero for the unique concepts to be counted. What will be the revised formula? I have attached a new file for reference.

    In summary, here's the new criteria:
    1. Category Code - it will only count the number of unique concepts for that category
    2. Time Period - if I select from 1 to 3, then it should sum the number of unique concepts based on time periods 1-3. If I select from 3 to 3, then it would only count the number of unique concepts based on time period 3.
    3. Units value - should be greater than zero for the unique concept to be counted.
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    01-28-2014
    Location
    Turkey
    MS-Off Ver
    Excel 2013
    Posts
    159

    Re: Formula to Count unique items based on multiple criteria including time period

    Please Login or Register  to view this content.
    This is an Array Formula confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER.
    Last edited by Ali Kırksekiz; 04-20-2015 at 07:25 AM.

+ 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] Count Unique Items, Based on Multiple Variables - Excel 2007
    By Joe Frenger in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-04-2014, 03:13 AM
  2. Replies: 4
    Last Post: 12-21-2013, 09:23 PM
  3. Formula to count Unique text based on multiple criteria
    By OAMPS in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-14-2012, 10:48 AM
  4. Replies: 10
    Last Post: 03-25-2009, 10:09 PM
  5. Replies: 2
    Last Post: 10-18-2005, 04:05 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