# Simple query about counting a particular value...

#### bingolover99

##### New Member
Hey. Can someone please tell me the formula to count how many times a particular value appears in a given set of values. eg how many times FAIL appears in a given set of values?? Hope someone can help!!
Steven

### Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand

#### bingolover99

##### New Member
PS im only new, so go easy on me

##### MrExcel MVP
On 2002-10-26 07:49, bingolover99 wrote:
Hey. Can someone please tell me the formula to count how many times a particular value appears in a given set of values. eg how many times FAIL appears in a given set of values?? Hope someone can help!!
Steven

=COUNTIF(A2:A10,"FAIL")

Let B2 house "FAIL" (without the double quotes)...

=COUNTIF(A2:A10,B2)

Thanks very much

#### Joe Was

##### MrExcel MVP

http://216.92.17.166/board/viewtopic.php?topic=26774&forum=2&3

_________________<INPUT type="JSW" value=" Excel On... Coder's!" ID=Text1><spanstyle='font-size:36.0pt;color:#FFCC00'>JSW<o></o></span>[/b]</p><spanstyle='font-size:36.0pt;color:#FFCC00'>Try and try again, " The way of the coder!"<o></o></span>[/b]
This message was edited by Joe Was on 2002-10-26 10:32

Replies
13
Views
532
Replies
19
Views
370
Replies
13
Views
306
Replies
24
Views
412
Replies
2
Views
69

1,181,892
Messages
5,932,668
Members
436,850
Latest member
Jasperlee93

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

### Which adblocker are you using?

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back