Excel Magic Trick 1016: Randomly Do A Two Way Lookup INDEX, VLOOKUP and RANDBETWEEN

preview_player
Показать описание

See how to randomly do a two way lookup:
1. INDEX and RANDBETWEEN
2. VLOOKUP and RANDBETWEEN
3. 5 ways to do Paste Special Values
Рекомендации по теме
Комментарии
Автор

You are welcome! I probably should show some of the other formulas - I have some insane random data creating formulas...

excelisfun
Автор

Hi krn14242,

If you can use a helper column, maybe this is what you are looking for:
In a range A1:A10 insert =RAND()
In a range B1:B10 insert your teams

Now in any cell insert: =VLOOKUP(LARGE($A$2:$A$26, ROW(A1)), $A$2:$B$26, 2, 0)
and copy it down.

You can also search my channel for excel-211 if you want to download sample file for this or learn some polish :) :)

pmsocho
Автор

The only way i know is with VBA or Excel Add-in.

excelisfun
Автор

The formula above should be:
VLOOKUP(LARGE($A$1:$A$10, ROW(­A1)), $A$1:$B$10, 2, 0)
Sorry, but I copied it mistakenly from wrong data set example...

pmsocho
Автор

Thanks for the peek behind the curtain. Always curious how you get all your scenario data.

krn
Автор

Thanks... Learning Polish seems more difficult then Excel. :)

krn
Автор

Now, how can you create a list of unique names that are random? Say I wanted to randomly choose teams from a list of 10 names.

krn