Sachin2k6
Active Member
- Joined
- Mar 3, 2012
- Messages
- 369
Hi guys
I have a two dimaentional array said ' My Array' in my vba procedure which stores person names in first column and cities names to which the person in 1st column has visited , in 2nd column.
My need is to count the unique city names in the 2nd column. How can i count that.
Data stored in the array is like this...
Name. City Visited
Sachin. Dhampur
Nitin. Moradabad
Neha. Dhampur
Sunil. Moradabad
.........
........
..........
Task is to count the unique cities in 2nd column of the array.
I have a two dimaentional array said ' My Array' in my vba procedure which stores person names in first column and cities names to which the person in 1st column has visited , in 2nd column.
My need is to count the unique city names in the 2nd column. How can i count that.
Data stored in the array is like this...
Name. City Visited
Sachin. Dhampur
Nitin. Moradabad
Neha. Dhampur
Sunil. Moradabad
.........
........
..........
Task is to count the unique cities in 2nd column of the array.