+ Reply to Thread
Results 1 to 4 of 4

Make a cell have no value what-so-ever

  1. #1
    Registered User
    Join Date
    05-03-2014
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    2

    Make a cell have no value what-so-ever

    I want to make cells have no value, so that a formula only applies to them when the cell has been typed into (0,1 ect)
    The formula in question displays a zero value if cell x is greater than y, a 3 if y is greater than x, and a 1 if they are equal. Like this:
    =IF(A1>B2,3,IF(A1=B2,1,0))

    Currently, A1 and B2 are both blank, so I would like cell in question to also be blank. However, because A1 and B2 are equel, the cell is displaying a "1".
    If A1 and B1 are both "0", then I would like a "1" displayed. However, I only want the cells to become active when a value is typed in (including typing the value 0)

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,576

    Re: Make a cell have no value what-so-ever

    Try

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    05-03-2014
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Make a cell have no value what-so-ever

    Perfect! Thankyou!!!

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    79,416

    Re: Make a cell have no value what-so-ever

    Currently, A1 and B2 are both blank, so I would like cell in question to also be blank.
    Surely this should be:

    =IF(AND(A1="", B1=""), "", IF(A1>B2,3,IF(A1=B2,1,0))) ???
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] if workbook inactive for 30sec make last empty cell in column b the active cell
    By sspreyer in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-30-2013, 09:01 PM
  2. Replies: 0
    Last Post: 03-08-2013, 06:34 AM
  3. Replies: 7
    Last Post: 12-27-2012, 10:53 PM
  4. Replies: 1
    Last Post: 08-28-2012, 02:36 AM
  5. Replies: 2
    Last Post: 10-21-2010, 04:41 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1