+ Reply to Thread
Results 1 to 16 of 16

formula to show blanks instead of zeros

  1. #1
    Forum Contributor
    Join Date
    10-24-2012
    Location
    San Diego, USA
    MS-Off Ver
    Excel 2019
    Posts
    870

    formula to show blanks instead of zeros

    I have this formula
    =(MAX(0,INT(Table7107[@[X]]))
    but I want to show blank if its a zero, I try to set the formula to use IF, but not sure how to put it from the tutorial

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: formula to show blanks instead of zeros

    You could custom-format the cell to suppress display of zero: General;-General;
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Contributor
    Join Date
    10-24-2012
    Location
    San Diego, USA
    MS-Off Ver
    Excel 2019
    Posts
    870

    Re: formula to show blanks instead of zeros

    how do I do that? sorry just really a newbie to excel and watched a few tutorials

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: formula to show blanks instead of zeros

    Select the cell, Home tab, Format > Format Cells, Number tab, select Custom, in the Type: box, paste General;-General; press OK

  5. #5
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: formula to show blanks instead of zeros

    To hide zeros
    Alternatively you can format cell(s) as Custom, 0;;
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  6. #6
    Valued Forum Contributor
    Join Date
    06-21-2013
    Location
    Bangladesh
    MS-Off Ver
    Excel 2000, Excel XP, Excel 2002, Excel 2007, Excel 2010, Excel 2013
    Posts
    975

    Re: formula to show blanks instead of zeros

    Or use this formula :
    Please Login or Register  to view this content.

  7. #7
    Forum Contributor
    Join Date
    10-24-2012
    Location
    San Diego, USA
    MS-Off Ver
    Excel 2019
    Posts
    870

    Re: formula to show blanks instead of zeros

    I am sure I am doing something wrong, neither way worked.
    this is what I do:
    I select the entire column, then Select the cell, Home tab, Format > Format Cells, Number tab, select Custom, in the Type: box, paste General;-General; press OK
    but still show the 0
    What I want to do its to eliminate all the rows that contains 0 in a the columns. (but I saw the tutorial on how to eliminate blanks) so I have to convert it to blank cells. (but I could cut the step and just eliminate rows that have 0

  8. #8
    Forum Contributor
    Join Date
    10-24-2012
    Location
    San Diego, USA
    MS-Off Ver
    Excel 2019
    Posts
    870

    Re: formula to show blanks instead of zeros

    sanram that worked!

  9. #9
    Valued Forum Contributor
    Join Date
    06-21-2013
    Location
    Bangladesh
    MS-Off Ver
    Excel 2000, Excel XP, Excel 2002, Excel 2007, Excel 2010, Excel 2013
    Posts
    975

    Re: formula to show blanks instead of zeros

    Quote Originally Posted by chubbychub View Post
    I am sure I am doing something wrong, neither way worked.
    Do you have any other conditional formatting on that column? If so then change the number format on those conditional formatting.

    And thanks for the rep.

  10. #10
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: formula to show blanks instead of zeros

    Quote Originally Posted by chubbychub View Post
    =(MAX(0,INT(Table7107[@[X]]))
    What version of Excel are you using?

    Your profile says Excel 2003 but I don't think that table syntax was available in Excel 2003 (I don't have Excel 2003 to test it).
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  11. #11
    Valued Forum Contributor
    Join Date
    06-21-2013
    Location
    Bangladesh
    MS-Off Ver
    Excel 2000, Excel XP, Excel 2002, Excel 2007, Excel 2010, Excel 2013
    Posts
    975

    Re: formula to show blanks instead of zeros

    As far as I know Excel 2003 don't have any Table.

  12. #12
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: formula to show blanks instead of zeros

    Yeah, they have tables but they're not like the tables in newer versions.

  13. #13
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: formula to show blanks instead of zeros

    If you're using Excel 2007 or later, try this...

    =IFERROR(1/(1/MAX(0,INT(Table7107[@[X]]))),"")

  14. #14
    Forum Contributor
    Join Date
    10-24-2012
    Location
    San Diego, USA
    MS-Off Ver
    Excel 2019
    Posts
    870

    Re: formula to show blanks instead of zeros

    ok, I just changed my profile, I updated 2 days ago and got version of excel 2013.
    Tony Valko, that works too.

  15. #15
    Forum Contributor
    Join Date
    10-24-2012
    Location
    San Diego, USA
    MS-Off Ver
    Excel 2019
    Posts
    870

    Re: formula to show blanks instead of zeros

    I am trying to follow this tutorial, but it don't do nothing on my column, not sure what I am doing wrong
    https://exceljet.net/tips/how-to-qui...pty-values-win

  16. #16
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: formula to show blanks instead of zeros

    Good deal. Thanks for the feedback!

+ 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] Hide/Show Zeros when using a formula
    By becky04 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-11-2016, 05:52 PM
  2. [SOLVED] IF(OR Formula Displays Zeros instead of Blanks
    By GeoffH1 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-24-2016, 07:37 PM
  3. [SOLVED] =MID formula doesn't show leading zeros
    By k1989l in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-29-2015, 04:53 PM
  4. Formula needs to show both blanks and zeroes.
    By austin2 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 03-04-2015, 10:10 AM
  5. Replies: 8
    Last Post: 12-31-2014, 11:48 AM
  6. Replies: 7
    Last Post: 05-28-2014, 01:20 AM
  7. [SOLVED] leading zeros are not showing in the formula bar but do show in ce
    By Debbie in forum Excel General
    Replies: 2
    Last Post: 10-02-2005, 11:05 AM

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