Conditional Formatting to Highlight Entire Row

nirvehex

Well-known Member
Joined
Jul 27, 2011
Messages
503
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!
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
1 B C D E G
2 765 667 101 829 417
3 12 899 264 495
4 964 195 280 487
5 238 171 966 490
6 138 860 620 496
7 473 267 586 417
8 748 103 463 732
9 286 232 463 79

Conditional Format
Formula: =$E2=$G$2
Applies to: =$B$2:$E$9

This highlights row 7.
 
Last edited:
Upvote 0

Book1
ABCDEFG
11BCDEG
22765667101829417
3312899264495
44964195280487
55238171966490
66138860620496
77473267586417
88748103463732
9928623246379
10
11Conditional Format
12Formula: =$e2=$G$2
13Applies to: =$B$2:$E$9
Sheet1


This highlights row 7
 
Last edited:
Upvote 0
Thanks cnestg8r - I get the gist of this. Which option do I select under Conditional Formatting though? When I go to "Use a formula to determine which cells to format" I only see a box for one formula and not an "applies to" box. What am I missing?
 
Upvote 0
Use formula and then choose your method of highlighting. You can "Bold" the font, change the font size or color, fill the the background color...
 
Upvote 0
I go to Conditional formatting -> New rule -> use a formula to determine which cells to format.

In the formula box I type =$AY=1020 (for any row where the value in column AY=1020, I want to highlight the row green.

Format I select fill = green.

This isn't working, but I'm not sure what I'm doing wrong.
 
Upvote 0
What is the range of cells you want this to work on?
 
Upvote 0
Fluff is right. In the dialog where you set the formula, make sure "applies to" includes the entire array. Rows and columns.
 
Upvote 0
I go to Conditional formatting -> New rule -> use a formula to determine which cells to format.

In the formula box I type =$AY=1020 (for any row where the value in column AY=1020, I want to highlight the row green.

Format I select fill = green.

This isn't working, but I'm not sure what I'm doing wrong.


Change the formula to =$AY1=1020
 
Upvote 0
If there is one header row, the data starts in AY2. Therfore you need $AY2=1020. Note that you still need to include all columns of the matrix in the range.
 
Upvote 0

Forum statistics

Threads
1,214,606
Messages
6,120,483
Members
448,967
Latest member
visheshkotha

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