Is there a function that will tell me whether or not a cell is a type value or a formula
W wammer Aug 24, 2004 #1 Is there a function that will tell me whether or not a cell is a type value or a formula
H hgrove Aug 24, 2004 #2 wammer wrote... Is there a function that will tell me whether or not a cell is a typed value or a formula? Click to expand... There's no built-in function that does so, but you could use defined names calling XLM functions or use user-defined functions (udfs) written in VBA. This was discussed yesterday. http://www.google.com/[email protected]
wammer wrote... Is there a function that will tell me whether or not a cell is a typed value or a formula? Click to expand... There's no built-in function that does so, but you could use defined names calling XLM functions or use user-defined functions (udfs) written in VBA. This was discussed yesterday. http://www.google.com/[email protected]
F Frank Kabel Aug 24, 2004 #3 Hi 1. create a custom function in VBA. e.g. public function is_formula(rng as range) is_formula=rng.hasformula end function 2. Use the following formula =IS_FORMULA(A1) for cell A1
Hi 1. create a custom function in VBA. e.g. public function is_formula(rng as range) is_formula=rng.hasformula end function 2. Use the following formula =IS_FORMULA(A1) for cell A1
G Gord Dibben Aug 24, 2004 #4 wammer No built-in function. User defined function..... Function IsFormula(Cell) Application.Volatile IsFormula = Cell.HasFormula End Function Copy/paste to a general module in your workbook Usage is: =ISFORMULA(A1) Alternative if you just want to find which cells have formulas.......... Select a range of cells and F5>Special>Formulas>OK Gord Dibben Excel MVP
wammer No built-in function. User defined function..... Function IsFormula(Cell) Application.Volatile IsFormula = Cell.HasFormula End Function Copy/paste to a general module in your workbook Usage is: =ISFORMULA(A1) Alternative if you just want to find which cells have formulas.......... Select a range of cells and F5>Special>Formulas>OK Gord Dibben Excel MVP