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

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
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,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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