+ Reply to Thread
Results 1 to 4 of 4

[SOLVED] Counting unique elements based on a date range

  1. #1
    Registered User
    Join Date
    11-28-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    5

    [SOLVED] Counting unique elements based on a date range

    Hi guys,

    I've looked all over for a solution to my problem and can't seem to get any to work. I have a spreadsheet that has a very large amount of information. What I'm trying to do is to count the number of unique items (techs) by month from a sheet that is composed of raw data (exported from a website and pasted in to excel).

    Example: my worksheet is broken down by months, and i want to count the number of "unique" technicians working in that month. currently my spreadsheet raw data has over 120,000 rows and counting.

    Here's what I had:

    Please Login or Register  to view this content.
    I've attached an abridged version of my spreadsheet in the hopes that someone can provide some advice.

    Cut-Down.xlsm

    Cheers
    Last edited by jumb0; 12-03-2012 at 03:44 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    09-10-2012
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2010
    Posts
    929

    Re: Counting unique elements based on a date range

    Hi jumb0,

    Follow this thread, hopefully you can use Jason's formula...

    http://www.excelforum.com/excel-form...ries-only.html

  3. #3
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,417

    Re: Counting unique elements based on a date range

    put the following ARRAY formula in B5 and drag-fill down:

    Please Login or Register  to view this content.
    (slightly faster)

    or

    UPDATE:

    Please Login or Register  to view this content.
    in case value in 'Billable Hours' cell A5 can be any date (i.e., not first of the month), and column 'Raw Data' column B will never have blanks...
    Last edited by icestationzbra; 12-03-2012 at 09:25 PM. Reason: COUNT formula fixed
    - i.s.z -
    CSE, aka Array aka { }, formulae are confirmed with CONTROL+SHIFT+ENTER.
    Replace commas ( , ) with semicolons ( ; ) in formulae, if your locale setting demands.
    All good ideas are courtesy resources from this forum as well as others around the web.
    - e.o.m -

  4. #4
    Registered User
    Join Date
    11-28-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Counting unique elements based on a date range

    Thank you i.c.z, top one worked great, for some reason the second one gave me a 1 even when there was no data.

    Works great.
    Last edited by jumb0; 12-04-2012 at 12:17 PM. Reason: Updated based on fix.

+ 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