Excel 2013/2016 | ||||
---|---|---|---|---|
A | B | |||
1 | County | |||
2 | Hertfordshire | Hertfordshire | ||
3 | Hertfordshire | West Midlands | ||
4 | Hertfordshire | Worcestershire | ||
5 | Hertfordshire | Warwickshire | ||
6 | West Midlands | Staffordshire | ||
7 | West Midlands | |||
8 | West Midlands | |||
9 | Worcestershire | |||
10 | Warwickshire | |||
11 | West Midlands | |||
12 | Warwickshire | |||
13 | Worcestershire | |||
14 | Staffordshire | |||
Jan2 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
B2 | {=INDEX(A$2:A$32,MATCH(0,COUNTIF(B$1:B1,A$2:A$32),0))} | |
Press CTRL+SHIFT+ENTER to enter array formulas. |
I mean the array only gives me the first city name, does not give me the list of all of them.
is there any limitation for the array? I set the range to 17000 so:
{=INDEX(A$2:A$17886,MATCH(0,COUNTIF(B$1:B1,A$2:A$17886),0))}
is that correct?