+ Reply to Thread
Results 1 to 16 of 16

Countif and Countifs

Hybrid View

  1. #1
    Registered User
    Join Date
    01-14-2013
    Location
    Chesapeake VA
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Countif and Countifs

    Wow, that was fast! It looks to be all correct except any line that has "NICU", because it counts that too. I think in "countif" it will count a cell if the letter is anywhere in the cell, and that one has both N and C, so it is counting that cell.

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,694

    Re: Countif and Countifs

    Quote Originally Posted by alexfamily5 View Post
    I think in "countif" it will count a cell if the letter is anywhere in the cell, and that one has both N and C, so it is counting that cell.
    No, the formula I suggested doesn't count "NICU" - it will only count cells that contain exactly "C", "D", "N" or "P" (upper or lower case) - I get 3 as the PM result for Mon - that counts the "D" in G4 and the "C"s in M4 and S4
    Audere est facere

+ 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