1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Making the contents of a cell blank in excel without macros

Discussion in 'Software Development' started by gglml, Apr 16, 2010.

Thread Status:
Not open for further replies.
  1. gglml

    gglml Thread Starter

    Apr 16, 2010
    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.
  2. Ent

    Ent Trusted Advisor

    Apr 11, 2009
    First Name:
    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.
  3. shannon08


    Jul 30, 2008
    Without the help of macros its not possible to do.
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 733,556 other people just like you!

Similar Threads - Making contents cell
  1. MarcoPotatoe
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/917278

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice