OR function into a IF function

  • Thread starter Thread starter Guest
  • Start date Start date
Yes for example the function below will put the word "TRUE" into the cell
where you put this function if the cell A1 has "Y" or "YES" in it.

=IF(OR(A1="Y",A1="YES"),"TRUE","FALSE")
 
Yes, an example perhaps?

Put in C1: =IF(OR(A1=1,B1=2),"Yes","No")

If either A1 contains a "1" or B1 contains a "2"
(or if both conditions are true)
then C1 will return "Yes", otherwise C1 returns "No"
 

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

Back
Top