Excel automatically calculate store/webstore amount

Robinazer

New Member
Joined
Feb 18, 2021
Messages
6
Office Version
  1. 365
Platform
  1. Windows
Hello



I am working on a case file which has to (in theory) automatically decide the amount of items it allocates to each store.
In the case, there are 50+ stores and every year 1 to 3 new stores open.

When there is a product that's at the end of it's life cycle, the stock in the warehouse needs to be distributed between stores and the webstore.

On average, the webstore sells between 2 and 5 times the amount of items a store does.

Every store has a limited surface.



Depending on the surface of the stores and the demand of the webstore (*2 till *5) i need to find a formula which should allocate stock to each store but the catch is, every store needs to get stock.
The shelf space needs to be 100% or 50% occupied, no inbetweens. (bonus points if able to be switched manually)

You can't always send the best selling stores all the stock and the least selling store no stock.

Is there anyone who knows how to do this? (mock-up data example below)

Kind regards

95​
94​
68​
88​
16​
81​
71​
83​
70​
55​
63​
70​
57​
83​
80​
87​
55​
91​
54​
67​
<- surface
articlenumberstockshelf spacestore 1store 2store 3store 4store 5store 6store 7store 8store 9store 10store 11store 12store 13store 14store 15store 16store 17store 18store 19store 20webstore<- name
81154063​
800​
12​
amountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamount
91520397​
900​
6​
amountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamount
89627777​
12​
4​
amountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamount
88863788​
63​
12​
amountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamount
44484128​
5​
1​
amountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamount
51456571​
900​
1​
amountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamount
16464437​
87​
8​
amountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamount
20575980​
54​
32​
amountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamount
87709586​
100​
1​
amountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamount
49754093​
92​
5​
amountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamountamount
 

Excel Facts

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

Forum statistics

Threads
1,214,998
Messages
6,122,638
Members
449,093
Latest member
Ahmad123098

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