+ Reply to Thread
Results 1 to 8 of 8

Code to speed up sumproduct formulas

Hybrid View

  1. #1
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Code to speed up sumproduct formulas

    tbeast,

    Attached is a modified version of your posted workbook.
    I updated all of the named range formulas.
    I noticed that the ranges on the 'Data' sheet had some blank cells, so I based on the row count for all named ranges on 'Data' column A, so that they would all have the same row count as the named range "Dates". This was necessary because Sumproduct multiplies arrays together, and the arrays must have the same row count or the formula will return an error.

    I also turned the calculation mode to automatic. Changing the week beginning or week ending sees the whole table on the 'Weekly' sheet get updated basically instantly.
    Attached Files Attached Files
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

+ 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