Brad_Miller
Board Regular
- Joined
- Sep 18, 2014
- Messages
- 56
Please can one of you geniuses excel guys or ladies help me with a bit of code to format an entire spreadsheet.
I have a excel workbook with our entire hospitals directory.
Each section of the hospital has a different colour code and I need to conditionally format the entire workbook based on these codes.
Only one cell needs the colour change and the colur is depeant on the value of the directly opposite cell
here is the colour references I have to assign to the cell based on the other cells value
and an example of the data
column A is where the colour needs to be applied and based on value in column G
I have tried condition formatting but there are merged rows so it screws up the entire layout so I would imagine some vbs would be the better thing to use?
I have resorted to copying the format and manually applying to the cell based on column G value
thanks a million
I have a excel workbook with our entire hospitals directory.
Each section of the hospital has a different colour code and I need to conditionally format the entire workbook based on these codes.
Only one cell needs the colour change and the colur is depeant on the value of the directly opposite cell
here is the colour references I have to assign to the cell based on the other cells value
and an example of the data
column A is where the colour needs to be applied and based on value in column G
I have tried condition formatting but there are merged rows so it screws up the entire layout so I would imagine some vbs would be the better thing to use?
I have resorted to copying the format and manually applying to the cell based on column G value
thanks a million