+ Reply to Thread
Results 1 to 4 of 4

#DIV/0 error when dragging sumproduct formula

  1. #1
    Registered User
    Join Date
    02-28-2018
    Location
    Denver, Colorado
    MS-Off Ver
    Excel for Mac 2011
    Posts
    2

    #DIV/0 error when dragging sumproduct formula

    Hello,

    I'm having a slight problem. I've added daily data (from 2015-2018) for the VIX to a working spreadsheet (attached). When I try to drag the formula I had previously used for dates (2006-2014) that worked in column D, I now get a #DIV/0 error for the new data. Can someone help me please?

    Thanks for your help.

    Threeputt
    Attached Files Attached Files

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: #DIV/0 error when dragging sumproduct formula

    your ranges don't go down to the 2015 dates. but if you want a simple fix put =IFERROR((your formulas),"") otherwise I'd try to extend your formula ranges (daterange and closevalues).
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

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

    Re: #DIV/0 error when dragging sumproduct formula

    Sam is right, your named ranges don't extend all the way to the end of your data.

    Also, you might try averageifs instead of sumproducts.
    And using iferror to hide the error

    =IFERROR(ROUND(AVERAGEIFS(CloseValues,daterange,">="&D2-DAY(D2)+1,daterange,"<="&EOMONTH(D2,0)),2),"")

  4. #4
    Registered User
    Join Date
    02-28-2018
    Location
    Denver, Colorado
    MS-Off Ver
    Excel for Mac 2011
    Posts
    2

    Re: #DIV/0 error when dragging sumproduct formula

    Thank you both for the help, I changed the ranges.

+ 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. Error with sumproduct formula
    By jando4 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-05-2016, 03:31 PM
  2. Replies: 1
    Last Post: 06-24-2015, 10:47 PM
  3. SUMPRODUCT HELP Dragging formula accross table
    By St3ff3ns in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-24-2015, 05:23 AM
  4. [SOLVED] Dragging SUMPRODUCT formulas downward is not working properly
    By InterstateRentals in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 01-11-2014, 07:09 PM
  5. Dragging Array Formula gives #REF Error
    By brodielepi in forum Excel General
    Replies: 2
    Last Post: 01-11-2012, 12:22 PM
  6. SUMPRODUCT Help - Dragging formula down.
    By Dusty in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-23-2007, 10:38 PM
  7. [SOLVED] Error values:DIV/0! error in SumProduct formula with no division
    By Jerry W. Lewis in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-06-2005, 07:05 PM

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