+ Reply to Thread
Results 1 to 12 of 12

Replacing 0 with blank

  1. #1
    Registered User
    Join Date
    04-15-2016
    Location
    Oslo
    MS-Off Ver
    Excel 2013
    Posts
    70

    Replacing 0 with blank

    How do I remove 0 from a cell and instead just have the cell blank?

    The formula in cell F21 is =(E21/B$5)*100

    In E21 there is no data, just blank. But in F21 it shows a 0.

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Replacing 0 with blank

    =if(E21,E21/B$5*100,"")

    or

    =if(E21;E21/B$5*100;"")
    Dave

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

    Re: Replacing 0 with blank

    One way...

    =IF(COUNT(B5;E21)<2;"";(E21/B$5)*100)
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Registered User
    Join Date
    04-15-2016
    Location
    Oslo
    MS-Off Ver
    Excel 2013
    Posts
    70

    Re: Replacing 0 with blank

    I could not get any of them to work. Says it something wrong with the formula

  5. #5
    Registered User
    Join Date
    04-15-2016
    Location
    Oslo
    MS-Off Ver
    Excel 2013
    Posts
    70

    Re: Replacing 0 with blank

    That one does not get regonized as a formula in my excel

  6. #6
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Replacing 0 with blank

    Which argument separators "," or ";"?

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

    Re: Replacing 0 with blank

    Quote Originally Posted by stockman View Post
    That one does not get regonized as a formula in my excel
    Well, I saw in another thread of yours where there was a problem using commas instead of semi-colons so I figured I would just use semi-colons.

    One or the other should work:

    =IF(COUNT(B5;E21)<2;"";(E21/B$5)*100)

    =IF(COUNT(B5,E21)<2,"",(E21/B$5)*100)

  8. #8
    Registered User
    Join Date
    04-15-2016
    Location
    Oslo
    MS-Off Ver
    Excel 2013
    Posts
    70

    Re: Replacing 0 with blank

    Yea know it suddenly worked The first one in your last post

  9. #9
    Registered User
    Join Date
    04-15-2016
    Location
    Oslo
    MS-Off Ver
    Excel 2013
    Posts
    70

    Re: Replacing 0 with blank

    what if I want to change from 0 to blank in a cell with this formula?: =MIN(E21:E30)

  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: Replacing 0 with blank

    One way...

    =IF(MIN(E21:E30);MIN(E21:E30);"")

  11. #11
    Registered User
    Join Date
    04-15-2016
    Location
    Oslo
    MS-Off Ver
    Excel 2013
    Posts
    70

    Re: Replacing 0 with blank

    Thank you so much. My spreadsheets are starting to look good now!

  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: Replacing 0 with blank

    You're welcome. 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] Help with replacing #VALUE! With blank cell
    By Khaldon in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-23-2013, 03:53 AM
  2. Replacing a blank with a value
    By bmccarthy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-29-2010, 09:12 AM
  3. Replacing 0 with blank in formulas
    By greyscale in forum Excel General
    Replies: 3
    Last Post: 06-23-2010, 10:30 PM
  4. Replacing blank cells with mean value
    By Robert8 in forum Excel General
    Replies: 1
    Last Post: 03-21-2010, 09:14 AM
  5. Replacing #N/A with a blank cell
    By sandrav in forum Excel General
    Replies: 2
    Last Post: 06-24-2008, 11:30 AM
  6. Replacing blank cells
    By Chris Stammers in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-01-2005, 09:45 AM
  7. [SOLVED] Replacing Blank Cells
    By Kim in forum Excel General
    Replies: 3
    Last Post: 09-07-2005, 08:05 PM
  8. [SOLVED] Replacing blank cells with zeros
    By Ben in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-08-2005, 05:08 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