How to lookup for the nth value in a lookup function ?
Hi there everyone,
I'm a bit stuck, I have to admit...
I'm actually trying to randomize results of a certain column, ONLY if they match a certain criteria in another column, and I still don't get it.
First problem, I have 2 columns. The first contains numbers (some are regularly similar), and the second contains names.
In another table, I have one cell that specify the number I'm searching for. and beside the cell where I'm putting my formula to get the result.
BUT, I want to find a random nth match and not necessarily the first encountered.
I understand how to ask for "first to last" ; "last to first" ; exact match, etc. Even the binary results (which I definitely don't understand... which is actually giving me the second result starting off the first or last... why second ? Why not being able to specify "nth" match ?)...
However,
to make it simple and clear :
I would like a formula that will give me the nth (random) name in the column that matches the specified number in the other cell. "Give me a random name of this column B that actually has the number 9 (for example) in the column A".
Anyone could, at least, explain me how to ask for the... 4th result of the column that matches the criteria, instead of the first one ? It should save me a lot of time and mental health ! :)
Thanks in advance for your tips !
MacBook Air 13″, macOS 14.2