+ Reply to Thread
Results 1 to 3 of 3

Count cells with a certain value

Hybrid View

  1. #1
    Registered User
    Join Date
    07-29-2010
    Location
    Denver, Colorado
    MS-Off Ver
    Excel 2003
    Posts
    7

    Count cells with a certain value

    Good afternoon

    I'm new to the forum and I'm really hoping someone can help me with this programming issue. I have a spreadsheet that has a name in the first cell, and the following 15-20 cells (on the same row) can have either a 'P', 'E', 'U', ' '. What I would like to do is have 4 additional columns on the right side that have the count for each value. For example, if there were 5 "P"s on the row, the total for "P"s would display a value of 5.

    I've tried COUNT, COUNTIF, and I know I'm probably just not coding it properly.

    Any help would be greatly appreciated!

    Thanks
    Chris

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Count cells with a certain value

    Say your range is A2 :A10 , try =countif(a2:a10,"p")

  3. #3
    Forum Contributor
    Join Date
    09-09-2009
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    185

    Re: Count cells with a certain value

    Quote Originally Posted by arthurbr View Post
    Say your range is A2 :A10 , try =countif(a2:a10,"p")
    You would just type this formula into the cell that you wish to have accumulate the totals!!

+ 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