Crafting with Multiple materials

Heimdal

New Member
Joined
Nov 18, 2015
Messages
15
Hi everyone.

I'm trying to maximize profit.

I have a finite amount of 4 different materials, and a lot of different items that i can craft. I wish to make excel calculate max profit based on marketplace value. But I have a problem thats stops me dead in my track, because some items require multiple different materials, and so I simply cannot se how to make excel solve this.

Amount
Metal Bars48
Planks103
Cloth50
Leather19

Item materials requirementMetal BarsPlanksClothLeather
TOOL_AXE26
TOOL_FISHINGROD62
TOOL_HAMMER26
TOOL_KNIFE26
TOOL_PICK26
TOOL_SICKLE26
ARMOR_GATHERER_FIBER8
BACKPACK_GATHERER_FIBER8
HEAD_GATHERER_FIBER8
SHOES_GATHERER_FIBER8
ARMOR_GATHERER_ROCK8
BACKPACK_GATHERER_ROCK8
HEAD_GATHERER_ROCK8
SHOES_GATHERER_ROCK8
ARMOR_GATHERER_FISH8
BACKPACK_GATHERER_FISH8
HEAD_GATHERER_FISH8
SHOES_GATHERER_FISH8
ARMOR_GATHERER_HIDE8
BACKPACK_GATHERER_HIDE8
HEAD_GATHERER_HIDE8
SHOES_GATHERER_HIDE8
ARMOR_GATHERER_ORE8
BACKPACK_GATHERER_ORE8
HEAD_GATHERER_ORE8
SHOES_GATHERER_ORE8
ARMOR_GATHERER_WOOD8
BACKPACK_GATHERER_WOOD8
HEAD_GATHERER_WOOD8
SHOES_GATHERER_WOOD8

So based on the above data how do i make a table/sovler or even a VBA that can tell me the optimal number of items that i need to craft in order to maximize profit.

The item price will vary every single day, so i have a linked table that feeds me those number, but for the sake of you guys helping me, you can use these numbers.

TOOL_AXE
9.990​
TOOL_FISHINGROD
4.000​
TOOL_HAMMER
5.160​
TOOL_KNIFE
6.830​
TOOL_PICK
4.891​
TOOL_SICKLE
7.000​

I really appreciate if anyone could give me an example on how to solve this. Thank you very much! Ive used Excel in many years, so just a small example would do, then i could scale it myself. Thanks!
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Hi Heimdal,

I have created the file here, I believe it does what you want :)


I have assumed that once you have made the 'main' item you can then go and use the remaining materials to make more products.
 
Upvote 0
Hi Heimdal,

I have created the file here, I believe it does what you want :)


I have assumed that once you have made the 'main' item you can then go and use the remaining materials to make more products.

Thanks Lee! I took your initial idea and delveloped it a bit. But thank you very much!
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,176
Members
453,021
Latest member
Justyna P

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