Format number with thousands separator and all decimal

dk2

New Member
Joined
Feb 8, 2023
Messages
8
Office Version
  1. 365
Platform
  1. MacOS
1675873081992.png

I have serial number like this, and I want to show thousands separator and all decimal for all number (keep all number after dot) by format cell option.
Can you help me with this one.
Thank you so much
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Maybe try this custom format:
#,###.############
That will give all 12 after the dot. but not 13th.
 
Upvote 1
Maybe try this custom format:
#,###.############
That will give all 12 after the dot. but not 13th.
1675876329596.png

with that code, 0.xxx and integer number will have error

1675876437396.png

[=0]0;[<1]0.###############;#,###.###############
I upgrade the code, but integer number will have . in the end.
 
Upvote 0
mmm. Can you post a column of your numeric values in the 3rd column as text so have a practical example to work with?
 
Upvote 0
try this:
##,##0.0############
or this
##,##0.#############
 
Upvote 0
try this:
##,##0.0############
or this
##,##0.#############
It doesnt work well as my wish
My addon doesnt work well.
you can try with this random list:
0
0.0000004
1459.1235
I want this to be:
0
0.0000004
1,459.1235
thank you so much
 
Upvote 0
When I format with this rule:
1675878415211.png

My result is this:

1675878469545.png


What is your system decimal marker? a dot or comma?
 
Upvote 0
Before you try any new formats, make sure you clear all formatting, including conditional formating. (On the HOME Menu from Ribbon, Go to the "Editing" sections, Select the "Clear" option, Clear ALL Formats.)

did you try that format? (#,##0.############)?
 
Upvote 0

Forum statistics

Threads
1,224,828
Messages
6,181,210
Members
453,023
Latest member
alabaz

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