+ Reply to Thread
Results 1 to 4 of 4

Cell Value to be blank

  1. #1
    Forum Contributor
    Join Date
    11-19-2014
    Location
    United States
    MS-Off Ver
    2010
    Posts
    137

    Cell Value to be blank

    In cells A2 & B2 I have =iferror((forumual),"0"). The issue I'm having here is that I want the cells to show nothing but cant have my iferrorr return a value of "". This is because in cell C3 I have =sum(A2+B2) and this wont work unless the cells have a value of 0. I've tried to custom format the cell with 0;;;@ but I'm still seeing a value of 0 in my cells. Is there another method I can use for cells A2 & B2 to show as blank?

  2. #2
    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
    80,967

    Re: Cell Value to be blank

    Custom formatting: create a rule that turns the text white if it says 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.

  3. #3
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: Cell Value to be blank

    This is a case where you may need to carefully define what you mean by "blank".

    To my knowledge, there is no way for a formula to return the equivalent of a blank cell.
    I am a little surprised that your number format 0;;;@ failed. Your sample formula =iferror((forumual),"0") has quotation marks around the 0, making it a text string. Where your number format tells Excel to not display 0 numbers, it allows Excel to display numbers stored as text, which is what your formula would return. Perhaps all you need to do is drop the quotation marks so you return the number 0 and not the text string "0".
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  4. #4
    Forum Contributor
    Join Date
    11-19-2014
    Location
    United States
    MS-Off Ver
    2010
    Posts
    137

    Re: Cell Value to be blank

    Quote Originally Posted by MrShorty View Post
    This is a case where you may need to carefully define what you mean by "blank".

    To my knowledge, there is no way for a formula to return the equivalent of a blank cell.
    I am a little surprised that your number format 0;;;@ failed. Your sample formula =iferror((forumual),"0") has quotation marks around the 0, making it a text string. Where your number format tells Excel to not display 0 numbers, it allows Excel to display numbers stored as text, which is what your formula would return. Perhaps all you need to do is drop the quotation marks so you return the number 0 and not the text string "0".
    I always figured that you needed "" for iferror to get the desired value. I didnt know that "" changes the format of the value. Thank you the insight and helping me out with this.

+ 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 Cell is blank, calculate, if cell isn't blank, leave blank
    By amthyst826 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-04-2015, 03:54 PM
  2. Calculate differnce between 2 dates, but if 1 date cell is blank leave cell blank
    By Vicious00013 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-11-2014, 11:31 PM
  3. [SOLVED] Concatenate If Blank - remove blank line if first cell is blank
    By ker9 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-27-2014, 02:14 PM
  4. Replies: 3
    Last Post: 01-23-2014, 12:19 PM
  5. [SOLVED] Cell referenced in formula has no information displayed (shows blank), return blank cell
    By nunayobinezz in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-07-2013, 04:51 PM
  6. If cell blank OR another cell blank then show blank, if not display value
    By stevop622 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-09-2013, 04:07 AM
  7. [SOLVED] 1 or blank cell pulls exact text or leaves cell blank
    By sharpmel in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 11-30-2012, 12:20 PM

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