Hi ...
Came across a peculiar event today.
Sitting here on a Saturday night doing absolutely worthless and useless work in Excel, one has to be a nerd.
I need to count the number of certain letters in a row. So I have this formula, see attached spreadsheet, to do so.
The formula will set a "h" in the cells B5 and C5, ready to be counted.
The formula in the row below counts them.
The formula in the adjacent cell puts a "hh"' in cell D4.
The formula in E5 counts only cells with one "h" in each. The answer should be three.
How can I count how many "h"'s there are i a row, even in cells containing a string with a varying number of "h"'s in it?
Bookmarks