+ Reply to Thread
Results 1 to 7 of 7

(Solved) Adding multiple COUNTIFS that contains multiple sheets

  1. #1
    Registered User
    Join Date
    09-02-2015
    Location
    wisconsin united states
    MS-Off Ver
    2010
    Posts
    4

    (Solved) Adding multiple COUNTIFS that contains multiple sheets

    Hi All,

    To simplify, I have 3 sheets. The sheet contains: column A = Dealer #/ Column B= Total unsatisfied customer's which is where i put my formula. It is to count how many YES' the dealer# in column A received.

    The data are in sheet 2 and sheet 3, each representing a different month. But we don't care about time frame, we just want total. Too much data to combine. Sheets 2 and 3 data are displayed like: Column A = Dealer # / Column B = Did a customer complain?(yes or no)

    I know if I want to calculate only from sheet 2, but on sheet 1 cell b1, formula would be.... =COUNTIFS('sheet 2'!A:A,'sheet 1'!A1,'sheet 2'!C:C,"yes")

    Now how do I add =COUNTIFS('sheet 2'!A:A,'sheet 1'!A1,'sheet 2'!C:C,"yes") + =COUNTIFS('sheet 3'!A:A,'sheet 1'!A1,'sheet 3'!C:C,"yes") in to one formula?? Thank you very much in advance.


    example. sheets 2 and 3 are like the back sheet. Front sheet is my data sheet that need the formula.
    Attachment 417047
    Attached Files Attached Files
    Last edited by str8_6; 09-02-2015 at 11:17 PM.

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Adding multiple COUNTIFS that contains multiple sheets

    str8_6,

    Welcome to the Forum. As a newcomer you may not be aware that the preferred upload is an Excel workbook with appropriate data to your question. Pics / screen shots are often difficult to read and nobody wants to retype data.

    To attach a workbook click Go Advanced at the bottom of the reply window. At the bottom of the screen you will find Manage Attachments. Click that and starting at the top of the dialogue window the steps pretty much explain themselves.

    BTW Please be sure to desensitize the data.
    Dave

  3. #3
    Registered User
    Join Date
    09-02-2015
    Location
    wisconsin united states
    MS-Off Ver
    2010
    Posts
    4

    Re: Adding multiple COUNTIFS that contains multiple sheets

    Thank you! I revised my post

  4. #4
    Registered User
    Join Date
    09-02-2015
    Location
    wisconsin united states
    MS-Off Ver
    2010
    Posts
    4

    Re: Adding multiple COUNTIFS that contains multiple sheets

    I was able to figure out the formula. I was thinking too deep in to it when it was something simple all along! This is the formula I ended up using:

    =COUNTIFS(Sheet1!A:A,A3,Sheet1!B:B,"yes")+COUNTIFS(Sheet2!A:A,A3,Sheet2!B:B,"yes")+COUNTIFS(Sheet3!A:A,A3,Sheet3!#REF!,"yes")

    pretty much countifs+countifs+countifs

  5. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Adding multiple COUNTIFS that contains multiple sheets

    This might be simpler. With the sheet names listed in R1:R2 array-enter this formula in B2 and fill down.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If you aren’t familiar with array-entered formulas array enter means the formula must be committed by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.

    This formula reflects querying Sheet1 and Sheet2. Since the layout of Sheet3 was different than the others I assumed you meant those sheets. This formula depends upon data in each sheet being in identical ranges.

    Does this help?
    Last edited by FlameRetired; 09-02-2015 at 11:41 PM.

  6. #6
    Registered User
    Join Date
    09-02-2015
    Location
    wisconsin united states
    MS-Off Ver
    2010
    Posts
    4

    Re: (Solved) Adding multiple COUNTIFS that contains multiple sheets

    Yes, that helped. Thank you so much! Looks a lot nicer. I am a newbie so do things the hard way.

  7. #7
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: (Solved) Adding multiple COUNTIFS that contains multiple sheets

    Been there ... done that.

+ 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] Need Help to COUNTIFS across multiple sheets/same column
    By rainbowzzzzz in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-06-2014, 05:28 AM
  2. Replies: 2
    Last Post: 03-19-2014, 11:47 AM
  3. Adding Multiple COUNTIFS into one formula OR am I doing this all wrong???
    By jczapla in forum Excel Formulas & Functions
    Replies: 32
    Last Post: 09-01-2013, 07:57 PM
  4. [SOLVED] how to countifs (multiple criteria and multiple sheets)
    By jekidi in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-12-2013, 01:57 AM
  5. Adding multiple COUNTIFS issue
    By purdue7997 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-17-2013, 06:40 AM
  6. Replies: 0
    Last Post: 07-27-2011, 01:00 AM
  7. Replies: 5
    Last Post: 01-20-2009, 11:56 AM

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