Next question from me. I have a list of up to nine different spellings for each of a few hundred names, with the different spellings in columns A through I, the names in rows. There're quite a few repetitions and quite a few blanks because of how I got those data in the first place.
Then I have a sheet (called List) which has a spelling of many of these names (in A:A), and a number next to each (in B:B). I want to VLOOKUP the number in List, so I need to know which spelling it's using. I'm doing this by having nine more columns (K to T) containing:
Code:
=COUNTIF(List!$A:$A, A2)
=COUNTIF(List!$A:$A, B2)
=COUNTIF(List!$A:$A, C2)
etc. Then to see which one has the right spelling, I'm doing:
Code:
=MATCH(LARGE(K2:T2, 1), K2:T2, 0)
In an ideal world, I wouldn't have columns K to T at all, I'd put it all in one formula. I was hoping I could do something like:
Code:
LARGE(COUNTIF(List!$A:$A, A2), COUNTIF(List!$A:$A, B2) [...]
And so on. But LARGE only accepts one value, and it wouldn't have worked with MATCH anyway. Any ideas? Some way to have a temporary array in memory or similar? (Concatenate?)