HOW TO CONVERT 2ND COMMA IN A DOLLAR AMOUNT TO A DECIMAL

JuicyMusic

Board Regular
Joined
Jun 13, 2020
Messages
210
Office Version
  1. 365
Platform
  1. Windows
How do I convert the second comma into a decimal point with a formula? There is a 2nd comma in my export due to something that can't be resolved, so has to be corrected manually.

Note: Export has 92 rows with good dollar values......19 rows of the 92 have this issue.

1. Can't do a find/replace because the file is filtered.
2. Can't do find/replace because there are amounts that need to keep the 1st comma......Such as $1,555.00.....my export comes across as $1,555,00.

Here is a sample of the export data:....sometimes the decimal is a : example for this is the first row below.
15:88
174,18
5,75
1,000,00
236,11
339,44
1,023,62
 
Last edited by a moderator:

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Oops, I have totally missed the colon remark :oops: -- thank you Peter for catching this.

Here is a remedy:
Excel Formula:
=IFERROR(--SUBSTITUTE(A1,":","."),SUBSTITUTE(A1,",","")/100)
This formula worked perfectly as well!!.
 
Upvote 0
PERFECT RESULT!!!! Thank you so so much! SOLVED
Oops, I have totally missed the colon remark :oops: -- thank you Peter for catching this.

Here is a remedy:
Excel Formula:
=IFERROR(--SUBSTITUTE(A1,":","."),SUBSTITUTE(A1,",","")/100)
Tetra201, I'm really adding an additional reply to your corrected post. Your corrected formula did work for me.....I had to add an additioanal IFERROR to have a blank space where the results were #VALUE. That works great for me but let me know what you think.

Here is how the formula looks like now.
Excel Formula:
=IFERROR(
IFERROR(--SUBSTITUTE(D41,":","."),SUBSTITUTE(D41,",","")/100),"")
 
Upvote 0
but what rule did I not follow?....Let me know so I don't do going forward
I noted which rule in my post (#14) & provided a link. It includes:
... must not SHOUT (use all upper case) or use excessive amounts of punctuation (e.g. ! and ?) in posts or thread titles.
 
Upvote 0

Forum statistics

Threads
1,215,089
Messages
6,123,058
Members
449,091
Latest member
ikke

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