View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Coderre Ron Coderre is offline
external usenet poster
 
Posts: 2,118
Default Count the number of Commas found in cell A2

Here's one way to count
the number of commas in a cell:

=LEN(A1)-LEN(SUBSTITUTE(A1,",",""))

Does that help?
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"B~O~B" wrote in message
...
Is there a way to count the number commas (,) in a cell?? I am doing
a text to column by Commas (,) then doing a Countif on the data to get
my number... Is there a was to count with doing the text to column????