Formatting Dollar Amounts

G

Guest

Guest
What's the best way to remove the non-numeric characters ($ , .) from a dollar amount, whil preserving the actual dollar amount.
To be specific, I have a field which has dollar amounts of varying lengths (up to 12 characters), which need to be formatted so that just the numbers remain.
The problem I've been running into, is the standard format commands either round the amount up and/or drop the last digit when it is a zero.
For example, I need $156.80 to appear as 15680, and not 157 or 1568.

Thanks.
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
This can't be done with formatting. Formatting doesn't alter the internal representation of values. If A1 contains 156.8 formatted as $156.80 you could get your desired value using =A1*100
This message was edited by Mark W. on 2002-03-08 10:01
 
Upvote 0
If all you have is dolalrs and cents, then
you could try

=TEXT(A1*100,"#00")

to get what you want.
 
Upvote 0

Forum statistics

Threads
1,214,833
Messages
6,121,867
Members
449,053
Latest member
Mesh

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