ExcelNewbie
New Member
Hello there, new guy here with in need of help.
I have a database that I am working on that after extraction and conversion from another database. I need to color code each row based on the content of 3 different columns.
Column A | Column B | Column C | Column D
1 Name | Location1 | Location2 | Location3
2 Smith | Miami, Boston
3 Philips | Detroit, El Paso | Los Angeles, Seattle | San Francisco, Las Vegas
4 Mercer | Phoenix, Wyoming | Greece, Romania | Rome, Barcelona
5 Ward | Atlanta, New York | Singapore, Malaysia | Cambodia, Philippines
Basically, what I would like is to compare Columns B,C,D and change row color if the following criteria are made:
a) If only one entry was made under Column B,C,D then it will remain unchanged
b) If ALL Columns have entries belonging to the same country (ie: U.S.A) then change it to yellow
c) If 2 Columns have countries/cities from Europe then the row color will change to blue
d) If 2 Columns have countries/cities from Asia then the row color will change to orange
I don’t know how to do all these, taken into account that each Column containing cities/countries have two entries (ie: Miami, Boston).
I understand that there’s need to be 3 separate columns that will hold the USA cities, countries from Europe and countries from Asia in order to make comparison to the table shown above.
On another note, one these steps are done, and rows are colored I would like to make a total count of each row colored the same
Example:
Unchanged Total 1
Orange Total 1
Yellow Total 1
Blue Total 1
I know I’m asking for too much, but I can’t get this to “materialize” at all!
I have a database that I am working on that after extraction and conversion from another database. I need to color code each row based on the content of 3 different columns.
Column A | Column B | Column C | Column D
1 Name | Location1 | Location2 | Location3
2 Smith | Miami, Boston
3 Philips | Detroit, El Paso | Los Angeles, Seattle | San Francisco, Las Vegas
4 Mercer | Phoenix, Wyoming | Greece, Romania | Rome, Barcelona
5 Ward | Atlanta, New York | Singapore, Malaysia | Cambodia, Philippines
Basically, what I would like is to compare Columns B,C,D and change row color if the following criteria are made:
a) If only one entry was made under Column B,C,D then it will remain unchanged
b) If ALL Columns have entries belonging to the same country (ie: U.S.A) then change it to yellow
c) If 2 Columns have countries/cities from Europe then the row color will change to blue
d) If 2 Columns have countries/cities from Asia then the row color will change to orange
I don’t know how to do all these, taken into account that each Column containing cities/countries have two entries (ie: Miami, Boston).
I understand that there’s need to be 3 separate columns that will hold the USA cities, countries from Europe and countries from Asia in order to make comparison to the table shown above.
On another note, one these steps are done, and rows are colored I would like to make a total count of each row colored the same
Example:
Unchanged Total 1
Orange Total 1
Yellow Total 1
Blue Total 1
I know I’m asking for too much, but I can’t get this to “materialize” at all!