Number format excel 2003

Hi Experts

How would you show the 0.00 values as "-" and stil leave the positive numbers as 45.00 and the negative numbers as -69.50.

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

The Format should be Accounting with 2 decimal places.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
EirmanChief Operations ManagerCommented:
I'm not quite sure how, but this custom number format seems to work

_-* #,##0.00_-;-* #,##0.00_-;_-* "-"??_-;_-@_-
Try "Conditional Formatting" - here's an example showing what you want to do, with the - in place of 0.00

There are other sources explaining conditional formatting. But it looks like the easiest solution.


Just noticed the "accounting format" approach, if that works, it might even be easier. I use open office on a Linux computer and conditional formatting is supported, but I haven't found the "accounting" format. Maybe conditional formatting is more universal ?

Whatever works best.
Amazon Web Services

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

route217JuniorAuthor Commented:
Thanks for the feedback
If you want to get clever, with alternate row shaded (like line printer paper) or highlight values based on some criteria, look at these examples:
route217JuniorAuthor Commented:
Ok expers tried the lot and still not working.
route217JuniorAuthor Commented:
Gives the negative values as -           69.50 as opposed to -69.50

Try this: _- #,##0.00_-;- #,##0.00_-;_- "-"_-;_-_-
This may require an excel VB macro. I thought the conditional formatting was more useful. All it can do is change the shading, which might be useful for 0 but not what  you want.

Microsoft calls it "conditional formatting" but it is apparently just "conditional coloring" or some such nonsense. No control over the actual number formatting to do what you want to do. It did seem promising.

Sorry 'bout that.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.