Software

10 creative uses for Excel's conditional formatting feature

Highlight a row based on a single value

Select the entire data range (not the column headings) so Excel can format the entire record (row). The figure above shows the formula-based settings. The $G2 component creates a relative address, which updates with each row: G4, G5, G6, and so on. When the value in the referenced cell equals the string "Condiment," Excel highlights the entire row.

About

Susan Sales Harkins is an IT consultant, specializing in desktop solutions. Previously, she was editor in chief for The Cobb Group, the world's largest publisher of technical journals.

2 comments
mark
mark

You have to go in to Conditional Formatting, find and open the rule for edit (but don't have to make changes), [OK] it, [Accept] it and [Close] it. What a pain! So how is this made 'Dynamic'?

jberezinski
jberezinski

Hi Susan, great tips for Excel users. But what do you mean "This rule is unstable if you use normal referencing"? I realize it might be off-topic or beyond the scope of your post, but is there a straight-forward set of rules or guidelines for determining when it is appropriate to use named ranges so that the formula or conditional formula will produce the desired outcome? I would have probably attempted this using normal referencing, and when it didn't work, I would have probably resorted to using additional columns of formulas referencing the original data set / range.