+ Reply to Thread
Results 1 to 8 of 8

=COUNTIFS to add additional cells

  1. #1
    Registered User
    Join Date
    02-13-2019
    Location
    London, England
    MS-Off Ver
    Ms Office 2010
    Posts
    10

    Question =COUNTIFS to add additional cells

    Hello,

    See attached.

    I am trying to update the =COUNTIFS formula in C17 to + the total staff in C1:C10 excluding C5

    Such a simple thing but nothing I try works.

    Any help would be greatly appreciated...

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: =COUNTIFS to add additional cells

    Try this:
    =COUNTA(C1:C10)-1

  3. #3
    Registered User
    Join Date
    02-13-2019
    Location
    London, England
    MS-Off Ver
    Ms Office 2010
    Posts
    10

    Re: =COUNTIFS to add additional cells

    Thanks but need to keep the COUNTIFS formula. See the attachment.

  4. #4
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: =COUNTIFS to add additional cells

    this would be one way... =COUNTIFS(C18:C32, "*",C18:C32,"<>*Team*")+COUNTIFS(C1:C10, "*",C1:C10,"<>*apollo*")
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  5. #5
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: =COUNTIFS to add additional cells

    Quote Originally Posted by ExcelFan23 View Post
    Thanks but need to keep the COUNTIFS formula. See the attachment.
    Okay, then this:

    =COUNTIFS(C18:C32, "*",C18:C32,"<>*Team*")+COUNTA(C1:C10)-1

  6. #6
    Registered User
    Join Date
    02-13-2019
    Location
    London, England
    MS-Off Ver
    Ms Office 2010
    Posts
    10

    Re: =COUNTIFS to add additional cells

    Quote Originally Posted by Sambo kid View Post
    this would be one way... =COUNTIFS(C18:C32, "*",C18:C32,"<>*Team*")+COUNTIFS(C1:C10, "*",C1:C10,"<>*apollo*")
    Thanks Sambo!

  7. #7
    Registered User
    Join Date
    02-13-2019
    Location
    London, England
    MS-Off Ver
    Ms Office 2010
    Posts
    10

    Re: =COUNTIFS to add additional cells

    Quote Originally Posted by 63falcondude View Post
    Okay, then this:

    =COUNTIFS(C18:C32, "*",C18:C32,"<>*Team*")+COUNTA(C1:C10)-1
    Thanks Falcon!

  8. #8
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: =COUNTIFS to add additional cells

    now, this is a slightly different take on it BUT will only work if you DO NOT put it in C17 as that will create a circular reference...
    =SUM(COUNTIFS(C1:C32,"<>"&"*team*",C1:C32,"<>"&"*apollo*",C1:C32,"<>"))

    Oh, and thank you for the rep!

    EDIT: in fact you could put this in B17 which would take care of that issue...
    ="Number of staff ** = "&SUM(COUNTIFS(C1:C32,"<>"&"*team*",C1:C32,"<>"&"*apollo*",C1:C32,"<>"))
    Last edited by Sam Capricci; 09-13-2019 at 11:34 AM.

+ 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. SumIFS & COUNTIFS plus additional IFS to sum and only particular values.
    By Shruder in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-22-2018, 07:11 PM
  2. [SOLVED] Modfication of Existing Code for additional additional cells
    By thilag in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-29-2016, 03:00 AM
  3. Replies: 1
    Last Post: 02-06-2014, 03:00 PM
  4. [SOLVED] countifs needs additional offset criteria
    By Willardio in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 12-15-2012, 06:50 PM
  5. Replies: 0
    Last Post: 12-16-2011, 09:01 AM
  6. Replies: 2
    Last Post: 06-24-2010, 04:53 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