Combine all products with different varieties

motilulla

Well-known Member
Joined
Feb 13, 2008
Messages
2,422
Office Version
  1. 2010
Hello,</SPAN></SPAN>

Combine all products with different varieties to achieve a special offer price package </SPAN></SPAN>

I am looking for a solution on how many special offer price packages can be prepared from the product and variety list of D5:F12, Note: there is Product A To H & Variety X To Z in the offer packages there must be all Products present from A To H one of each, but only one variety price can be chosen from X to Z </SPAN></SPAN>

Here are a few examples...</SPAN></SPAN>
Column H if we make a lowest price offer package than we can pick the lowest price of one variety product and then combine it with one of each product A to H which can be the 135 $</SPAN></SPAN>

Column J if we make a highest price offer package than we can pick the highest price of one variety product and than combine picking one of each product A to H which can be the 476 $</SPAN></SPAN>

Made some offer price packages in Columns L, N, P, R, T and Y, question is how many special offer price packages can be prepared? Or in the range say 135$ to 199, 200$ to 299$, 300$ to 399$ or 400$ to 476$ may be?</SPAN></SPAN>

Below is shown example data...</SPAN></SPAN>


Book1
ABCDEFGHIJKLMNOPQRSTUV
1
2Min Offer PackageMax Offer PackageOffer PackageOffer PackageOffer PackageOffer PackageOffer PackageOffer Package
3Variety XVariety YVariety ZPrice $Price $Price $Price $Price $Price $Price $Price $
4Price $Price $Price $135476157212243311334392
5Product A9137897813978787878
6Product B2334432343232343232323
7Product C5841158451111111184
8Product D5926151559262615592659
9Product E1220681268121212686820
10Product F2733402740272740272727
11Product G3332353235323532333232
12Product H1269191269196912126969
Sheet2


Thanks In Advance </SPAN></SPAN>
Using version 2000</SPAN></SPAN>

Regards,</SPAN></SPAN>
Moti</SPAN></SPAN>
 
Last edited:

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Hello,</SPAN></SPAN>

Here is my new layout for my previous question.</SPAN></SPAN>

Will it be possible to make all the package prices as shown below:</SPAN></SPAN>


Book1
ABCDEFGHIJKLMNOPQ
1
2
3Variety XVariety YVariety ZPackage Price
4Price $Price $Price $Product AProduct BProduct CProduct DProduct EProduct FProduct GProduct H$
5Product A91378Varaities92351512273212135
6Product B233443?
7Product C58411?
8Product D592615Varaities132352612273219157
9Product E122068?
10Product F273340?
11Product G333235Varaities923112612273569212
12Product H126919?
13?
14Varaities7843111512403212243
15?
16?
17Varaities7823115968273312311
18?
19?
20?
21?
22Varaities7823112668273269334
23?
24?
25?
26?
27?
28?
29?
30Varaities7823845920273269392
31?
32?
33?
34?
35Varaities7843845968403569476
36
Sheet3


Regards,
Moti
 
Last edited:
Upvote 0
Hello,</SPAN></SPAN>

Here is my another attempt instead of finding all min to max sum does this will be possible if I fill the sum in column Q with 270$ and 271$ so the code can fill columns I:P columns from the list D5:F12 to achieve the sum for each row in the example below I have made some sums manually it has took 15 hours + time not sure is correct or there could be more with 270 & 271 </SPAN></SPAN>

Please need help...example what I done manually </SPAN></SPAN>


Book1
ABCDEFGHIJKLMNOPQ
1
2
3Variety XVariety YVariety ZPackage Price
4Price $Price $Price $Product AProduct BProduct CProduct DProduct EProduct FProduct GProduct H$
5Product A91378Varaities7843112620403319270
6Product B233443Varaities783455920273512270
7Product C58411Varaities7823115920273319270
8Product D592615Varaities7823115912403512270
9Product E122068Varaities7823111512273569270
10Product F273340Varaities782355920403312270
11Product G333235Varaities782355920333319270
12Product H126919Varaities782351568273519270
13Varaities782351520273369270
14Varaities782351512333569270
15Varaities1343842620403212270
16Varaities1343842620333219270
17Varaities1334115968403312270
18Varaities1334115968333319270
19Varaities1334115912403269270
20Varaities1334111568273369270
21Varaities1323115920403569270
22Varaities1323112668273369270
23Varaities132352668333369270
24Varaities1323845920273212270
25Varaities1323845912273319270
26Varaities943115968333512270
27Varaities943115920273269270
28Varaities94355920333269270
29Varaities934115920333569270
30Varaities93452668273269270
31Varaities934845912273312270
32Varaities923111568403569270
33Varaities923841568273212270
34Varaities784355912273512271
35Varaities782355912403519271
36Varaities782352668273212271
37Varaities1343115968333212271
38Varaities134355920273569271
39Varaities1343842620403312271
40Varaities1343842620333319271
41Varaities133455968403319271
42Varaities1334842620403519271
43Varaities1323111568403269271
44Varaities1323845920273312271
45Varaities1323845912333512271
46Varaities943115968273519271
47Varaities943115920273369271
48Varaities943115912333569271
49Varaities94355968333519271
50Varaities94355920333369271
51Varaities94351568273569271
52Varaities934111568333269271
53Varaities93455920403569271
54Varaities923112668333269271
55Varaities923845912403212271
56Varaities923845912333219271
57Varaities923841568273312271
58Varaities923841512273269271
Sheet4


Thanks In Advance </SPAN></SPAN>

Regards,</SPAN></SPAN>
Moti </SPAN></SPAN>
 
Last edited:
Upvote 0
Hello,</SPAN></SPAN>

May be my layout does not fit to get any VBA solutions please anyone can help may be creating another way to get answer of my query, if not a VBA than any formula solution
</SPAN></SPAN>

Thanks In Advance
</SPAN></SPAN>

Regards,
</SPAN></SPAN>
Moti
</SPAN></SPAN>
 
Last edited:
Upvote 0
Really I have broken my head :banghead:, trying to change question make question easier but can't may could be there a way,

In a simple way I want to generate a all possible sum of given data from D5:F12 within 8 positions. or may can be generated fixing target sum?

Regards,
Moti
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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