HI,
This should be quite straight forward,
How can i use sumif ( all values are numeric), and return "Fail" if any of them contain a text?
HI,
This should be quite straight forward,
How can i use sumif ( all values are numeric), and return "Fail" if any of them contain a text?
Try the following...
=IF(SUMPRODUCT(--(ISTEXT(A1:A10))),"Fail",SUM(A1:A10))
OR
=IF(SUMPRODUCT(--(ISNUMBER(A1:A10)))=ROWS(A1:A10),SUM(A1:A10),"Fail")
...which will also return "Fail" if any of the cells is empty.
Hope this helps!
Originally Posted by jjj
Last edited by Domenic; 01-19-2005 at 02:26 PM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks