Format Numbers in Millions but without decimal for above Millions and two decimal for below Millions

Rsdg

New Member
Joined
Jul 7, 2022
Messages
15
Office Version
  1. 2016
Platform
  1. Windows
hello , i have some numbers in my table that i want to show them in millions, but also i have numbers that below the million like thousand, i want the thousand one show with two decimal like 0.25 for 252.300 and for the millions without decimal like 20 for 20.555.0000
Thanks
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
and for the millions without decimal like 20 for 20.555.0000
Was that last number supposed to be 20.555.000?
If so, as millions with no decimal places wouldn't it be 21?

If so, try the custom format
[<1000000]0.00,,;0,,

1659867515594.png


1659867537312.png
 
Upvote 0
Solution
You're welcome. Thanks for the follow-up. :)
 
Upvote 0

Forum statistics

Threads
1,224,824
Messages
6,181,187
Members
453,020
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