SOLVED

# Leave the Cell Blank When Either Cell is Empty

Copper Contributor

# 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.

3 Replies
best response confirmed by renjie0315 (Copper Contributor)
Solution

# Re: Leave the Cell Blank When Either Cell is Empty

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

You can try this formula.

# Re: Leave the Cell Blank When Either Cell is Empty

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".

# Re: Leave the Cell Blank When Either Cell is Empty

I have successfully found the answer:

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

Accepted Solutions
best response confirmed by renjie0315 (Copper Contributor)
Solution

# Re: Leave the Cell Blank When Either Cell is Empty

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

You can try this formula.