I have used the formular =SUM(LEN(range)-LEN(SUBSTITUTE
(range,"#",""))). The formular does not work with the
character #.
Could any one help.
james
Alan Beban
james
>.
>
If it is # with other chars in the cell then try
=SUM(LEN(range)-LEN(SUBSTITUTE(range,"#","")))
which is an array formula, so enter with Ctrl-Shift-Enter
--
HTH
Bob Phillips
"james" <jj...@sleh.com> wrote in message
news:096801c36e5a$5805c130$a001...@phx.gbl...
The # is at the beginning of a string. I got zero in
return using countif(range,"#"). Do you have any other
solution.
Thanks again.
James
>.
>
I used your method but I got message of "#Value!".
James
>.
>
worked fine for me if I entered it with Ctrl+Shift+Enter rather than just
enter.
or
=SUMPRODUCT(LEN(H16:H19)-LEN(SUBSTITUTE(H16:H19,"#","")))
entered normally.
--
Regards,
Tom Ogilvy
"james" <jj...@sleh.com> wrote in message
news:033501c36e54$871626f0$a101...@phx.gbl...
Alan Beban
Alan Beban
thanks for your help. the formular =countif(range,"*#*")
works great. i do have two strings in one cell with each
with a # character.
thanks again.
james
>.
>
Alan Beban