TransWikia.com

If and excel formula for matching

Stack Overflow Asked by howaboutno on November 23, 2020

Hi I am not sure how to write an excel formula to fulfill the below criteria

1. If Cell A1, B1 and C1 are the same | Show "Yes"
2. If Cell A1, B1 are the same but C1 is blank (vice-versa) | Show "Yes"
3. If Cell A1, B1 are the same but C1 is different (Vice-versa) | Show "Need to Update"
4. If Cell A1, B1 and C1 are all blank | Show ""

One Answer

Use this formula:

=IF(AND(A1="",B1="",C1=""),"",IF(AND(A1=B1,B1=C1),"Yes",IF(AND(A1=B1,C1=""),"Yes",IF(AND(A1=B1,B1<>C1),"Need to update","None of the above"))))

Answered by z32a7ul on November 23, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP