Thread: Advice Please
View Single Post
  #5   Report Post  
Arvi Laanemets
 
Posts: n/a
Default

Hi

To count all occurrences of some number in range, like
18
22
180
....
, which contains three number 8's, you can use an array formula (entered
with Ctrl+Alt+Enter) like:
=SUM(LEN(A1:A100)-LEN(SUBSTITUTE(A1:A100;8;"")))

--
When sending mail, use address arvil<attarkon.ee
Arvi Laanemets



"Jason Morin" wrote in message
...
Use COUNTIF. For example, to count the no. of times 8
appears in columns A-C:

=COUNTIF(A:C,8)

Of course this only counts cells with 8. Cells such as 88
would be ignored.

HTH
Jason
Atlanta, GA

-----Original Message-----
what function do I used to have excel search through

columns and show how
many times the number I want appears?



.