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

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
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
how about
=and($ay2=1020,$aq2>5)
 
Upvote 0

Forum statistics

Threads
1,216,030
Messages
6,128,408
Members
449,448
Latest member
Andrew Slatter

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