Advice Please

G

Greg B

what function do I used to have excel search through columns and show how
many times the number I want appears?
 
J

Jason Morin

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
 
R

Ragdyer

If you wanted to search through Column A, try this:

=COUNTIF(A:A,25)

If 25 was the number you were looking to count.
 
A

Arvi Laanemets

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;"")))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top