+ Reply to Thread
Results 1 to 3 of 3

Counting unique entries that meet certain criteria

Hybrid View

andy_ag08 Counting unique entries that... 10-07-2009, 09:03 AM
NBVC Re: Counting unique entries... 10-07-2009, 09:14 AM
andy_ag08 Re: Counting unique entries... 10-07-2009, 09:21 AM
  1. #1
    Registered User
    Join Date
    09-22-2009
    Location
    Houston,TX
    MS-Off Ver
    Excel 2003
    Posts
    2

    Counting unique entries that meet certain criteria

    I will do my best to explain what I am having a problem with....

    I have a sheet that shows planned production at different work stations. Some of the work stations are listed more than once because sometimes they run more than one product in the same day.
    Every other line is the planned production and the others are filled in after as the actual production
    I have a sumproduct formula right now that looks if the line is considered planned production and then if there is a number greater than 0 planned on that day. The idea is to tell me the number of Stations scheduled to run that day.

    Here is my problem- if a station is running two different products it gets counted twice.
    I am trying to find a way that once a station is counted it only gets counted once even though they are on seperate lines.
    Attached is an example of what I have with the formula and below that is what I am looking for

    Thanks
    Attached Files Attached Files
    Last edited by andy_ag08; 10-07-2009 at 09:21 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Counting unique entries that meet certain criteria

    Try:

    =COUNT(1/FREQUENCY(IF($A$2:$A$15="PLANNED PRODUCTION",IF(D$2:D$15>0,MATCH($B$2:$B$15,$B$2:$B$15,0))),ROW($A$2:$A$15)-ROW($A$2)+1))
    Confirmed with CTRL+SHIFT+ENTER and copied across.
    Last edited by NBVC; 10-07-2009 at 09:22 AM. Reason: Confirmed with CTRL+SHIFT+ENTER
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    09-22-2009
    Location
    Houston,TX
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Counting unique entries that meet certain criteria

    Worked great- Thanks for the quick help

+ 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