Countif (A1:A5) has formula using the good TypeF function suggested by Ivan Moala
Posted by Mark P. on June 05, 2000 6:59 AM
Ivan now that you helped me out with Countif Isnumber (thank you very much) I have the last question. In my project actualy I need to count if cells are numbers ONLY, and to exclude cells that have formulas in them. To find out if they have formula, I tried to use your User defined function posted by you last year,called TypeF, which is excelent BTW (I used it many times successfully). For the range A1:A5, A1=3, A2=4, A3=B1+C7, A4=BLANK, A5=7. I tried to count cells with formulas using this formula: =countif(A1:A5,TypeF(A1:A5)=8) but I get zero, or when I use
=IF(OR(typef(A1:A3))=8,COUNT(A1:A3),)also does not work.Thank you again for help.