Making the contents of a cell blank in excel without macros

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

gglml

Thread Starter
Joined
Apr 16, 2010
Messages
1
Hi all,

Cell A1 has value One
Cell B1 has value Two
Cell C1 has value Three

My requirement is to compare the contents of Cell A with Cell B and blank out contents of Cell C if contents of A <> contents of B.

I have written the formula like this:
=If(A1=B1,"",C1="") This assigns a value of True or False to cell C1 based on the values of A1 and B1.

I have also used
=If(A1=B1,"",C1=" ") The same result.

I need to blank out the contents of cell C1 completely without using any macros.
 

Ent

Josiah
Retired Trusted Advisor
Joined
Apr 11, 2009
Messages
5,467
If you want C1 EMPTY then this is an impossible task. It needs macros.

If you merely want it to look empty then it's as simple as putting =If(A1=B1, X ,"") where X is the contents you want in C1 when the two are equal.
Or you could leave the original contents in the cell, and add conditional formatting to C1 whiting out the cell if the two are equal.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Members online

Top