Custom Format on cell to give - versus 0

dkdmre

New Member
Joined
May 22, 2003
Messages
29
I use an OLAP reporting tool that pulls numbers into a spreadsheet via an Excel add-in. I have a report where I want numbers that return as a zero to show as a dash - so I use this custom format that is standard in Excel
_(* #,##0_);_(* (#,##0);_(* "-"??_);_(@_)

However sometime the zero data from the add in stays as a zero even when I paste this formatting onto the cell. It looks wierd to see some zeros and some -. Excel must be interpreting this zero differently. How can I adjust the custom formatting to compensate for this.
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
If it shows a 0, then Excel is treating those as text, not as a real number. If you format those cells as general, do they appear left or right aligned ?
 
Upvote 0

Forum statistics

Threads
1,203,534
Messages
6,055,949
Members
444,839
Latest member
laurajames

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top