+ Reply to Thread
Results 1 to 3 of 3

Formula that counts unique dates in a column based on another column's value.

  1. #1
    Registered User
    Join Date
    07-18-2013
    Location
    Cincinnati
    MS-Off Ver
    2010
    Posts
    35

    Formula that counts unique dates in a column based on another column's value.

    How would I count unique dates associated with another specific value on a worksheet?

    For instance, Lets say I want to count each day a particular person makes a sale.

    Example:

    Sales Person Sale ID Sales Date
    Don 100 1/6/2014
    Don 140 1/7/2014
    Don 160 1/8/2014
    Jack 101 1/6/2014
    Jack 102 1/6/2014
    Mike 90 1/5/2014
    Mike 103 1/6/2014

    So on another worksheet, I'd have:

    Sales Person Days with Sale
    Don 3
    Jack 1
    Mike 2

    The Formula would go into the "Days with Sale" Column.

    Any ideas?

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Formula that counts unique dates in a column based on another column's value.

    Let's say that your data is in Data worksheet with names in column A and dates in column C then in your summary sheet with name in A2 use this "array formula" in B2

    =SUM(IF(FREQUENCY(IF(Data!A$2:A$1000=A2,Data!C$2:C$1000),Data!C$2:C$1000),1))

    confirmed with CTRL+SHIFT+ENTER and copied down
    Audere est facere

  3. #3
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Formula that counts unique dates in a column based on another column's value.

    Have you try Pivot Table?

+ 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] Filter rows based on unique values in one column + specific value in another column
    By Dieneces in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-31-2013, 09:55 AM
  2. Counting Unique text in column B based on a criteria from column a
    By clocmasta in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-18-2013, 06:40 PM
  3. Replies: 5
    Last Post: 09-24-2012, 05:14 PM
  4. Replies: 11
    Last Post: 11-05-2011, 12:34 PM
  5. Replies: 0
    Last Post: 02-04-2005, 03:58 PM

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