1

I want to make a function with the following criteria:

  • if A2 is equal to A1 -> Text 1
  • if A2 is empty -> Text 2
  • if A2 is not empty and not equal to A1 -> Text 3

Something like connecting these two functions into one:

=if(A2=A1,"Text1","Text3")
=if(isblank(A2),"Text2")

Thanks for help in advance!

1 Answer 1

1

All you need to do is combine your two formulas:

=if(isblank(A2),"Text2",if(A2=A1,"Text1","Text3"))

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.