Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50070

Identify records based on criteria from two different columns. Need help!

$
0
0
Hello,

I am trying to figure out if it is possible to write excel macro that would do the following on the example range listed below (this will have to be applied on a much greater and dynamic range later):
1. the main goal is to color all rows where a country has assigned more than one first name
2. rows where there is no value in column in the second column should be ignored

1 2
Poland Mark
Poland Mark
Poland Jack
Germany
Germany Mike
Germany Mike
Germany Simon
Russia Peter
Russia Peter
Russia Bob
Turkey Ece
Turkey Ece


In this case the following rows would be color coded:
1 2
Poland Mark
Poland Mark
Poland Jack
Germany Mike
Germany Mike
Germany Simon
Russia Peter
Russia Peter
Russia Bob

Rows that would not be colored:
1 2
Germany
Turkey Ece
Turkey Ece


Please let me know if that is possible at all. Any ideas where to start would be appreciated.

Viewing all articles
Browse latest Browse all 50070

Trending Articles