+ Reply to Thread
Results 1 to 8 of 8

If error(sumifs......

  1. #1
    Forum Contributor
    Join Date
    04-12-2013
    Location
    Crayford, kent
    MS-Off Ver
    Excel 2013
    Posts
    394

    If error(sumifs......

    Hi

    I have this formula

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    I want it to return 0.1 if what it is looking at has no value, but it keeps returning 0.0....

    What am i missing?

    Dan

  2. #2
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: If error(sumifs......

    try this..

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Regards!
    =DEC2HEX(3563)

    If you like someone's answer, click the star to give them a reputation point for that answer...

  3. #3
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: If error(sumifs......

    Maybe..

    =MAX(SUMIFS(Sheet2!$AT:$AT,Sheet2!$AP:$AP,V7,Sheet2!$AS:$AS,V5,Sheet2!$AQ:$AQ,V10),0.1)
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: If error(sumifs......

    While others have already solved the problem...

    I'll just answer the actual question..
    Quote Originally Posted by shiftyspina View Post
    What am i missing?
    Sumif(s) doesn't error when there are no matching values, it simply returns 0
    0 is NOT an error, it's a prefectly valid and real numerical value.
    Therefor the Iferror doesn't see it as an error, so it just displays the result of the sumifs... 0

  5. #5
    Forum Contributor
    Join Date
    04-12-2013
    Location
    Crayford, kent
    MS-Off Ver
    Excel 2013
    Posts
    394

    Re: If error(sumifs......

    Hi Both

    They work great, but something i forgot to say/do was look at a cell text before doing this....

    Basically in cell V10 it will say "Shop", "Bulk" or "Direct", if it says "Shop" i want it to do the sumifs, and either return a value its looking at or o.1, but if its "Bulk" or "Direct" i want it then to say 0.0....

    Using the Max function it still returns 0.1, i cant figure out how to incorporate if(cell="Shop",Sumifs,if(cell="Bulk",0,if(cell="Direct",0)))..... which is what i would usually do

  6. #6
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: If error(sumifs......

    use

    =IF(V10="Shop",MAX(SUMIFS(Sheet2!$AT:$AT,Sheet2!$AP:$AP,V7,Sheet2!$AS:$AS,V5,Sheet2!$AQ:$AQ,V10),0.1),0)

  7. #7
    Forum Contributor
    Join Date
    04-12-2013
    Location
    Crayford, kent
    MS-Off Ver
    Excel 2013
    Posts
    394

    Re: If error(sumifs......

    Brilliant thank you all

  8. #8
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: If error(sumifs......

    Glad to help, thanks for the feedback

+ 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. Problem with #VALUE! error using SUMIFS
    By jdavis501 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-01-2012, 06:19 PM
  2. SUMIFS and #VALUE! error
    By BDAtlanta in forum Excel General
    Replies: 3
    Last Post: 09-18-2011, 08:43 PM
  3. Excel 2007 : SUMIFS function & #VALUE error
    By arangoa79 in forum Excel General
    Replies: 7
    Last Post: 11-19-2009, 06:00 PM
  4. Sumifs error in formula
    By Grimzby in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 02-29-2008, 06:39 AM
  5. SUMIFS() error?
    By fgrose in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-07-2006, 01:45 PM

Tags for this Thread

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