Highlight entire row if error found

richarddec

Board Regular
Joined
Mar 7, 2006
Messages
77
If columns AA:AD are equal to TRUE, can the entire row that contains the "TRUE" be highlighted?
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.

Scott Huish

MrExcel MVP
Joined
Mar 17, 2004
Messages
19,958
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
This assumes starting at row 1, adjust as necessary:

Select all the columns you want highlighted
Click on Format, then Conditional Formatting
Under Condition 1, change Cell Value is to Formula Is and put in the following formula:
=AND($AA1:$AD1)
Click on Format
Click on Patterns
Select a Color
Click OK
Click OK
 

richarddec

Board Regular
Joined
Mar 7, 2006
Messages
77
The trick of it is that if a cell in COLUMN AA to AD have a TRUE in it, I want the whole row of the true item to be highlighted.
 

Scott Huish

MrExcel MVP
Joined
Mar 17, 2004
Messages
19,958
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
I want the whole row of the true item to be highlighted.

Yes, that is why I said select all the columns you wanted to highlight, so if your row goes from column A to AD, select all those columns, and do like I said above.


a text TRUE or a value TRUE?

All 4 cells or any?

If it's any and a value TRUE

just change the formula to:
=OR($AA1:$AD1)
 

richarddec

Board Regular
Joined
Mar 7, 2006
Messages
77
Ahh I see. I used the OR formula and its doing great. Thanks a bunch. Hopefully one day I will know these things as good as many of the people here do.

One day... mark my words!! *shakes fist*
 

Forum statistics

Threads
1,137,064
Messages
5,679,403
Members
419,825
Latest member
MegastarMagus

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
Top