View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson Dave Peterson is offline
external usenet poster
 
Posts: 35,218
Default Count numbers in the same cell

I'd use:

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

The (A1<"") will only add 1 if a1 is not empty.

backmara wrote:

I need to know how many numbers are in the same cell.
Example:
A1 inculdes 12,23,34,45
How I calculating this numbers(Answer:4)?


--

Dave Peterson