This is something I like to do without resorting to vba...
I have a huge table which looks roughly like:
In this table I want to randomly (from 1 to 20) pick an item from each room i.e. "Kitchen" and "5" which should result in "Knife".
-The random part is easy and done.
-Usually you can use vlookup to find "5" in an ascending list
However in order to do that you first need to 'restrict' the search to the "Kitchen" array--> vlookup(5;C5:D7;2)
I did find a way to build a string of the kitchen array which results in "C5:D7"
You can't however feed a string into a formula and I have no clue how 'convert' a string into a cell reference.
So an answer to either (or both):
-how can you convert a string into a reference?
-is there a (another)way to find a random item in the kitchen?
thanks in advance.
Bookmarks