VBAMePlease
Board Regular
- Joined
- Jun 19, 2017
- Messages
- 59
Using INDEX+MATCH+COUNTIF to return unique values; I can't figure out where to add an argument that filters the range to look unique values that have an associated ID.
Example:
Col A has values A,B,C,D,E,F & G
Col B has values 1 through 20
A normal INDEX+MATCH+COUNTIF using Col B as my INDEX Range would return values 1-20.
But if I only want to find unique values for value "G" in Col A, how would I have it do this?
Assuming that 18-20 were the only numbers with "G" in Col A, the function would return 18,19,20.
Help much appreciated!
Example:
Col A has values A,B,C,D,E,F & G
Col B has values 1 through 20
A normal INDEX+MATCH+COUNTIF using Col B as my INDEX Range would return values 1-20.
But if I only want to find unique values for value "G" in Col A, how would I have it do this?
Assuming that 18-20 were the only numbers with "G" in Col A, the function would return 18,19,20.
Help much appreciated!