Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

currency - cents format in excel 1

Status
Not open for further replies.

venkman

Programmer
Oct 9, 2001
467
US
Does someone have a good format string for cents. I'd like it to be of the form
14.5 c

where c is the cents symbol

So far I have it working for number like the one above, but it has trouble with printing out a trailing 0. For instance, instead of:
21.0 c
it shows:
21. c

Notice the decimal point with nothing following it. Is there a standard setting for this that I'm missing?

Thanks,
Venkman
 
Try using this... 0.0" c" [worm]
*Remember.......
If you don't use your head,
your going to have to use your feet.
 
To get the "cents" symbol, key Alt-0162 (or copy the following:)

#,##0.0 ¢
 
You can also use ALT+0162 in place of c under custom format
 
Thanks Zathras. Your answer was what I was looking for. And thank you all for responding so quickly.
-Venkman
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top