Determining weighted itemized costs

Jim D

New Member
Joined
Dec 20, 2013
Messages
6
I have list of items of varying counts andjust a total price for the bundle. I am hoping to be able to determine a unit price for each item based on it's weight which I have calcualted by individually dividing the quantity of each into the total quantity. Any suggestions?

Example to solve for.
Item A 100 ea
Item B 150 ea
Item C 500 ea
Total Cost $100,000
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
I'm afraid you need a bit more than that. In mathematical terms you have three unknowns (cost1, cost2, cost3) and one equation 100*c1 + 150*c2 + 500*c3 = 100,000. There is an infinity of solutions. Here are 3:

Book1 (version 1).xlsb
ABCDEFGHIJK
1ItemQuantityUnit CostCostUnit CostCostUnit CostCost
2A100133.333313333.332002000017517500
3B150133.3333200001502250021031500
4C500133.333366666.671155750010251000
5
6Total Cost100,000100000100000100000
Sheet30
Cell Formulas
RangeFormula
D2:D4D2=E2/B2
E2:E4E2=B2/SUM(B$2:B$4)*B$6
H2:H4,K2:K4H2=G2*$B2
G4G4=57500/500
J4J4=51000/500
E6,K6,H6E6=SUM(E2:E4)


All very different, but they sum up the same. To be able to come up with an answer, you'd need some way to add some more conditions or constraints.
 
Upvote 0
Solution
I'm afraid you need a bit more than that. In mathematical terms you have three unknowns (cost1, cost2, cost3) and one equation 100*c1 + 150*c2 + 500*c3 = 100,000. There is an infinity of solutions. Here are 3:

Book1 (version 1).xlsb
ABCDEFGHIJK
1ItemQuantityUnit CostCostUnit CostCostUnit CostCost
2A100133.333313333.332002000017517500
3B150133.3333200001502250021031500
4C500133.333366666.671155750010251000
5
6Total Cost100,000100000100000100000
Sheet30
Cell Formulas
RangeFormula
D2:D4D2=E2/B2
E2:E4E2=B2/SUM(B$2:B$4)*B$6
H2:H4,K2:K4H2=G2*$B2
G4G4=57500/500
J4J4=51000/500
E6,K6,H6E6=SUM(E2:E4)


All very different, but they sum up the same. To be able to come up with an answer, you'd need some way to add some more conditions or constraints.
Thanks Eric!
 
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