Ok, you will need to use the VLOOKUP formula in your conditional formatting.
Try this formula in the conditional formatting dialog for cell C8 on sheet 'Macro'
and set the format to the color Green.
Then, do the same thing and put in this next formula for the same cell on the conditional formatting dialog:
and set the format to the color Red.
Then, you will just need to copy the conditional formatting to the other cells, referencing the correct cells in the formula.
One problem I see that you may run into is the the data in your data table under the GW1, GW2, etc. don't exactly match the data in the row headers on sheet 'Stats'. For example, the text "WHU(a)" in cell C9 on sheet 'Macro' doesn't have a compliment in the sheet 'Stats'. I see that there is a "WHU" on sheet 'Stats', but no "WHU(a)". You will need to either edit the values in your 'Macro' sheet to match the lookup values in the 'Stats' sheet, or we will have to figure out something else, which can be more problematic.
Let me know if you are able to get it working.
Bookmarks