+ Reply to Thread
Results 1 to 6 of 6

counting unique data based on date

  1. #1
    Registered User
    Join Date
    05-13-2015
    Location
    USA
    MS-Off Ver
    13
    Posts
    16

    counting unique data based on date

    I have attached a sheet that shows the serial number in column a. The date that parts were ordered is in column b. Then in the last column, it shows the age of our product when they needed to order parts. I don't care about counting the parts that they ordered. I just need to know how many times each serial number ordered parts on unique dates. I also want to know how old the product was each time that replacement parts had to be ordered. Please help.

    Thanks in advance.
    Attached Files Attached Files

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: counting unique data based on date

    To count the unique dates associated with a serial number...

    L2 = some serial number

    Then, this array formula**:

    =SUM(IF(FREQUENCY(IF(A2:A7=L2,B2:B7),B2:B7),1))

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.

    Not sure I understand your other question.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    05-13-2015
    Location
    USA
    MS-Off Ver
    13
    Posts
    16

    Re: counting unique data based on date

    My only issue is that I have over 2000 unique serial numbers. Is there a way to do this without specifying exact serial numbers as L2?

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: counting unique data based on date

    You might be able to do it using a pivot table.

    However, I never use pivot tables so I can't tell you how to set it up.

  5. #5
    Registered User
    Join Date
    05-13-2015
    Location
    USA
    MS-Off Ver
    13
    Posts
    16

    Re: counting unique data based on date

    Ok. thanks. I figured out a way to do it with a manual process. Hopefully this is the only time that my company will ever need a report like this.

  6. #6
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: counting unique data based on date

    Good deal. Thanks for the feedback!

+ 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. Replies: 9
    Last Post: 01-02-2015, 09:07 AM
  2. Counting data based on date
    By Skeeterj in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-04-2014, 11:52 AM
  3. Counting unique items on a list based on date in adjacent column
    By Mafoo17 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-30-2013, 04:24 PM
  4. [SOLVED] Counting unique elements based on a date range
    By jumb0 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-03-2012, 03:36 PM
  5. Replies: 0
    Last Post: 03-08-2012, 12:18 PM
  6. Counting Unique Numbers based on Date
    By hanjimono in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-23-2010, 05:51 AM
  7. Counting unique records based on date range
    By aspAddict in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-26-2005, 04:05 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