Alignment for numbers formatted "Accounting"

AntBlabby8

Board Regular
Joined
Apr 18, 2002
Messages
199
We like to use the Accounting Format because it shows zeros as dashes which is much cleaner. The problem, however, is when we want to CENTER the data and it will only align to the right of the cell, regardless of changing the Alignment to Center or anything else. Is there a format to get a dash for zero that will let us center, or is there a way to use the Accounting Format and still be able to CENTER it??? THANKS!
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
Hello Joan

If you select one of your cells formatted in Accounting and go Format>Cells>Number tab and then click on the Custom category, you will see how your format is built up. It will be something like the following:

_($* #,##0.00_);_($* (#,##0.00);_($* "-"??_);_(@_)

It is the "* " (asterisk followed by a space - ignore the quotes) in the number format that prevents you from centering. However, if you customise by removing the asterisk then I'm afraid your currency symbol won't remain left-aligned in the cell. If you can live without the currency symbol then something like:

0.00;-0.00;"-"

will suffice, and you can easily center this in the cell yourself.
 
Upvote 0
It worked! We actually use Accounting WITHOUT the $ sign, so this was the PERFECT solution! Mr. Excel experts do it again! Bravo, Bravo!
 
Upvote 0

Forum statistics

Threads
1,218,192
Messages
6,141,016
Members
450,331
Latest member
Scott JBrown

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