+ Reply to Thread
Results 1 to 9 of 9

formula to count number of times the letter "x" appears in a column

  1. #1
    Registered User
    Join Date
    02-26-2005
    Posts
    4

    formula to count number of times the letter "x" appears in a column

    Can anyone please help me with a formula to count the number of times the letter "x" appears in a column.
    A single "x" will be entered into a single cell

  2. #2
    Registered User
    Join Date
    06-18-2004
    Posts
    15
    If I remember correctly you just put =counta(click on range of cells) than enter. This should count text vs. numbers. However, if you have other text in the same column (such as Z"), you may need to sort by X so they are all together and than do that formula to count the X (The formula I gave you counts all text if I remember correctly)

  3. #3
    Cheeky Forum Moderator Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016
    Posts
    6,922
    Try this to return just the count of X's in the range:

    =COUNTIF(A1:A500,"X")

    (Of course, you'd need to adjust the range to suit your needs)

    Does that help?

    Ron

  4. #4
    Registered User
    Join Date
    07-03-2012
    Location
    Houston, TX
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: formula to count number of times the letter "x" appears in a column

    What if I have varying number of "X's" in a cell, i.e. "XXX" in C1, "X" in C2, "XXXXX" in C3 - I want to have a total of that column that would indicate 9 "X's" in that column. Is there a formula/function for that?

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,902

    Re: formula to count number of times the letter "x" appears in a column

    Please start a new thread with your question.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  6. #6
    Registered User
    Join Date
    07-03-2012
    Location
    Houston, TX
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: formula to count number of times the letter "x" appears in a column

    Sorry for being unfamiliar with this forum - where do I "post a new thread"? thanks

  7. #7
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,902

    Re: formula to count number of times the letter "x" appears in a column

    Go to forum index: http://www.excelforum.com/ and click New Thread.. and go from there...

  8. #8
    Registered User
    Join Date
    07-03-2012
    Location
    Houston, TX
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: formula to count number of times the letter "x" appears in a column

    I'm sorry, but I have looked on www.excelforum.com for "new thread" and just don't see it. Is it in some drop-down or what. Again, sorry - I had looked at that page and others being submitting my "where is it" question, and now I've gone back and still don't see it.

  9. #9
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,902

    Re: formula to count number of times the letter "x" appears in a column

    Sorry, you need to first choose a forum... pick "Excel General"

+ 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