+ Reply to Thread
Results 1 to 6 of 6

AVERAGEIFS & SUMIFS return ERROR even as data is non-zero

  1. #1
    Registered User
    Join Date
    09-08-2016
    Location
    Los Angeles, CA
    MS-Off Ver
    Office 365
    Posts
    22

    AVERAGEIFS & SUMIFS return ERROR even as data is non-zero

    Though this seems a common question, I haven't found one that quite meets my situation.

    Even when data in range are neither zero or non-blank, my AVERAGEIFS and SUMIFS return #DIV/0! and " - ", respectively. This doesn't make sense.

    Errors are shown in J53:K55; the results that should be are in J185:K187, where column J refers to AVERAGEIFS and K to SUMIFS. Corresponding calc ranges are to the right.
    Please Login or Register  to view this content.
    Screen Shot 2019-09-10 at 3.42.04 AM.png

    First, the data is there, how can I get Excel to output the correct responses?

    Secondly, is there formula that can evaluate the ranges even when "zero" and "blank" exist?

    Thank you!
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: AVERAGEIFS & SUMIFS return ERROR even as data is non-zero

    Why put "" as a text entry in N53????

    Use this:
    =AVERAGEIFS($N53:$AK53,$N$5:$AK$5,">="&$G53,$N$5:$AK$5,"<="&$H53,$N$53:$AK$53,"<>")
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: AVERAGEIFS & SUMIFS return ERROR even as data is non-zero

    Or to exclude zeros and those pointless text ""

    =AVERAGEIFS($N53:$AK53,$N$5:$AK$5,">="&$G53,$N$5:$AK$5,"<="&$H53,$N$53:$AK$53,">0")
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    09-08-2016
    Location
    Los Angeles, CA
    MS-Off Ver
    Office 365
    Posts
    22

    Re: AVERAGEIFS & SUMIFS return ERROR even as data is non-zero

    Ah ha, ">=" works; "=>" does not. Made all the difference, so much work saved!

    Thank you Glenn! Also, I'm not sure when "" is appropriate to use. I was thinking that it would help the formula skip zeros. It seems it just makes things more complicated and that averageifs skips them anyway.

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: AVERAGEIFS & SUMIFS return ERROR even as data is non-zero

    It took me ages to spot that!! You're welcome.



    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

  6. #6
    Registered User
    Join Date
    09-08-2016
    Location
    Los Angeles, CA
    MS-Off Ver
    Office 365
    Posts
    22

    Re: AVERAGEIFS & SUMIFS return ERROR even as data is non-zero

    Yes. Apologies, I'd click the "reputation" button ten times if I could. Thanks again, Glenn!

    --- whoops, it seems I already did both. Thanks Glenn!

+ 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. SUMIFS and AVERAGEIFS using multiple criteria help
    By Thunderclap911 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-19-2018, 04:17 PM
  2. [SOLVED] Sumifs or Averageifs
    By ntate in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-05-2014, 07:45 PM
  3. Is Error with Sumifs to return blank not 0
    By LauraWork in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-27-2013, 11:48 AM
  4. [SOLVED] AverageIFs / SumIfs
    By Decar in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-09-2013, 02:59 PM
  5. [SOLVED] AverageIFS (or even SUMIFS/COUNTIFS) on large data set
    By natetheblade in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-13-2013, 01:37 AM
  6. Index with sumifs and averageifs
    By LUNARCEA in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-29-2013, 11:59 AM
  7. [SOLVED] sumifs excel 2007 error return 0
    By marian3232 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-18-2013, 04:15 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