I don't think there is a canned function for that. If you want to embed the
formula in your worksheet, you can do the following:
in cell C6, put a string "abcdefghiabcdefghi"
in another cell, put in the formula below. You will see it give you
different results depending on if you have one "c", two "c" or no "c" in the
string.
=IF(ISNUMBER(FIND("c",C6,1+IF(ISNUMBER(FIND("c",C6)),FIND("c",C6),"no1"))),F
IND("c",C6,1+IF(ISNUMBER(FIND("c",C6)),FIND("c",C6),"no2")),0)
D Zook