![]() |
Conditional Format Based on Formula in Cell
Hello,
I have a problem that I think should be easy to solve but I am clueless. I have a column of numbers. Some are hard coded and some are formulas. I would like to conditionally format this column based on whether or not the cell is a hard code or a formula. Is this easy to do? Any help would be greatly appreciated. Thank you Dan |
Conditional Format Based on Formula in Cell
Copy/paste this UDF to general module in your workbook.
Function IsFormula(Cell) IsFormula = Cell.HasFormula End Function CFFormula is: =IsFormula(cellref) Gord Dibben MS Excel MVP On Thu, 3 Sep 2009 09:48:08 -0700 (PDT), cardan wrote: Hello, I have a problem that I think should be easy to solve but I am clueless. I have a column of numbers. Some are hard coded and some are formulas. I would like to conditionally format this column based on whether or not the cell is a hard code or a formula. Is this easy to do? Any help would be greatly appreciated. Thank you Dan |
All times are GMT +1. The time now is 01:34 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com