How to use Function IF

J

John

I have two columns for which I would like to compare data.
That is for example cell A5 equals cell B5 then C5 returns
a value of TRUE or YES.
Any assistance is appreciated.

John
 
J

John

Thanks, this works well but now as the learning curve is
increasing. How can I write the formula so that if both or
one of the cells are empty I don't get a TRUE or FALSE
result?

John
 
B

Biff

Hi!

Try this:

If either cell is blank the formula cell will also be
blank:

=IF(OR(A5="",B5=""),"",IF(A5=B5,"TRUE","FALSE"))

Biff
 

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