English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

For an example if I had the values:
1
3
4
5
6
7
10
7
3
4
5
1
4

And I want it to count the amount of 3's there is, and return the amount (2 in this example).

Thanks!

2007-08-05 21:47:25 · 3 answers · asked by Brendon E 1 in Computers & Internet Software

3 answers

If the cells to be evaluated are A2:A14, then:
=COUNTIF(A2:A14,"=3")

2007-08-05 21:52:20 · answer #1 · answered by Clive 6 · 3 0

If you have your numbers in cells A1:A13 I would use the following formula in cell A15 and enter the number I want to count in cell B15, in your example, 3. When you want to see how many times a number is repeated, it is easier to edit a cell than the formula.

=COUNTIF(A1:A13,B15)

2007-08-06 08:01:22 · answer #2 · answered by colin cc 2 · 0 0

In the example given in the other solution
=COUNTIF(A2:A14,"=3")

the last part with quotes is not needed (it still works), just put a 3 in.

=COUNTIF(A2:A14,3)

2007-08-06 07:36:56 · answer #3 · answered by vbmica 7 · 0 0

fedest.com, questions and answers