How to get a total add up number from total number in another row??

AmirFirdaus9509

New Member
Joined
Feb 14, 2022
Messages
10
Office Version
  1. 2016
Platform
  1. Windows
Hi , apologize if this question sound more difficult than it should be

I would like to create a formula that is able to properly capture a certain amount of number and distribute as evenly as possible from total number in cell C16.
The total delivery is 725.

Im trying to figure out a formula in cell D2 until D15 where out of sum of 725 in cell C , the total number in cell D2 until D15 is add up to 30.

1716791005712.png



Any help is greatly appreciate
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
One way is to divide proportionally to column C.
Book1
CDE
1Total DeliveryTotal Delivery Pickup DailyCheck
21084
3633
41145
580
6974
770
8372
9532
10291
11251
12231
13151
14683
15783
167253030
Sheet5
Cell Formulas
RangeFormula
D2:D15D2=ROUND(C2/$C$16*$D$16,0)
C16C16=SUM(C1:C15)
E16E16=SUM(D2:D15)
 
Upvote 0
One way is to divide proportionally to column C.
Book1
CDE
1Total DeliveryTotal Delivery Pickup DailyCheck
21084
3633
41145
580
6974
770
8372
9532
10291
11251
12231
13151
14683
15783
167253030
Sheet5
Cell Formulas
RangeFormula
D2:D15D2=ROUND(C2/$C$16*$D$16,0)
C16C16=SUM(C1:C15)
E16E16=SUM(D2:D15)

Hi , thanks for the reply

Is there a way for cell C5 and C7 to be pick up also out of 30?
I would like that at least 1 Name is pick for total add up
 
Upvote 0
Who do you want to take away from to give to the 0's?
 
Upvote 0
Who do you want to take away from to give to the 0's?
Probably from the highest Total Delivery as they have more chance to be pick up during the division.

Is it possible for the formula given to capture each row C at minimum value of 1?
 
Upvote 0
This will guarantee at least 1 per row, however, I assume you want the answer in whole numbers. There isn't a one-size-fits-all rounding rule that will guarantee the sum adds up to 30. There will be a little manual adjustment. Sometimes you'll be short 1, sometimes you'll be over 1.
Book1
DEFG
1Total DeliveryTotal Delivery Pickup DailyCheckRound to whole number
21083.383.00
3632.392.00
41143.524.00
581.181.00
6973.143.00
771.151.00
8371.822.00
9532.172.00
10291.642.00
11251.552.00
12231.512.00
13151.331.00
14682.503.00
15782.723.00
16725303031.00
Sheet5
Cell Formulas
RangeFormula
E2:E15E2=1+D2/$D$16*($E$16-ROWS($D$2:$D$15))
G2:G15G2=ROUND(E2,0)
D16D16=SUM(D1:D15)
F16F16=SUM(E2:E15)
G16G16=SUM(G2:G15)
 
Upvote 0

Forum statistics

Threads
1,216,499
Messages
6,131,012
Members
449,613
Latest member
MedDash99

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