Provide options based on combination of existing data

chandan2110

New Member
Joined
Dec 26, 2013
Messages
2
Hi..
I have a table with entries like (Example from table, real table is very large) -

LengthWidthNo
30030050
60020030
90060010
25045025

<tbody>
</tbody>

I want to extract information where if I give a number for length and width the query can tell me all possible combinations. Eg. User enters Length = 1800 and Width = 600. The result should be -

OptionLengthWidthNo needed to form
19006002
230030012
etc....need all possible combination

<tbody>
</tbody>


Will appreciate the help.
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
It would probably help if you would explain in more detail how to are calculating the results.

TIP: Keep in mind that we no nothing about what you are trying to do or the work you do.
 
Upvote 0
It would probably help if you would explain in more detail how to are calculating the results.

TIP: Keep in mind that we no nothing about what you are trying to do or the work you do.


These length and width pieces are basically wooden flat rectangular pieces and have to be combined together to form a bigger piece. The dimension of the bigger pieces always varies and we have to somehow manage to form the bigger piece from available smaller pieces.

I hope this brings things to perspective.
Thanks
 
Upvote 0
I am still clueless about what you are trying to calculate. I still have no idea how you calculated thed two option in your example.

Programming is the art of taking all the exact steps you would perform when doing it manually on paper and translating the steps into instructions the computer can perform.
 
Last edited:
Upvote 0
Maybe ...

A​
B​
C​
D​
E​
F​
1​
L​
1,800​
2​
W​
600​
3​
L​
W​
Qty​
Needed​
Waste​
4​
300​
300​
50​
12​
0%​
D4: =CEILING(D$1/A4,1) * CEILING(D$2/B4,1)
5​
600​
200​
30​
9​
0%​
E4: =1-D$1*D$2 / (A4*B4*D4)
6​
900​
600​
10​
2​
0%​
7​
250​
450​
25​
16​
40%​
 
Upvote 0

Forum statistics

Threads
1,213,484
Messages
6,113,923
Members
448,533
Latest member
thietbibeboiwasaco

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