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?
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?
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
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 ("").
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!"
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"
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks