Excel - Conditional Formatting For Constants

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

CONDITIONAL FORMATTING FOR CONSTANTS IN EXCEL

Did you think that conditional formatting for constants (blue font color for example) was impossible?
Well think again!

1. Create a new named range called cellhasnoformula. In the ‘Refers to:’ box type the following:
=NOT(GET.CELL(48,INDIRECT(“rc”,FALSE)))

2. Select some cells (preferably with both formulas and constants in) to apply your conditional
formatting to

3. Create a new conditional formatting rule, choose the ‘use a formula…’ option
4. Type the following formula in the ‘rule description': =cellhasnoformula

5. Click the format button and choose the formatting you would like for your constants (blue font
color for example). Click OK twice to apply the formatting!

The cool thing about this is, that if any cell in the range changes from being a constant to a formula
(or vice versa), the font color will automatically change!

You might also like