Search function

Hylke

New Member
Joined
Oct 14, 2005
Messages
17
Anyone have a clue if excel contains a count function that can count the amount of letters in one specific cell?

e.g.:
cell1: ababdbebaba
function: = countif(cell1;"a") = 4

(something like this but this doesnt work.....)
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
If you're looking to count the "a"'s in a range:-
Book2
ABCD
1ababdbebaba40
2ababdbebaba
3ababdbebaba
4ababdbebaba
5ababdbebaba
6ababdbebaba
7ababdbebaba
8ababdbebaba
9ababdbebaba
10ababdbebaba
Sheet2


=SUMPRODUCT(LEN($A$1:$A$10)-LEN(SUBSTITUTE($A$1:$A$10,"a","")))
 
Upvote 0
Is this function only possible per cell?
When I take this range of cells I get the #value# mark.

LEN(E65:E78)-LEN(SUBSTITUTE(E65:E78;"a";""))

The LEN function you made is amazing had no idea. but if I can get this range issue fixed I'm set and done!
 
Upvote 0
Is this function only possible per cell?
When I take this range of cells I get the #value# mark.

LEN(E65:E78)-LEN(SUBSTITUTE(E65:E78;"a";""))

The LEN function you made is amazing had no idea. but if I can get this range issue fixed I'm set and done!

Did you see my post above...?
 
Upvote 0

Forum statistics

Threads
1,223,229
Messages
6,170,880
Members
452,363
Latest member
merico17

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