Conditional formatting using AND statement with Error

rjplante

Well-known Member
Joined
Oct 31, 2008
Messages
572
Office Version
  1. 365
Platform
  1. Windows
I would like to have a cell that will use a multiple condition for cell formatting. I need the cell to check a cell at the top of the column and if the current cell is in error. I currently have the following in the conditional formatting formula field:

=AND(D$4 = "YES", C11=Error)

This does not result in the yellow cell fill formatting being applied to cell C11.

Is it possible to incorporate an AND statement that uses a standard formula along with an Error statement? If so how do I enter it in the conditional formatting formula field?
 
Both those last two expressions are looking at the wrong row. They should be looking at C9 & C6 respectively.
 
Upvote 0

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
I found that I had the formula applied to the whole workbook and not just the cell I wanted (C11). When I made that change along with the formula above, I got it to work. Thanks for all your support.
 
Upvote 0
Glad you sorted it & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,216,191
Messages
6,129,429
Members
449,509
Latest member
ajbooisen

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