+ Reply to Thread
Results 1 to 4 of 4

Count Multiple Criteria in a single Range on a Different Sheet

  1. #1
    Registered User
    Join Date
    12-18-2012
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    2

    Count Multiple Criteria in a single Range on a Different Sheet

    This is probably a really basic question, but I'm relatively new to Excel so here goes:

    I have one sheet that contains all of my formulas and other sheets that contain the data. I am trying to write a formula on my 'Formulas' sheet that counts how many cells say CPT or 1LT the following range -- C4:C20 on a sheet titled '2 MED Personnel'

    This range contains LTC, MAJ, CPT, and 1LT.

    Thanks for any help you can provide.

    Patrick

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,443

    Re: Count Multiple Criteria in a single Range on a Different Sheet

    Perhaps =sum(countif('2 MED Personnel'!c4:c20,"CPT"),countif('2 MED Personnel'!c4:c20,"1LT"))

  3. #3
    Registered User
    Join Date
    12-18-2012
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Count Multiple Criteria in a single Range on a Different Sheet

    That worked! Thanks so much, I have spent about an hour trying to figure it out!

    Patrick

  4. #4
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Count Multiple Criteria in a single Range on a Different Sheet

    Shorter..

    Please Login or Register  to view this content.
    Life's a spreadsheet, Excel!
    Say thanks, Click *

+ 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