Shading a row red as soon as a cell entry in column L says "Error"

A

andreashermle

Dear Experts:

I got a table that ranges from A1:Z3000. It has a named range
"DataList".
I would like those rows that have the expression 'Error' in Column 'K'
to acquire red shading.

How can this be achieved using a macro and / or conditional
formatting?

Help is much appreciated. Thank you very much in advance.

Regards, Andreas
 
J

Jim Thomlinson

Select cells A1:Z3000
Select format | Conditional Formatting...
Select Formula is =$K1 = "Error"
Set your red format.
Ok
 
B

Bernard Liengme

Select A1:Z30000
Using conditional formatting with rule: =$K1="Error"
Note the use of the $
Had your selection started with A21 then you would use =$K21="Error"
best wishes
 
A

andreashermle

Select cells A1:Z3000
Select format | Conditional Formatting...
Select Formula is =$K1 = "Error"
Set your red format.
Ok
--
HTH...

Jim Thomlinson









- Show quoted text -

Dear Jim,

thank you very much for your superb help. It works as desired.
Just being curious. How would the macro solution look like?
Regards, Andreas
 
A

andreashermle

Select A1:Z30000
Using conditional formatting with rule: =$K1="Error"
Note the use of the $
Had your selection started with A21 then you would use =$K21="Error"
best wishes
--
Bernard Liengme
Microsoft Excel MVP
people.stfx.ca/bliengme
email address: remove uppercase characters










- Show quoted text -

hey Bernard,
thank you very much for your superb help. It works as desired.
Just being curious. How would the macro solution look like?
Regards, Andreas
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top