vbaforexcel101
New Member
- Joined
- Dec 13, 2012
- Messages
- 27
Goodmorning all,
My challenge is the following. Suppose, I have clients who trade goods with each other all over Europe. However some clients prefer the option for the package of their counterpart to be checked by a middleman before the trade goes through. Therefor I would offer 4 possible shipping stations in Belgium, Netherlands, France and Germany.I have found a way to calculate the cost of the shipping route (see C56:N67) based on the middle station (variable cell = D52 and can take values between 1 and 4, the name of the corresponding middle station is in C52):
https://docs.google.com/spreadsheet/ccc?key=0AvqjcsOrtLCRdE5pc1czWG5NM1NCQVljRzlCYkdqeEE&usp=sharingNow
In a next step, I would like to have a macro who creates a table and solves for the least expensive shipping route, and returns which middle station one should use in order to minimalise the cost of the shipping route.
Many thanks in advance for your help. Enjoy!
My challenge is the following. Suppose, I have clients who trade goods with each other all over Europe. However some clients prefer the option for the package of their counterpart to be checked by a middleman before the trade goes through. Therefor I would offer 4 possible shipping stations in Belgium, Netherlands, France and Germany.I have found a way to calculate the cost of the shipping route (see C56:N67) based on the middle station (variable cell = D52 and can take values between 1 and 4, the name of the corresponding middle station is in C52):
https://docs.google.com/spreadsheet/ccc?key=0AvqjcsOrtLCRdE5pc1czWG5NM1NCQVljRzlCYkdqeEE&usp=sharingNow
In a next step, I would like to have a macro who creates a table and solves for the least expensive shipping route, and returns which middle station one should use in order to minimalise the cost of the shipping route.
Many thanks in advance for your help. Enjoy!
Last edited: