I think VBA is the way to go but I was just looking at this ... to limit the complexity of the conditional formats you'd have to setup you could use an adjacent matrix, eg:
You can then setup your 6 formats for 1-6 based on the values of these cells, eg with G4:AP38 highlighted:
Rule1:
=AT4=1
set format for permission 1
Rule2
=AT4=2
set format for permission 2
Rule3
=AT4=3
set format for permission 3
Rule 4
=AT4=4
set format for permission 4
Rule5
=AT4=5
set format for permission 5
Rule6
=AT4=6
set format for permission 6
Note: this is only possible with formula given use of XL2007 - earlier versions are limited to 3 conditional formats (plus standard) so in this instance would be a necessity.
Bookmarks