Forum Discussion
Conditional formatting rules using a formula AND an icon set
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
- SergeiBaklanDiamond Contributor
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
first formula is
=INDIRECT("A"&ROW())*1.2second 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.
- Patrick MatthewsCopper ContributorSergei thank you, your suggestion worked a treat
- Jeremy NorburyBrass Contributor
SergeiBaklan Hmmm...whilst it works, you end up with a CF rule for each cell.
- FloriszBrass Contributor
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.