Array of Random & Non-Duplicated Values Which Meet a Sub-Criteria

jon7187

New Member
Joined
Oct 5, 2009
Messages
10
Hi All,

Bit of a tough question here so I figured I would give too much detail instead of not enough. Also first time poster so be easy :)

Setup:

In my ""Corporate Buzzwords Bingo"" document I used the following formula to create an array of unduplicated random numbers using the following formula:

Code:
{=LARGE(ROW(OFFSET(KWs,-1,0))*NOT(COUNTIF(A$2:A3,ROW(OFFSET(KWs,-1,0)))),RANDBETWEEN(1,ROWS(KWs)-ROWS(A$2:A3)))}
That number is then passed into a bingo board which pulls from a dynamic list of buzzwords called KWs

Code:
 =OFFSET(KWs, Number from Code Above,0,1)
The keywords sheet looks something like this:

Corporate Buzzword is A1
<table border=""1"">
<tr>
<td>Corporate Buzzword</td>
<td>Offense Level </td>
<td>Frequency Level </td>
</tr>
<tr>
<td>synergy</td>
<td>Major</td>
<td>Med</td>
</tr>
<tr>
<td>win-win</td>
<td>Minor</td>
<td>High</td>
</tr>
<tr>
<td>reinvent the wheel</td>
<td>Minor</td>
<td>Low</td>
</tr>
</table>

Actual Question:

I would like to have a drop down that selects the difficulty of the game by only returning row values that are:

  • high frequency (easy)
  • high and mid frequency(medium)
  • high mid and low frequency (hard)

I assume it would be a combination of vlookup and rows but I am not quite sure how to loop until the random number is unduplicated and meets the high med or low threshold set by the user.

Hopefully I was clear in my explanation and I'll be sure to post the finished document when I get it finalized.

Thanks in advance :biggrin:
 

Forum statistics

Threads
1,082,043
Messages
5,362,836
Members
400,694
Latest member
Sofie17

Some videos you may like

This Week's Hot Topics

  • populate from drop list with multiple tables
    Hi All, i have a drop list that displays data, what i want is when i select one of those from the list to populate text from different tables on...
  • Find list of words from sheet2 in sheet1 before a comma and extract text vba
    Hi Friends, Trying to find the solution on my task. But did not find suitable one to the need. Here is my query and sample file with details...
  • Dynamic Formula entry - VBA code sought
    Hello, really hope one of you experts can help with this - i've spent hours on this and getting no-where. .I have a set of data (more rows than...
  • Listbox Header
    Have a named range called "AccidentsHeader" Within my code I have: [CODE]Private Sub CommandButton1_Click() ListBox1.RowSource =...
  • Complex Heat Map using conditional formatting
    Good day excel world. I have a concern. Below link have a list of countries that carries each country unique data. [URL...
  • Conditional formatting
    Hi good morning, hope you can help me please, I have cells P4:P54 and if this cell is equal to 1 then i want row O to say "Fully Utilised" and to...
Top