Setup Multi Variable in Excel

andersen_yunan

New Member
Joined
Feb 7, 2018
Messages
36
Hi All,

Currently, I'm trying to resolve TSP problem regarding number of people need to cover stores in a day.
What I'm thinking currently is to setup a constraint and actual working minutes & velocity to travel to stores as per current below.

However, I'm stuck with the formula on how can I put a cumulative value that would stop once sales 1 reach a target either working time and distance travel.

Is there any formula that could help with this to get the value below?

Thanks in advance!

[TABLE="width: 765"]
<colgroup><col><col><col><col span="2"></colgroup><tbody>[TR]
[TD][/TD]
[TD="align: right"]Adjustable*[/TD]
[TD][/TD]
[TD]Constraint[/TD]
[TD="align: right"]
Adjustable*​
[/TD]
[/TR]
[TR]
[TD]Time in Store (Minutes)[/TD]
[TD="align: right"]30[/TD]
[TD][/TD]
[TD]Working Time (Minutes)[/TD]
[TD="align: right"]420[/TD]
[/TR]
[TR]
[TD]Velocity (km/hr)[/TD]
[TD="align: right"]20[/TD]
[TD][/TD]
[TD]Distance Travel (km)[/TD]
[TD="align: right"]80[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]Customer[/TD]
[TD="align: center"]Distance From HQ (km)[/TD]
[TD="align: center"]CML-Working Time (Minutes)[/TD]
[TD="align: center"]CML-Distance[/TD]
[TD="align: center"]Sales[/TD]
[/TR]
[TR]
[TD="align: center"]A[/TD]
[TD="align: center"]40[/TD]
[TD="align: center"]150[/TD]
[TD="align: center"]40[/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]B[/TD]
[TD="align: center"]50[/TD]
[TD="align: center"]330[/TD]
[TD="align: center"]90[/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]C[/TD]
[TD="align: center"]20[/TD]
[TD="align: center"]90[/TD]
[TD="align: center"]20[/TD]
[TD="align: center"]2[/TD]
[/TR]
[TR]
[TD="align: center"]D[/TD]
[TD="align: center"]30[/TD]
[TD="align: center"]210[/TD]
[TD="align: center"]50[/TD]
[TD="align: center"]2[/TD]
[/TR]
[TR]
[TD="align: center"]E[/TD]
[TD="align: center"]20[/TD]
[TD="align: center"]300[/TD]
[TD="align: center"]70[/TD]
[TD="align: center"]2[/TD]
[/TR]
[TR]
[TD="align: center"]F[/TD]
[TD="align: center"]60[/TD]
[TD="align: center"]210[/TD]
[TD="align: center"]60[/TD]
[TD="align: center"]3[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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