Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi There,
My Case: A1:A10 contains Unit volumes for the 10 items B1:B10 contains Unit price C1:C10 = A*B C11 = Total Price D11 = Target Price By just changing the Unit volumes I want to reach the Target Price. My constraint: Each Item should keep it's relative volume share. Easy enough to calculate it without Solver but...how do you determine that constraint with Solver??? Thanks for your insight, Brgds Sige |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Do you mean
(1) the percentage of total volume must stay same for each item or (2) the ranking of each item must remain unchanged? -- Bernard V Liengme www.stfx.ca/people/bliengme remove caps from email "Sige" wrote in message oups.com... Hi There, My Case: A1:A10 contains Unit volumes for the 10 items B1:B10 contains Unit price C1:C10 = A*B C11 = Total Price D11 = Target Price By just changing the Unit volumes I want to reach the Target Price. My constraint: Each Item should keep it's relative volume share. Easy enough to calculate it without Solver but...how do you determine that constraint with Solver??? Thanks for your insight, Brgds Sige |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi Bernard,
(1) the percentage of total volume must stay same for each item !!! E.G.: Item A= 25 units Item B= 50 units Item C= 125 Units Total = 200Units The relative share should remain unchanged: Being 25/200= 12.5% for A, 25% for B, 62.5% for C Brgds Sige |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
There's really nothing to solve. If the %s have to remain the same, you
have only one variable and simple algebra will yield the answer. In your example, B=2*A and C=5*A. So, the only variable you have to play with is A. If the unit prices were Pa, Pb, and Pc, you would get the total price as Pa*A + 2*Pb*A + 5*Pc*A or A(Pa +2Pb + 5Pc). Given a target of Pt, solve for A to get A = Pt/(Pa +2Pb + 5Pc). The generalization to 10 items is similarly straightforward. -- Regards, Tushar Mehta www.tushar-mehta.com Excel, PowerPoint, and VBA add-ins, tutorials Custom MS Office productivity solutions In article .com, says... Hi Bernard, (1) the percentage of total volume must stay same for each item !!! E.G.: Item A= 25 units Item B= 50 units Item C= 125 Units Total = 200Units The relative share should remain unchanged: Being 25/200= 12.5% for A, 25% for B, 62.5% for C Brgds Sige |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi Tushar,
Sure is true ... though this is just a simplified example! There are other constraints on these items in my model, that I CAN model in Solver ... though modelling the items to keep the relative share beats me a bit. Brgds Sige |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Interesting Solver problem (Solver encounters an error) | Excel Discussion (Misc queries) | |||
solver problem | Excel Worksheet Functions | |||
IF problem using Solver | Excel Worksheet Functions | |||
Solver problem | Excel Discussion (Misc queries) | |||
Solver and dynamic ranges | Excel Worksheet Functions |