+ Reply to Thread
Results 1 to 6 of 6

count number of X in one column

  1. #1
    Registered User
    Join Date
    10-04-2007
    Posts
    4

    count number of X in one column

    Hello

    Here is my problem, I want to know the number of "x" I made in the entire column A in the cell A100

    Exemple #1 if a1 = x , a5 = x, a 7 = X THEN a100 = 3

    Exemple #2 if a1 = X , a5 = x, a 7 = X, a11 = x , a15 = x THEN a100 = 5

    Exemple #2 if a1 = X THEN a100 = 1

    I want to this whit a formula not with VB

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Try

    =COUNTIF(A1:A99,"x")
    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Can't you use the COUNTIF function?

    =COUNTIF(A1:A100,"x")
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  4. #4
    Forum Contributor
    Join Date
    08-28-2006
    Posts
    280
    Looks Like a tie to me.

    Dean

  5. #5
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    oldchippy's will refer a error as he wanted the answer in cell A100

    VBA Noob

  6. #6
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Quote Originally Posted by VBA Noob
    oldchippy's will refer a error as he wanted the answer in cell A100

    VBA Noob
    Yep, you're right - misread it

+ 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