Conditional Formatting colors between two tables

learningstatistics

Board Regular
Joined
Dec 3, 2015
Messages
56
Hello,

I have three tables.
Table 1 is the original table which is a table that shows years and criteria and in it we have colors where each color is used for a certain grade. So BLUE=GREAT, YELLOW=GOOD, RED=BAD, and white = NA.
Table 2 is derived from table 1 using a match function and a vlookup which uses column A of table 3. (Please see formula cells in table 2). So basically for every A,B,C (from table 3) and year you can see the color in a certain cell.
I want to use table 2 to fill in the colors in the corresponding cells of table 3 (I don't need to fill in BAD, GOOD, GREAT, NA in table 3, just the colors. I still want my numbers in table 3 to show too with the colors. So Cell of A and 2015 (which shows a 2 should be Yellow and (A,3) should be Red and so on.

Please see the pic attached.

1611898860861.png




Thank you!!!
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Have table 2 and table 3 the same dimensions?
Are they on two sheets with the same structure?
 
Upvote 0
Hello,

Table 2 and table 3 are not exactly of the same dimension as I added a row for match on the top of table 2 to get the colors from table 1 to table2.
TAble 2 also uses a vlookup that depends on $A11 (Please see yellow cell with the formula) in table 2.

The tables are in the same sheet and they look just the same way. Table 3 is to the left of table 2. I appreciate your time. If you have any other question please let me know.

Thank you
 
Upvote 0
Map3
BCDEFG
1123GOODBAD
1253GREATNA
1329NAGOOD
Blad1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B11:C13Expression=OFFSET($A11,0,COLUMN()+3,1,1)="BAD"textNO
B11:C13Expression=OFFSET($A11,0,COLUMN()+3,1,1)="NA"textNO
B11:C13Expression=OFFSET($A11,0,COLUMN()+3,1,1)="GREAT"textNO
B11:C13Expression=OFFSET($A11,0,COLUMN()+3,1,1)="GOOD"textNO
 
Upvote 0

Forum statistics

Threads
1,215,001
Messages
6,122,648
Members
449,092
Latest member
peppernaut

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top