Conditional Formatting

Spikenaylor

Board Regular
Joined
Apr 14, 2013
Messages
115
Office Version
  1. 365
Platform
  1. Windows
Hi there

Can anyone help to start me off in the right direction

I need conditional formatting to be active for the Damaged Column but checking the name column,Age and Damaged Column

ie.
If Damaged column value is 5% or more then colour cell red
OR
If Damaged column value is <5% then colour cell Green
OR
If Name column value = Line22 AND Age is <20 then colour cell Orange
OR
If Name Column value = Babcock AND Age is <20 AND Age is <20 then colour cell Blue
OR
If name coloumn value = Babcock AND Age is >35 then colour cell Purple

I just cant figure out how to code the conditional formatting to do all this for the entire column, can do it for a row, but as I have 1200 rows!!

Any help greatly appreciated
Mike


NameAgeDamagedFormat Colour
Line22203%Green all OK
Line22193%Orange due to 19 age
Line22205%Red due to 5% limit
Babcock203%Green all OK
Babcock193%Blue due to 19 lower age limit
babcock403%Purple due to 40 Upper age Limit
Line22201%Green all OK
Babcock305%Red due to 5% limit

<tbody>
</tbody>
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
what version of excel
and you want the whole row to change colour

now because of
If Damaged column value is <5% then colour cell Green
most of those row would be green

so how does the name and age over ride those % value rules
babcock403%Purple due to 40 Upper age Limit

<tbody>
</tbody>



BUT the value is less than 5% - so green

you need to have the rules unique or which ones take a priority
 
Upvote 0

Forum statistics

Threads
1,214,979
Messages
6,122,550
Members
449,088
Latest member
davidcom

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