Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Count items in a column 1

Status
Not open for further replies.

benny7

Programmer
Oct 3, 2004
31
GB
Hi

I have an Excel spread sheet with some fields in a column containing from 0 - 3 crosses (x). I want to count these crosses(x) and put a total at the end. Can this be achieved?
 
If the cells contain croses or are empty then you can create a formula in the next column:
=len(a1)
(or whatver cell is relevant).
You can then sum this extra column.

Alternatively, in any cell type
=SUM(LEN(A1:A9))
and enter this as a range formula (Ctrl+Shift+Enter)
Use your own cell range obviously.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top