Align $ sign next to numbers

G

Guest

How do you format a cell which contains currency so that the dollar sign is
placed next to the dollar amount rather than left aligned? Example: $5.00
where the dollar sign stays next to the 5, even if the column width is
increased. Thanks!
 
J

JulieD

Hi Christina

the $ on the formatting toolbar incorrectly tells you that it is "currency"
format, whereas if you choose it and go into format / cells / numbers tab
you will see that it is accounting format - and what you're really after is
currency format ... so choose it from here - ensure that a 'symbol' is
selected as this doesn't seem to be the default and you'll have your $ next
to your numbers.
 
D

David McRitchie

The suggested format below will not include commas
$5555555.55 formatted with $0.00

The currency format under format, cells, currency
$5,555,555.55 formatted with $#,##0.00_);[Red]($#,##0.00)
$0.55 formatted with $#,##0.00_);[Red]($#,##0.00)

If you do not want a zero for dollars you can code as
$.55 formatted with $#,###.00_);[Red]($#,##0.00)
but you would need to use format, cells, custom

More information on custom formats in
http://www.mvps.org/dmcritchie/excel/formula.htm#numberformat
 
G

Guest

THANK YOU, THANK YOU to all who have responded! _c

David McRitchie said:
The suggested format below will not include commas
$5555555.55 formatted with $0.00

The currency format under format, cells, currency
$5,555,555.55 formatted with $#,##0.00_);[Red]($#,##0.00)
$0.55 formatted with $#,##0.00_);[Red]($#,##0.00)

If you do not want a zero for dollars you can code as
$.55 formatted with $#,###.00_);[Red]($#,##0.00)
but you would need to use format, cells, custom

More information on custom formats in
http://www.mvps.org/dmcritchie/excel/formula.htm#numberformat


N Harkawat said:
Use custom format
$0.00
 
D

David McRitchie

Hi Christina,
That's great news. I perhaps should have included the following
which is on my web page (I think) but would be above where I
referenced.

In using Custom formats it is probably best or at least easiest to get
started by choosing a format that comes closest to what you want
and then to use Custom formatting to check what you have for that
cell and to modify the custom format to what you really want.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top