You don't need custom formatting for that. This is just an option for the worksheet. Go to Excel options > advanced. There you can find "Display options for this worksheet". Uncheck "show a zero in cells that have zero value". You can do this for every sheet in your workbook.
Bookmarks