+ Reply to Thread
Results 1 to 5 of 5

how to replace 0 with blank column

Hybrid View

  1. #1
    Registered User
    Join Date
    04-11-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    46

    how to replace 0 with blank column

    hi all
    i have a column with numbers. may of them are zero. but for some reason i need the cells with zero as blank cells. can anyone help me with this?

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,656

    Re: how to replace 0 with blank column

    Assumming working on A1:A10
    =IF(A1:A10=0,"",A1:A10)
    To use it in formula, must confirm with Ctrl-Shift-Enter after finishing the typing
    Quang PT

  3. #3
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: how to replace 0 with blank column

    if you just want to hide the 0, you can do so using Conditional Formatting and use a colour of font for the text that melds into the cell's background. if the column of numbers is generated through some formulae, you can put conditions in the formulae to replace a '0' result with blank ("").

  4. #4
    Valued Forum Contributor
    Join Date
    03-16-2012
    Location
    Aarhus, Denmark
    MS-Off Ver
    Excel 2007
    Posts
    992

    Re: how to replace 0 with blank column

    You could also use a custom format on your cells. To set up a custom number format, highlight the cells, then right click and choose "Format Cells". Click the "Number" tab. In the Category listbox, select "Custom". In the Type box, enter the following custom format:

    0;0;

    Then cells containing the value 0 will show as blank.
    Sincerely
    S?ren Larsen

    "Give a man a fish, and you'll feed him for a day. Give a man a fishing rod, and he'll steal your yacht!"

  5. #5
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    365
    Posts
    2,243

    Re: how to replace 0 with blank column

    If you want to delete all zeros, use Find/Replace command.

    Select the date, press CTRL+H to activate Find and Replace commnad

    Find What: 0
    leave Replace with empty, then under options select Match entire cell contents
    Click Replace All
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

+ 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