+ Reply to Thread
Results 1 to 7 of 7

Need help for result = "ERROR" with SUMIF Formula

  1. #1
    Forum Contributor
    Join Date
    08-14-2012
    Location
    USA
    MS-Off Ver
    Excel 2007, MS 365 (Windows 10 Pro 64-bit)
    Posts
    810

    Need help for result = "ERROR" with SUMIF Formula

    Hello All,
    I'm trying to use the formula SUMIF but need result = "ERROR" if there's any criteria value = 0. Please see sample in attached and help me.

    Regards,
    tt3
    Attached Files Attached Files
    Last edited by tuongtu3; 04-13-2015 at 09:59 PM. Reason: SOLVED

  2. #2
    Valued Forum Contributor
    Join Date
    04-12-2012
    Location
    India
    MS-Off Ver
    Excel 2007, 2010, 2013, 2016, 2019, Office 365, Google Spreadhsheet
    Posts
    640

    Re: Need help for result = "ERROR" with SUMIF Formula

    Hi there,

    Please refer the attach XLS file. It will give you "ERROR" to be display if you have "0.00" in column C again.


    Let me know if this is the same you were looking for
    Attached Files Attached Files
    Thanks,
    Anil Dhawan


    Click *Add Reputation to say "Thanks" and don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved) if you are satisfied.

    Don't stop when you are tired. STOP when you are done!

  3. #3
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Need help for result = "ERROR" with SUMIF Formula

    Here!

    =IF(ISNUMBER(SUMPRODUCT(MATCH(10,(A1:A17&C1:C17)+0,0))),"ERROR",SUMIF(A:A,1,C:C))
    Cheers!
    Deep Dave

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Need help for result = "ERROR" with SUMIF Formula

    In F1 Cell


    =IF(COUNTIFS(A:A,ROWS($1:1),C:C,0),"Error",SUMIF(A:A,ROWS($1:1),C:C))


    Drag it down..


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  5. #5
    Forum Contributor
    Join Date
    08-14-2012
    Location
    USA
    MS-Off Ver
    Excel 2007, MS 365 (Windows 10 Pro 64-bit)
    Posts
    810

    Re: Need help for result = "ERROR" with SUMIF Formula

    Hello All,

    @adhawan06: work fine
    @ Sixthsense : work fine
    @NeedForExcel: not sure why it doesn't work (all result = "ERROR")


    Regards,
    tt3

  6. #6
    Valued Forum Contributor
    Join Date
    04-12-2012
    Location
    India
    MS-Off Ver
    Excel 2007, 2010, 2013, 2016, 2019, Office 365, Google Spreadhsheet
    Posts
    640

    Re: Need help for result = "ERROR" with SUMIF Formula

    Glad it worked and thanks for adding the feedback.


    Now, please take few seconds to mark this thread as SOLVED.

  7. #7
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Need help for result = "ERROR" with SUMIF Formula

    Quote Originally Posted by tuongtu3 View Post
    Hello All,

    @adhawan06: work fine
    @ Sixthsense : work fine
    @NeedForExcel: not sure why it doesn't work (all result = "ERROR")


    Regards,
    tt3
    Works at my end.. :O But now that you have a few solutions, I guess it not required..

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 01-10-2014, 04:45 PM
  2. Why is my Formula result = "True" rather than "False"
    By Mike Burns in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-05-2012, 10:14 AM
  3. Replies: 5
    Last Post: 10-12-2010, 06:46 AM
  4. VBA SumIf Result "TRUE" instead of a number
    By tbone90s in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-07-2009, 04:57 AM
  5. Mysterious "sumif" result
    By Mike1w in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-29-2007, 11:55 AM

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