Counting specific characters within a range

PaperBoyz

New Member
Joined
Mar 10, 2004
Messages
8
Hi all ... Searched for a while but didn't find quite what I was looking for.

Is there a formula that returns a count of the occurrences of a specific text within a range of cells? Specifically, I am looking to count the occurrences of commas (".") and, separately, the occurences of the single capital letter "X" within the range of cells D3:BC3. There might be more than one comma in any particular cell.
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.

PaperBoyz

New Member
Joined
Mar 10, 2004
Messages
8
Worked perfectly, and so simple and elegant I wish I'd thought of it myself (should have). Thanks!
 

gary_parker

New Member
Joined
Jul 24, 2005
Messages
48
Apologies, however, I believe the premise of the questions are near identical.

But, I'll start a new topic.

Cheers
 

Watch MrExcel Video

Forum statistics

Threads
1,129,685
Messages
5,637,809
Members
416,983
Latest member
LessThanAverageUser

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
Top