Conditional Formatting to Highlight Entire Row

nirvehex

Well-known Member
Joined
Jul 27, 2011
Messages
505
Office Version
  1. 365
Platform
  1. Windows
Hi, I'm trying to figure out a way to highlight an entire row green if the value in column AY=1020.

Any idea how to use conditional formatting to do this? Or another easier way?

Thanks!
 
Thanks All! Perhaps I need to run this as a macro? As the conditional formatting should apply to cells A2 to CK and last row. The number of rows varies each time.

Anyway to code this with VBA? Or shouldn't that matter?
 
Upvote 0

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
No VBA needed.
Select A2 to CK last row & use this formula
=$AY2=1020
 
Upvote 0
Hi, that actually did work. I basically set the formula =$AY2=1020 with the format of green fill, and applies to: $a$2:$ck. Then when my rows get inserted it keeps getting added to each row.

One final question: How do I get the formula which drives this to say =$AY2=1020 & =$AQ>5?

Thanks!
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,334
Members
452,636
Latest member
laura12345

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