Assistance with Solver

KyBoy

New Member
Joined
Jan 16, 2019
Messages
4
Hi All,

After learning that Goal Seek is limited I started to better understand the Solver Tool.
Can someone help me with the constraints to achieve my goal?

This is my data (paste into A1)

PeoplePeopleGoal %CurrentDeltaChange to PeopleNumber of People to make up Difference
Group A64645.0000%11%-6.27%0
Group B32325.0000%6%-0.63%0
Group C17175.0000%3%2.01%0
Group D53535.0000%9%-4.33%0
Group E17175.0000%3%2.01%0
Group F55555.0000%10%-4.68%0
Group G58585.0000%10%-5.21%0
Group H665.0000%1%3.94%0
Group I225.0000%0%4.65%0
Group J335.0000%1%4.47%0
Group K445.0000%1%4.30%0
Group L115.0000%0%4.82%0
Group M62627.5000%11%-3.42%0
Group N59597.5000%10%-2.89%0
Group O995.0000%2%3.42%0
Group P36365.0000%6%-1.34%0
Group Q21215.0000%4%1.30%0
Group R22225.0000%4%1.13%0
Group S47475.0000%8%-3.27%0
568568100%100%0%

<colgroup><col span="2"><col><col span="2"><col><col><col><col><col span="6"></colgroup><tbody>
</tbody>

Formulas
PeoplePeopleGoal %CurrentDeltaChange to People Number of People to make up Difference
Group A64=B2+L20.05=D2/$D$21=F2-H20
Group B32=B3+L30.05=D3/$D$21=F3-H30
Group C17=B4+L40.05=D4/$D$21=F4-H40
Group D53=B5+L50.05=D5/$D$21=F5-H50
Group E17=B6+L60.05=D6/$D$21=F6-H60
Group F55=B7+L70.05=D7/$D$21=F7-H70
Group G58=B8+L80.05=D8/$D$21=F8-H80
Group H6=B9+L90.05=D9/$D$21=F9-H90
Group I2=B10+L100.05=D10/$D$21=F10-H100
Group J3=B11+L110.05=D11/$D$21=F11-H110
Group K4=B12+L120.05=D12/$D$21=F12-H120
Group L1=B13+L130.05=D13/$D$21=F13-H130
Group M62=B14+L140.075=D14/$D$21=F14-H140
Group N59=B15+L150.075=D15/$D$21=F15-H150
Group O9=B16+L160.05=D16/$D$21=F16-H160
Group P36=B17+L170.05=D17/$D$21=F17-H170
Group Q21=B18+L180.05=D18/$D$21=F18-H180
Group R22=B19+L190.05=D19/$D$21=F19-H190
Group S47=B20+L200.05=D20/$D$21=F20-H200
=SUM(B2:B20)=SUM(D2:D20)=SUM(F2:F20)=SUM(H2:H20)=SUM(J2:J20)

<colgroup><col span="2"><col><col span="2"><col><col><col><col><col span="6"></colgroup><tbody>
</tbody>

My goal:
- Utilize column G to add/subtract people from each group to reach the target Goal %
- Keep the original total in cell D21 to 568
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Hi

o See if the example below helps.
o Solver has an option for integer solutions, but it was not converging.
o The screenshot could not show all the constraints. All formulas at column M are set to a value less than 2/10.

hX8ImtX.png



Sheet1

FGHIJKLM
43 PeopleGoalInferior LimitSuperior LimitResultDifference
44 Group A56,932180,146,866,8570,1321806
45 Group B113,78280,2103,6123,61140,1828125
46 Group C170,350,3160,4180,41700,050001
47 Group D198,93220,35188,8208,81990,1321806
48 Group E28,43750,0518,438,4280,0375
49 568,43471 568
50
51Desired Total568

<colgroup><col style="font-weight:bold; width:30px; "><col style="width:88px;"><col style="width:64px;"><col style="width:64px;"><col style="width:64px;"><col style="width:90px;"><col style="width:91px;"><col style="width:64px;"><col style="width:71px;"></colgroup><tbody>
</tbody>

Spreadsheet Formulas
CellFormula
J44=I44*G51-10
K44=I44*G51+10
L44=ROUND(H44,0)
M44=ABS(H44-I44*$G$51)
J45=I45*G51-10
K45=I45*G51+10
L45=ROUND(H45,0)
M45=ABS(H45-I45*$G$51)
J46=I46*G51-10
K46=I46*G51+10
L46=ROUND(H46,0)
M46=ABS(H46-I46*$G$51)
J47=I47*G51-10
K47=I47*G51+10
L47=ROUND(H47,0)
M47=ABS(H47-I47*$G$51)
J48=I48*G51-10
K48=I48*G51+10
L48=ROUND(H48,0)
M48=ABS(H48-I48*$G$51)
H49=SUM(H44:H48)
I49=SUM(I44:I48)
L49=SUM(L44:L48)

<tbody>
</tbody>

<tbody>
</tbody>


Excel tables to the web >> Excel Jeanie HTML 4



<strike></strike>

<strike></strike>
 
Upvote 0

Forum statistics

Threads
1,214,978
Messages
6,122,547
Members
449,089
Latest member
davidcom

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