Whole #s as a result dividing by 3

Russk68

Well-known Member
Joined
May 1, 2006
Messages
589
Office Version
  1. 365
Platform
  1. MacOS
Hi All
I want to divide a number by 3 and distribute it in whole numbers. I found examples online using a bucket and tennis balls but haven't been able to translate it.

A1=22 tennis balls, and B,C,D are buckets of tennis distributed into whole numbers
B1=8
C1=7
D1=7

Your help is greatly appreciated!
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
maybe this:

Data Range
[Table="class: grid"][tr][td] [/td][td]
A
[/td][/tr]
[tr][td]
1
[/td][td]
22​
[/td][/tr]


[tr][td]
2
[/td][td]
=MOD(A1,3)+INT(A1/3)​
[/td][/tr]


[tr][td]
3
[/td][td]
=INT(A1/3)​
[/td][/tr]


[tr][td]
4
[/td][td]
=INT(A1/3)​
[/td][/tr]
[/table]
 
Upvote 0
That works great! It's so much simpler than what googled.

Thank you very much!
 
Upvote 0
Hi Alan,
Thank you for your help on this. I just realized that a remainder of 1 works great for me but a remainder of 2 doesn't and was wondering if you could tweak you formula. The top example is how it works. The bottom is what I'm looking for.

A1=47
B1=17
C1=15
D1=15

A1=47
B1=16
C1=16
D1=15

Thanks!
 
Upvote 0
If you could leave B1 empty and put your results into C1:E1, then you could use this formula, copied across.
Column B could be hidden if you want.

Excel Workbook
ABCDE
147161615
Divide into 3
 
Upvote 0
Here is another "single formula" solution for you to consider. With your number in cell A1, put this formula in cell B1 and copy across to cell D1...

=INT($A1/3)+(MOD($A1,3)>=COLUMNS($B:B))
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,324
Members
452,635
Latest member
laura12345

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