Conditional formatting rules using a formula AND an icon set

Copper Contributor

Hi all

 

Is it possible to create a conditional formatting rule that uses a formula and also allows me to use an icon set?

 

The conditional formatting dialog has an option for formatting based on a formula, which is ideal, but the resulting options don't let me use icon sets or data bars etc. They only let me change the font formatting, borders, patterns etc.

 

I want to show an icon based on the value of the cell, but only on lines where the word "MAINT" appears in a certain cell at the start of the row. 

 

Is that doable?

 

Olly

 

7 Replies

@olivermuk 

Hi Olly,

You may work with formulas and the icons set, the only issue formulas here work only with absolute references. As workaround you may use OFFSET, INDIRECT or INDEX to have the proper references. For such sample

image.png

first formula is

=INDIRECT("A"&ROW())*1.2

second one is similar.

Another trick, you can't apply such rule to entire range at once. Thus first apply to B1 (for our sample) and that move formatting by Format Painter on other cells.

 

 

 

@Sergei Baklan Hmmm...whilst it works, you end up with a CF rule for each cell.

 

@Jeremy Norbury 

That how it works. I don't know another solution, sorry.

I agree - it's just not very scalable.
Sergei thank you, your suggestion worked a treat

@Jeremy Norbury 

It does not help when scrolling though the CF list the contect of 'Applies to' just disappears(not really). Close and open the 'Rules Manger' brings them back. This makes it very hard to adjust the rules on the specific cells.

Florisz_0-1630668791061.png

 

@Florisz Yeah that's not very handy at all, is it?