Change a decimal place to a comma

Roo2021

New Member
Joined
Feb 10, 2021
Messages
8
Office Version
  1. 2010
Platform
  1. Windows
1678377626578.png


Hi, wondered if anybody can help?
I receive data as displayed in column A.
I have then converted that data using the TRUNC function (Eg. =TRUNC(A2,3) to display/convert to 3 decimal places after the decimal point (with no rounding up or down, Eg, 14.56 to 14.560, etc) in column B.
The details in column C are taken from the details in column B (=A2, etc).
Then, what I need to do is replace the decimal point with a comma (as displayed in column D (Eg, 14.560 to 14,560, 1503.120 to 1503,120, etc). I have tried the substitute function but it isn't consistent across all the figures (Eg, 14.560 becomes 14,56).
The details displayed in Column D are passed to our customer.

Apologises, I can not upload a mini sheet , as my work settings wont allow me to.
Any help would be greatly appreciated.
Thanks
 

Attachments

  • 1678377574114.png
    1678377574114.png
    31.5 KB · Views: 18

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Excel Formula:
=TEXT(C2/1000,"#,###0,000")

This should work. I can't test it because my regional settings already adjusted to ",".
 
Last edited by a moderator:
Upvote 0
Or number value function if you already have double numbers:
Excel Formula:
=NUMBERVALUE(C2,",")
 
Upvote 0
Maybe
Excel Formula:
=SUBSTITUTE(TEXT(C2,"0.000"),".",",")
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

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