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

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
maybe this:

Data Range
A
1
22​
2
=MOD(A1,3)+INT(A1/3)​
3
=INT(A1/3)​
4
=INT(A1/3)​
 
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,213,531
Messages
6,114,167
Members
448,554
Latest member
Gleisner2

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