Rounding Thousands/Millions/Billions

zjohnw

New Member
Joined
Jul 16, 2011
Messages
4
I'm trying to format large dollar values to $0.0K, $000.0M, and $000.0B formats without it rounding up in the ten thousands digit or ignoring the five numbers to the left of the decimal.

Numbers I have: ........Want ............. What I Get
$989,999 ................. $0.9K ............. $1.0K
$111,496,000 ........... $111.4M ......... $111.5M
$111,496,000,000 ..... $111.4B ......... $111.5B

I'm using conditional formating to get the $0.0K, $000.0M, and $000.0B formats.
<=1000000 ....................................... _($0.0,,"K"_)
>=1000000000 .................................. _($.0,,"M"_)
Between=1000000 and 1000000000 ..... _($.0,,,"B"_)

Need help on how to ignore the rounding up on each value?

Thanks
JW
 
Last edited:

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Thanks for the info I will see if I can get it to work for what I need. I have a lot of these figures that I need to change and the values are not in any order. Looking for one formula that can be used on every cell in a row. I will see if I can combine these to get one that work on combine with conditional format.

Thanks again for the help.

JW
 
Upvote 0
Thanks for the info I will see if I can get it to work for what I need. I have a lot of these figures that I need to change and the values are not in any order. Looking for one formula that can be used on every cell in a row. I will see if I can combine these to get one that work on combine with conditional format.

Thanks again for the help.

JW


I gave this a try and A1 has the same result for $999,999 as it does for $9,999. I have rows that have values that are all dirrent between $0 and $999B.
 
Upvote 0
Thank you for the help.

Below is what I used. There are probably better ways, but its works.

=IF(C18<1000000,"$"&(ROUNDDOWN((C18/1000000),1)&"K"),IF(C18>1000000000,"$"&(ROUNDDOWN((C18/1000000000),1)&"B"),"$"&(ROUNDDOWN((C18/1000000),1)&"M")))

Thanks
JW
 
Upvote 0
It might be me but I'm not clear on what exactly you are wanting.

Assuming:

K = Thousands
M = Millons
B = Billions

Numbers I have: ........Want
$989,999 ................. $0.9K ............. Wrong - .9K = 900
$111,496,000 ........... $111.4M ......... Correct
$111,496,000,000 ..... $111.4B ......... Correct

If you want the Thousands from 989,999 it would be 989 or possibly 989.9
And if you wanted the thousands from 9,999 it would be 9 or 9.9

I see that you want just the first 4 numbers for Million and Billion, just not sure of what is needed for < 1,000,000

Your formula here IF(C18<1000000,"$"&(ROUNDDOWN((C18/1000000),1)&"K"),

Returns $0K for 9,999

Maybe change to IF(C18<1000000,"$"&(ROUNDDOWN((C18/1000),1)&"K"),
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,521
Messages
6,179,277
Members
452,902
Latest member
Knuddeluff

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