ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   filter for non-formulas (https://www.excelbanter.com/excel-discussion-misc-queries/1340-filter-non-formulas.html)

S. H. Drew

filter for non-formulas
 
I have a list of data. Is there a way I can filter a column of rows to
extract only those cells that do not contain formulas?

Frank Kabel

Hi
you could use a helper column together with a UDF. Put the following
code in one of your modules:
public function is_formula(rng as range)
is_formula=rng.hasformula
end function

and use this in your helper column:
=IS_FORMULA(A1)

--
Regards
Frank Kabel
Frankfurt, Germany

"S. H. Drew" schrieb im Newsbeitrag
...
I have a list of data. Is there a way I can filter a column of rows

to
extract only those cells that do not contain formulas?




All times are GMT +1. The time now is 05:27 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com