Multiple FIND functions in Conditional Formatting

R

RocketFuMaster

The following formulas work when used in Conditional Formatting:

=AND(FIND(B1,"h"),LEN(G1)=2)
=AND(FIND(B1,"w"),LEN(G1)=3)
=OR(AND(EXACT(B1,"h"),LEN(G1)=3),AND(EXACT(B1,"w"),LEN(G1)=2))

but this one does not

=OR(AND(FIND(B1,"h"),LEN(G1)=3),AND(FIND(B1,"w"),LEN(G1)=2))

The only difference is the use of FIND instead of EXACT.

RFM
 
I

IlanR

Try reversing the parameters in the Find function, i.e.
=AND(FIND("h",B1),LEN(G1)=2) and make sure B1 is Text.
Ilan
 
R

RocketFuMaster

Didn't help. I changes the format of the cells to Text from General and that
didn't help either.
 

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