IF AND

B

bob

If J2 = "to"

AND

If L2 = any alpha value and N2 = a blank cell (empty), then Y2 = 1

OR

If L2 = a blank cell (empty) and N2 = any alpha value, then Y2 = 1

OR

If L2 = any alpha value and N2 = any alpha value, then Y2 = 0.5


Can anyone kindly provide a formula for this? Thanks.

Bob
 
S

Sheeloo

Try

=IF(J2="To",IF(AND(L2<>"",N2<>""),0.5,IF(OR(L2<>"",N2<>""),1,"L2 & N2 both
blank")),"J2 <> TO")
 

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