Breaking up Number Into Hundreds Thousands and Millions

dubroval

New Member
Joined
Oct 4, 2006
Messages
2
Hi All

How would I break up a number like 456,056,123 into 3 cells - one for Hundreds, Thousands, and Millions using functions only ?

Thanks

Alex
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
try useing the functions left,mid and right. For example if the cell A1 has the value 456,056,123 try the function

=left(A1,3)*1000000 in cell B1
=mid(A1,4,3)*1000 in cell C1
=right(A1,3) in cell D1
 
Upvote 0
notwithstanding answers to questions asked:

millions portion:

=ROUNDDOWN(MOD(A1,1000000000),-6) or =ROUNDDOWN(MOD(A1,10^9),-6)

thousands:

=ROUNDDOWN(MOD(A1,1000000),-3) or =ROUNDDOWN(MOD(A1,10^6),-3)

hundreds:

=ROUNDDOWN(MOD(A1,1000),0) or =ROUNDDOWN(MOD(A1,10^3),0)


...amongst other approaches
 
Upvote 0
To clarify ....

It can be any number, not just 9 digits and can be negative or positive.

Because we are required to submit data in a predefined format, they are requesting that we have columns for hundreds, thousands, millions and yes even billions. So if a number if -123,456 then billions and millions would be zero, thousands would be -123 and hundreds would be -456.

Thanks,

Alex
 
Upvote 0
If your figure is in A1

For hundreds

=MOD(ABS(A1),1000)*SIGN(A1)

thousands

=FLOOR(MOD(ABS(A1),10^6),10^3)*SIGN(A1)

millions

=FLOOR(MOD(ABS(A1),10^9),10^6)*SIGN(A1)

and assuming those three formula are in B1,C1 and D1

billions

=A1-B1-C1-D1
 
Upvote 0

Forum statistics

Threads
1,214,825
Messages
6,121,788
Members
449,049
Latest member
greyangel23

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