Question : Excel Question

I have a column in a spreadsheet that user go into & put an x or X to keep track of things. My question is, how would I automatically count the number of X's in the column. At the top of the spreadsheet to the right of the data I have a column names total X's. Instead of them manually counting how many X's are there, is there a way for me to automatically count the X's & put it in a cell under the Total X's Column?

Answer : Excel Question

That link shows how to count multiple "x"s in the same cell. If you have only single "x"s in each cell and you want to count how many there are in a range of cells, e.g. A1:A100 then use COUNTIF

=COUNTIF(A1:A100,"x")

it's not case-sensitive so that counts both "x" and "X"

regards, barry

Random Solutions  
 
programming4us programming4us