Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

How can I reference values from one list in the order of another list?

$
0
0

I don't know if that title even fits but here is the setup:

I have drawn numbers randomly from an urn without putting them back and I have a list of that in a row. For a small example's sake lets say I drew 5 times from a pool of 5 unique numbers.

Now with each of these numbers, there is a value associated with, which I have in another list, but sorted according to the order the numbers were drawn.

Now I want a list, where the values are ordered in order of the associated numbers. Because the lists are larger in reality, how can I achieve this with formulas?

A small example


Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>