View Single Post
  #3   Report Post  
Domenic
 
Posts: n/a
Default


Domenic Wrote:
=SUMPRODUCT(--(ISNUMBER(SEARCH("-",MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1)))))

Hope this helps!


Or the much simpler...

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


--
Domenic
------------------------------------------------------------------------
Domenic's Profile: http://www.excelforum.com/member.php...o&userid=10785
View this thread: http://www.excelforum.com/showthread...hreadid=320408