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

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
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,223,893
Messages
6,175,239
Members
452,621
Latest member
Laura_PinksBTHFT

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