Forum Discussion

renjie0315's avatar
renjie0315
Copper Contributor
Feb 17, 2023
Solved

Leave the Cell Blank When Either Cell is Empty

Hi All,

 

I would like to know how to leave the cell D4 empty (Don't want to show "Don't match") when either cell B4 or C4 is not filled? Same goes the row 5 as well.

 

 

    • renjie0315's avatar
      renjie0315
      Copper Contributor

      Hi OliverScheurich,

       

      Is there any method to achieve this combination? When both values are the same, display "Match". When 1 value is not inserted, don't display. When values are not matched, display "Don't Match".

       

       

      • renjie0315's avatar
        renjie0315
        Copper Contributor
        I have successfully found the answer:

        =IF(OR(B3="",C3=""),"",IF(EXACT(B3,C3),"Match","Don't match"))

Resources