Counting word occurrences

fillupbrun

New Member
Joined
Jan 6, 2012
Messages
6
A1: Win */* Over *
A2: Win */* Over *
A3: Loss */* Under *
A4: Win */* Push *
A5: Win */* Over *
A6: Win */* Over *
A7: Win */* Over *
A8: Win */* Under *
A9: Loss */* Over *
A10: Push */* Over *
A11: Loss */* Over *

I want to count how many times the word Over occurs and then count how many times the word Under occurs.
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Try this:

=COUNTIF(A12:A22,"*Over*")

=COUNTIF(A12:A22,"*Under*")

In the first argument, where I have A12:A22, put the range relevant to your example.
 
Upvote 0
Hello Fillupbrun,

This formula will return the count in a single cell. It is an array formula. You must use Control+Shift+Enter to confirm the formula after it is entered.

=SUM(--(ISNUMBER(SEARCH("Over",A1:A11))))
 
Upvote 0

Forum statistics

Threads
1,223,237
Messages
6,170,928
Members
452,366
Latest member
TePunaBloke

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.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

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

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

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
Back
Top