Generate possible combinations, rules-based

destabilizator

New Member
Joined
Aug 18, 2011
Messages
2
Hi,
I have stumbled upon a little problem. I have Excel worksheet with tab containing keywords and their possible parameters, see the attached destabilizator.xlsb.
Now what I need to do is to generate files containing some header and then set number of those keywords (randomly picked, but unique) with randomly picked option. I have this coded and it's working.
What I have problem with is when some rules come to play, see rules.xlsx. I have coded the FUNCTION=INDEX<blah blah> "switch". Is there any effective trick to code or use such rules in Excel? If you for example randomly pick NUMBEROFPARTS keyword, there has to be PARTITION keyword for which there has to be DBDNAME, etc.
Basically I need a script which generates allowed combinations of keywords and their options.
Those rules I have are just sample, there are programs with hundreds of keywords and rules :(
Or do you have suggestion for other tool to use to do this? I was toying with RapidMiner, but it's very long time ago since I've used it.

For some reason I can't post attachements :S if anyone is interested, I can e-mail the refered files.
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.

Forum statistics

Threads
1,224,586
Messages
6,179,712
Members
452,939
Latest member
WCrawford

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