+ Reply to Thread
Results 1 to 3 of 3

Countifs with unique values & dates

  1. #1
    Registered User
    Join Date
    06-26-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    33

    Countifs with unique values & dates

    Hi,

    I need to count the number of unique text values on any given date. I've used powerpivot (fir the 1st time!) to create a pivot chart to show me unique entries, but I now need the values on a summary table by date.
    For example, how many unique people attended show1 on 25th July?

    Date Type Name
    25/07/2012 Show2 Mickey
    25/07/2012 Show2 Donald
    25/07/2012 Show1 Mickey
    25/07/2012 Misc Goofy
    25/07/2012 Show1 Pluto
    25/07/2012 Show3 Goofy
    25/07/2012 Show1 Mickey
    25/07/2012 Show1 Mickey
    25/07/2012 Show1 Donald

    I have a summary table that shows various things so can't use a pivot. The data is already there in various pivots so I either need a formula in the summary table to get the results from the source data, or learn how to get data copied over from a pivot table where the date is picked up automatically (so on summary table I will create a new column for each date, once the pivots are refreshed I would like to copy the results from the pivot as this already has some of the info).

    I hope this makes sense - my workbook is quite big so I'm hoping to not have to upload a sample if possible :$.

    Thanking you in advance.
    L

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

    Re: Countifs with unique values & dates

    hi L, assuming your data starts from A2:A10, you can try:
    =SUMPRODUCT((A2:A10=DATE(2012,7,25))*(1/COUNTIF(C2:C10,C2:C10)))

    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

  3. #3
    Registered User
    Join Date
    06-26-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    33

    Re: Countifs with unique values & dates

    Thank you. Will try that and let you know...

+ 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