+ Reply to Thread
Results 1 to 10 of 10

How to get cells to show up blank rather than 0

  1. #1
    Forum Contributor
    Join Date
    11-09-2014
    Location
    Lauder, Scotland
    MS-Off Ver
    Windows 8.1
    Posts
    160

    How to get cells to show up blank rather than 0

    Hi,

    I am in the middle of creating the attached spreadsheet to track pupil progress in my school.

    Most formulas are working well (I just need to get time to add the actual data in).

    However, I am stuck with how to tidy up my spreadsheet.

    Within the tab titled 'Screening Raw Data' you will see that the spreadsheet shows 0 in the columns titled 'difference', however no data has been input. How can I get it to display so that if there has been no data input into the test age years and months then the cell will just stay blank rather than display a difference of 0????

    Similarly, when a child has missed a test I have marked this with a *. How can I get the difference columns to display this * rather than ####?

    Any help would be hugely appreciated.

    Thank you in advance for your support.
    Attached Files Attached Files

  2. #2
    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: How to get cells to show up blank rather than 0

    Go to Excel Options, Advanced, scroll down to 'Display Options for this worksheet' and uncheck 'Show zeros in cells that have 0 values'
    Last edited by AlKey; 11-12-2014 at 08:16 PM.
    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

  3. #3
    Forum Contributor Cerbera's Avatar
    Join Date
    07-06-2010
    Location
    Rotorua, New Zealand
    MS-Off Ver
    Excel 2007, 2013, 2016 & 365
    Posts
    137

    Re: How to get cells to show up blank rather than 0

    Hi Kev,

    First step for hiding the "0" is to click on the office button in the top left hand corner of excel. Select "Excel Options" > then select "Advanced"

    Just over half way down the options under the header "Dispaly option for this worksheet" you should see an option: Show a zero in cells that have zero value. Deselect that option.

    If I've helped please click on *Add Reputation

  4. #4
    Forum Contributor
    Join Date
    11-09-2014
    Location
    Lauder, Scotland
    MS-Off Ver
    Windows 8.1
    Posts
    160

    Re: How to get cells to show up blank rather than 0

    thank you- this worked a treat. And what for those cells that I have a * in- how can they display a * rather than ####

  5. #5
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: How to get cells to show up blank rather than 0

    its not #### it's #VALUE! just displaying # because the column is too narrow
    put iferror around the formula
    =IFERROR(IF(M51>0,((M51*12)+N51) - ((DATEDIF(F51,L51,"Y")*12) + DATEDIF(F51,L51,"YM")),0),"*")
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  6. #6
    Forum Contributor
    Join Date
    11-09-2014
    Location
    Lauder, Scotland
    MS-Off Ver
    Windows 8.1
    Posts
    160

    Re: How to get cells to show up blank rather than 0

    Hi,

    Thank you very much for your support everyone. I am almost there with this. However I have spotted a problem...

    On the sheet titled 'screening raw data' I added the extra parts to the formula so that it showed a * in the difference column rather than #Value. This worked, but I have conditional highlighting on that should show anything less than -12 as red, between -12 and 12 orange and above 12 green.

    Now that I have made changes any cell that contains a * is now turning green? How can I avoid this?

    I tried going into conditional highlighting and saying if text contains * the turn cell white but then everything turns white?!
    Attached Files Attached Files

  7. #7
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: How to get cells to show up blank rather than 0

    Use
    =and( cell ref<> "",cell ref>12)

  8. #8
    Forum Contributor
    Join Date
    11-09-2014
    Location
    Lauder, Scotland
    MS-Off Ver
    Windows 8.1
    Posts
    160

    Re: How to get cells to show up blank rather than 0

    thanks for the reply martindwilson. Please can you show me what the full formula would look like (similar to what you did earlier on). My understanding of excel formula is very basic

  9. #9
    Forum Contributor
    Join Date
    11-09-2014
    Location
    Lauder, Scotland
    MS-Off Ver
    Windows 8.1
    Posts
    160

    Re: How to get cells to show up blank rather than 0

    Hi, you provided me with some great advice yesterday for how to stop my cells changing colour if containing a *. However, my understanding of excel is very basic. Please can you show me what the full formula would look like for one of my cells so that I can then apply to the others.
    Sorry to pester you.
    Kevwilsondj

  10. #10
    Registered User
    Join Date
    10-08-2013
    Location
    Pnw, Washington
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: How to get cells to show up blank rather than 0

    In regards to keeping the cells with * white, I would create another conditional formatting rule:
    Cell Value = "*" then under "format" -> "fill tab" -> select either the "no color" or "white" option then under "Applies to" select the range where you want this applied.

    In regards to showing cells blank:
    I would have selected the cells (or the entire worksheet) -> right-click and select format cells -> Custom -> Type: 0;-0;;@

    Tried both, and both work.

+ 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] Looking to multiply two cells but show nothing if they are blank
    By VinceG in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-22-2014, 12:14 PM
  2. show blank or nothing in cells that have a zero value VBA code
    By Bpd in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-05-2013, 10:52 AM
  3. show value only if not all cells are blank
    By Withershin in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-12-2012, 11:03 PM
  4. [SOLVED] Cells with formula to show blank
    By Oeysbrei in forum Excel General
    Replies: 3
    Last Post: 07-11-2012, 03:55 AM
  5. show $ in blank cells
    By Nancy in forum Excel General
    Replies: 3
    Last Post: 08-15-2006, 09:50 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