gauravchawla
New Member
Hi All,
I am desperately looking a way to solve this in excel:
There are 3 companies in the market. C1,C2,C3. Each company has multiple products. Some products are unique and some are sold by other companies also. Sample portfolio: C1 - P1,P2,P3 ; C2- P1,P2,P5 ; C3- P1, P6,P4. The companies are free to keep any selling price for their products but sales would happen only to the one having lowest price. And once its stock is finished, the balance demand would be fulfilled by the company selling at next higher price. The data set as made in excel is below:
(Company,Product,SP,Demand, Stock on hand)- in each column
C1,P1,3,50,10
C1,P2,9,39,40
C1,P3,8,12,8
C2,P1,5,50,45
C2,P2,7,39,40
C2,P5,11,61,75
C3,P1,4,50,42
C3,P6,15,35,10
C3,P4,12,14,15
So as per above- for P1: C1 has the lowest price (3) so 1st sales will happen to C1 (10 units) followed by C3 (price=4) for balance 40 units.
It will be really helpful if anyone can suggest me how to do it in excel using a formula. As I change the SP,Demand,Stocks on hand: the sales should distribute accordingly.
Thanks in advance.
Regards,
Gaurav
I am desperately looking a way to solve this in excel:
There are 3 companies in the market. C1,C2,C3. Each company has multiple products. Some products are unique and some are sold by other companies also. Sample portfolio: C1 - P1,P2,P3 ; C2- P1,P2,P5 ; C3- P1, P6,P4. The companies are free to keep any selling price for their products but sales would happen only to the one having lowest price. And once its stock is finished, the balance demand would be fulfilled by the company selling at next higher price. The data set as made in excel is below:
(Company,Product,SP,Demand, Stock on hand)- in each column
C1,P1,3,50,10
C1,P2,9,39,40
C1,P3,8,12,8
C2,P1,5,50,45
C2,P2,7,39,40
C2,P5,11,61,75
C3,P1,4,50,42
C3,P6,15,35,10
C3,P4,12,14,15
So as per above- for P1: C1 has the lowest price (3) so 1st sales will happen to C1 (10 units) followed by C3 (price=4) for balance 40 units.
It will be really helpful if anyone can suggest me how to do it in excel using a formula. As I change the SP,Demand,Stocks on hand: the sales should distribute accordingly.
Thanks in advance.
Regards,
Gaurav