+ Reply to Thread
Results 1 to 4 of 4

want blank cell when formula returns value "0"

  1. #1
    Forum Contributor
    Join Date
    06-02-2016
    Location
    INDIA
    MS-Off Ver
    2007
    Posts
    327

    want blank cell when formula returns value "0"

    . A B C
    1 1 2 2
    2

    case 1 :

    SUM(B1-A1) = RESULT IS 1

    case 2 :

    SUM(B1-C1) = RESULT IS 0

    in case 2, I want the blank cell to be returned when the formula result is "0"

    thank you.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,414

    Re: want blank cell when formula returns value "0"

    You could amend your formula to this:

    =IF(SUM(B1-C1)=0,"",SUM(B1-C1))

    or you could keep the same formula and apply a Custom Format to the cell of:

    General;-General;;

    and this will cause zero values to be displayed as blanks.

    Hope this helps.

    Pete

  3. #3
    Forum Contributor
    Join Date
    06-02-2016
    Location
    INDIA
    MS-Off Ver
    2007
    Posts
    327

    Re: want blank cell when formula returns value "0"

    Thanks, that working ..

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,414

    Re: want blank cell when formula returns value "0"

    If that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post and mark this thread as SOLVED.

    Also, you might like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

+ 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] Nested HLOOKUP returns "FALSE" in cell where result should be "0.00"
    By gammccubbin in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-09-2016, 09:49 AM
  2. Formula returns "00:00" when I want it to return zero/blank
    By johnmitch38 in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 03-24-2015, 12:45 PM
  3. [SOLVED] Date value returning jan 2000
    By JP4 in forum Excel General
    Replies: 3
    Last Post: 03-23-2015, 12:46 PM
  4. [SOLVED] formula returns "false" on blank data
    By davemon in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-18-2015, 03:07 PM
  5. solution for the blank cell using the IF function
    By ragnaedge in forum Excel General
    Replies: 4
    Last Post: 08-23-2013, 11:03 AM
  6. Formula returns blanks in some instances instead of the word "blank"
    By tommydollar in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-25-2012, 10:58 AM
  7. Hide entire row where formula returns "" or blank value
    By zcheema in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-24-2012, 05:26 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