Conditional formatting for cells containing calculations

  • Thread starter Thread starter TiChNi
  • Start date Start date
T

TiChNi

I would like to use conditional formatting to highlight those cells
containing calculations. It appears that conditional formatting only
allows you to format cells that have specific results (equal to,
greater than, etc.) I just want to be able to visually distinguish
between those cells which contain formulas versus those which need to
be hard coded with numbers or text.

Thanks for you help!
 
You don't need conditional formatting:

Edit > Goto... > Special... > Formulas
and then apply the format
 
Alternate method so's you don't have to repeat the F5>Special every time you
enter new formulas in blank cells.

Copy/paste this UDF to a general module in your workbook.

Function IsFormula(cell)
IsFormula = cell.HasFormula
End Function

Select all existing cells and potential cells

Then in CF>Formula is: =IsFormula(A1)

Format to a pattern and OK your way out.


Gord Dibben MS Excel MVP
 
Back
Top