+ Reply to Thread
Results 1 to 2 of 2

Counting unique items only when a condition has been met

  1. #1
    Registered User
    Join Date
    03-22-2011
    Location
    Temecula, CA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Counting unique items only when a condition has been met

    Hello,

    I hope that I can explain this clearly. Please bare with me.

    I've attached a spreadsheet for a better visual. Basically what I would like to do is count the unique document only when both have been approved.

    Column A = Number (nothing special with this column)
    Column B = Area (only two shown in the example)
    Column C = Document (only one shown in the example)
    Column D = Document Count (this has a formula to count unique "documents" for each "area")
    Column E = This is where I will place the word "Approved"

    Currently, in my master spreadsheet, when I place "Approved" in cell E2, it will count the number contained in D2. I wish to have it count D2 only when both E2 and E4 are "Approved".

    The current count formula that I use is: =COUNTIFS($C$2:$C$5,"Airplane",$D$2:$D$5,"1",$E$2:$E$5,"Approved")

    The problem that I am having is that when a somebody approves line 4, is does not count, nor do I want that. I would like it to count when both line 2 and line 4 are "Approved"

    Hopefully this made some sense.

    Thank you!!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Counting unique items only when a condition has been met

    There are several ways to get the desired result, one way, based on the sample file

    In C2,
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Then count with
    Formula: copy to clipboard
    Please Login or Register  to view this content.

+ 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