+ Reply to Thread
Results 1 to 3 of 3

Countif or countifs - please help

  1. #1
    Registered User
    Join Date
    06-24-2011
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    1

    Countif or countifs - please help

    Hi. I'm having a problem (I’m probably missing the obvious or I’m stupid).
    This is my first time engaging with you so please be understanding

    Essentially, I have a spreadsheet with 15 tabs, I want the master copy tab to count the number of Yes, No, N/A and blank cells on each row for the other spreadsheet tabs in their F Column. The F Columns of the other tabs (i.e. Burford, Chichester etc –there are 14 of them), have conditional formatting so that an input of Yes will turn the cell to Green, No to Red etc.

    All I want to do is to correctly formulate the Master Copy tab so that it will count as follows:

    Column C on the master copy should count all tabs where the input in the F column on the other tabs is “Yes”.
    Column D on the master copy should count all tabs where the input in the F column on the other tabs is “No”.
    Column E on the master copy should count all tabs where the input in the F column on the other tabs is “N/A”.
    Column F on the master copy should count all tabs where the input in the F column on the other tabs is blank.

    Can you help with this pleeeeeeeeeease?

    Thanks
    David

  2. #2
    Registered User
    Join Date
    06-24-2011
    Location
    Cleveland
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: Countif or countifs - please help

    Instead of using one countifs, use multiple countif and add them all up. This is how I suggest doing it unless theres an easier way without adding up 15 count ifs)

    For example, in column C of the master copy you should have something like this

    Please Login or Register  to view this content.
    The criteria would be a cell that says yes.

  3. #3
    Forum Expert Colin Legg's Avatar
    Join Date
    03-30-2008
    Location
    UK
    MS-Off Ver
    365
    Posts
    1,256

    Re: Countif or countifs - please help

    Hi David,

    The best way to do this is to put formulas on each sheet which perform the necessary counts for that sheet. Then, on the master sheet, you have formulas which add up those counts.

    On each sheet...

    [1]count where the input in the F column is “Yes”.
    =COUNTIF(F:F,"Yes")

    [2]count where the input in the F column is “No”.
    =COUNTIF(F:F,"No")

    [3]count where the input in the F column is “N/A”.
    =COUNTIF(F:F,"N/A")

    or, depending on the exact input, possibly:
    =COUNTIF(F:F,"#N/A")

    [4]count where the input in the F column is blank.
    This one needs more work. Most of the column will probably be blank - do you really want a count of all of those blank cells, or do you only want to count the blanks where another cell on the same row has been filled in?
    Hope that helps,

    Colin

    RAD Excel Blog

+ 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