count no. of commas (,) in a string in a cell
Try this formula...
=LEN(A1)-LEN(SUBSTITUTE(A1,",",""))
--
Rick (MVP - Excel)
"hsg" wrote in message
...
How can we count number of commas (,) appearing several times in a text
string in one cell. Is there any function which can be pasted in cell (B1)
to count no. of commas in cell (A1).
pl help
hsg
|