Link to home
Create AccountLog in
Avatar of Tom M
Tom M

asked on

if statement with or

What have i done wrong with the formula in cell f2?  B2 is greater than 0 so i should be getting Y in cell f2   Book1.xlsx

ASKER CERTIFIED SOLUTION
Avatar of Norie
Norie

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer

These are the kind of formulas that Norie was suggesting:


If you want to return "Y" when J2 contains an error value:

=IFERROR(IF(OR(B2>0,J2="Y"),"Y","Janet"),"Y")

Open in new window


If you want to return "Janet" when J2 contains an error value:

=IFERROR(IF(OR(B2>0,J2="Y"),"Y","Janet"),"Janet")

Open in new window