+ Reply to Thread
Results 1 to 7 of 7

Remove "0" when referencing a cell that is empty

Hybrid View

  1. #1
    Registered User
    Join Date
    11-12-2012
    Location
    Niagara Falls
    MS-Off Ver
    Excel 2003
    Posts
    6

    Remove "0" when referencing a cell that is empty

    I'm creating a set of program plans for a sport and rec program that runs in multiple sites across the city on different nights.

    To make this easier, I created a master planning sheet, and then created blank plans on for each program site on separate worksheets, and referenced them back to the first master planning sheet, and used the autofill feature to speed up the process, filling in each cell

    Now, I've got 0's in all the places that do not have anything written in them. Is there a way to format the cells so that the 0 does not show up when the cell is empty?

    I attached pictures of the worksheets to make it easier to understand.
    Attached Images Attached Images

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Remove "0" when referencing a cell that is empty

    If you're working with an formula you can do:

    If(yourformula=0,"",yourformula)
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,809

    Re: Remove "0" when referencing a cell that is empty

    Or, if your formula is a simple =Sheet2!A1, use: =IF(Sheet2!A1="","",Sheet2!A1)


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Remove "0" when referencing a cell that is empty

    if you just want to hide the "0" with our converting it to null

    there is an option in excel 2003

    Under Tools -> Option -> View tab ---untick the "zero values"...
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,809

    Re: Remove "0" when referencing a cell that is empty

    @vlady: wouldn't that also hide genuine zeros from the second sheet and on the primary sheet?

    Regards, TMS

  6. #6
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Remove "0" when referencing a cell that is empty

    yup all zero values on all (second sheet and on the primary sheets).

  7. #7
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: Remove "0" when referencing a cell that is empty

    Hi andrewharwood

    Another way is to format the cells: Custom > If they are general, add 2 semi-colons after general "general;;" or "0.00;;" or what ever formatting you require.
    Regards Kevin


    Merged Cells (They are the work of the devil!!!)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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