+ Reply to Thread
Results 1 to 2 of 2

Sumif

  1. #1
    Registered User
    Join Date
    03-22-2004
    Posts
    14

    Sumif

    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?

  2. #2
    Forum Expert
    Join Date
    06-18-2004
    Location
    Canada
    MS-Off Ver
    Office 2016
    Posts
    1,474
    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!

    Quote Originally Posted by jjj
    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?
    Last edited by Domenic; 01-19-2005 at 02:26 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1