Converting $ to text, with decimal assumed

mattmickle

Board Regular
Joined
Nov 17, 2010
Messages
81
Hello all,
I'm looking for a formula to convert the following:

$1,234,567.89

to a text string that looks like the following:

123456789

It needs to en corporate the decimal, assuming the last 2 positions are cents.

I'm hoping this is fairly easy and I just haven't had enough coffee yet to figure it out.

Thanks in advance!
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
I dont know if that our dollar amount is a number or text but this should work either way:

=TEXT(SUBSTITUTE(A1,"$","")*10,"#")
 
Upvote 0
Final,
That's doing the same thing as Neil's. Chopping off the first digit. The original input is a dollar amount, if that makes a difference.
 
Upvote 0
Ah ok i see how yours is formatted now, try:

=TEXT(SUBSTITUTE(A4, ".", ""), "0")
 
Upvote 0

Forum statistics

Threads
1,221,310
Messages
6,159,173
Members
451,543
Latest member
cesymcox

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