+ Reply to Thread
Results 1 to 6 of 6

COUNTIF - counting 2 sets of data?

  1. #1
    Registered User
    Join Date
    08-08-2005
    Posts
    76

    Question COUNTIF - counting 2 sets of data?

    I have a bit of a confusing issue, I know the solution must be rather simple but I cannot get my head around it.

    I am trying to count windows for a house, but the issue arises when windows and sliding doors can come the same size.

    I have been using COUNTIF, which works great for windows only, but when the sliding door with the same window size exists - the formula fails.

    I have attached an example and a more detailed explanation there.
    Attached Files Attached Files
    Last edited by heatwave; 03-19-2015 at 10:12 PM.

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,065

    Re: COUNTIF - counting 2 sets of data?

    Can't you use COUNTIFS ?
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: COUNTIF - counting 2 sets of data?

    For Column F use
    and pull formula down

    =COUNTIFS(C$3:C$7,F3,D$3:D$7,"<>Yes")

    For S/DOOR

    =COUNTIFS(C$3:C$7,I5,D$3:$D7,"Yes")
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  4. #4
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: COUNTIF - counting 2 sets of data?

    For windows use
    Please Login or Register  to view this content.
    For S/Door use
    Please Login or Register  to view this content.
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

  5. #5
    Registered User
    Join Date
    08-08-2005
    Posts
    76

    Re: COUNTIF - counting 2 sets of data?

    Thank you guys! Works very well =)

  6. #6
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: COUNTIF - counting 2 sets of data?

    You're welcome

+ 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] SUMPRODUCT, COUNTIF formulas not correctly counting based on two sets of criteria
    By justinbelkin in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-11-2013, 10:12 AM
  2. Replies: 2
    Last Post: 08-30-2013, 06:30 AM
  3. Replies: 5
    Last Post: 06-23-2011, 12:32 PM
  4. Counting data sets based on multiple criteria
    By hjb0802 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-29-2010, 10:47 AM
  5. COUNTIF data counting
    By joebogey in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-08-2005, 04:06 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