Dhinakaran
Board Regular
- Joined
- Mar 30, 2016
- Messages
- 54
- Office Version
- 365
- 2021
- 2016
- Platform
- Windows
Hello,
I've a data of State and its cities where states are repeated while the cities are unique where I need to extract the unique cities in rows from column AJ to AP against the respective state as shown in the sample below.
TIA.
I've a data of State and its cities where states are repeated while the cities are unique where I need to extract the unique cities in rows from column AJ to AP against the respective state as shown in the sample below.
Book2 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AH | AI | AJ | AK | AL | AM | AN | AO | AP | |||
3 | State | City | State | City 1 | City 2 | City 3 | City 4 | ||||
4 | Alabama | Akron | Alabama | ||||||||
5 | Arizona | Alpine | Arizona | ||||||||
6 | California | Agoura Hills | California | ||||||||
7 | Colorado | Applewood | Colorado | ||||||||
8 | Florida | Apollo Beach | Florida | ||||||||
9 | Georgia | Alston | Georgia | ||||||||
10 | Hawaii | Ewa Gentry | Hawaii | ||||||||
11 | Indiana | Boonville | Indiana | ||||||||
12 | Kentucky | Worthington | Kentucky | ||||||||
13 | Washington | Yarrow Point | Washington | ||||||||
14 | Alabama | Alexandria | |||||||||
15 | Arizona | Arizona Village | |||||||||
16 | California | Alderpoint | |||||||||
17 | Colorado | Woodland Park | |||||||||
18 | Florida | Ave Maria | |||||||||
19 | Georgia | Ambrose | |||||||||
20 | Hawaii | East Honolulu | |||||||||
21 | Indiana | Boswell | |||||||||
22 | Kentucky | Woodland Hills | |||||||||
23 | Washington | Wollochet | |||||||||
24 | Alabama | Ashville | |||||||||
25 | Arizona | Beyerville | |||||||||
26 | California | Allendale | |||||||||
27 | Colorado | Williamsburg | |||||||||
28 | Florida | Bay Hill | |||||||||
29 | Georgia | Appling | |||||||||
30 | Hawaii | Black Sands | |||||||||
31 | Indiana | Bridgeton | |||||||||
32 | Kentucky | Williamstown | |||||||||
33 | Washington | Waterville | |||||||||
34 | Alabama | X | |||||||||
35 | Arizona | Y | |||||||||
36 | California | Z | |||||||||
Sheet2 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
AL4:AL13 | AL4 | =UNIQUE(AH4:AH33) |
Dynamic array formulas. |
TIA.