If Statement + LEN

G

Guest

I currentl have a formula:

=IF(C26="","",LEN(C26)-LEN(SUBSTITUTE(C26,";",""))+1)

But I need to include IF(C26="-All Clubs",54) and am striking out. I need
to be able to put the number 54 into the formula field (C27) if C26 contains
"-All Clubs" and still have it count the ";" for all other input.

Any suggestions?

-- THANKS!
Krista
 
B

Bob Phillips

see previous post.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 
B

Biff

Try this:

=IF(C26="","",IF(C26="-All
Clubs",54,LEN(C26)-LEN(SUBSTITUTE(C26,";",""))+1))

Biff
 
B

Bob Phillips

Nice formula <g>

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top