conditional formatting ISODD ISEVEN

John_Whin

Board Regular
Joined
Feb 26, 2013
Messages
78
Platform
  1. Windows
Based on odd or even value in column A want to color cells in columns B - K.

If A1 is even want to color B1:K1 light green, if A1 is odd color B1:K1 darker green.
If A2 is even want to color B2:K2 light green, if A2 is odd color B2:K2 darker green.

Want to extend that formatting down whole sheet based on odd or even value in column A.

Thanks
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Select B1 to K last row > Conditional formatting > new Rule > Use a formula > =ISODD($A2) > select format.
The the same as above using
=ISEVEN($A2)
 
Upvote 0
Thought it might be you Fluff, when I paint format down sheet it colors the cells before any value is in column A. how do I keep the cells B:K clear if column A is blank?
 
Upvote 0
Change the Iseven formula to
=AND(ISEVEN($A2),$A2<>"")
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,162
Members
453,021
Latest member
Justyna P

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