# 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

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.

#### 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
9
Views
272
Replies
4
Views
176
Replies
8
Views
99
Replies
3
Views
325
Replies
7
Views
340

1,148,020
Messages
5,744,364
Members
423,864
Latest member
GolfingTitan116

### 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