Hi all,
Here is the spreadsheet I am working on: http://www.voodooguild.net/veev/veev...readsheet.xlsx
In rows 6-10 I enter my own spell names (for a video game) accompanied by how frequently they are used. The order that they are entered in represents their priority (most important at the top). In rows 17 and below I am trying to simulate a 5+ minute sequence of these spells, using the data I enter at the top.
Unfortunately I have run into a problem where the LOOKUP function I am using in cell A22 expects the range/array I am searching to be sorted alphabetically. You can observe this by changing cells A9 and A20 to "TestBloom2" and noticing no error, but if you change them to just "Bloom" it breaks the function.
So basically I suppose I am looking for a way to get VLOOKUP to detect the last occurrence of an array (like how LOOKUP(2,1/($A$17:A21=Spec1Spell1),$D$17:D21) does), or for the LOOKUP function to not expect the lists to be sorted (like how I use the false parameter in cell F17). Or if someone has an idea to do this in a much simpler/cleaner fashion I'd be open to that as well.I'm far from being an Excel expert.
Thanks for your time!
Bookmarks