+ Reply to Thread
Results 1 to 9 of 9

Workbook optimisation

  1. #1
    Valued Forum Contributor
    Join Date
    02-09-2006
    Location
    Melbourne, Australia
    MS-Off Ver
    Office 2016
    Posts
    1,075

    Workbook optimisation

    The attached debt collection workbook contains many SUMPRODUCT formulas which slow it down considerably. I am looking for a method that will allow me to retain the Forecast worksheet in exactly this format while making the calculations on both worksheets much more efficient. The reason for keeping the Forecast tab format is that I need to keep and add to notes beside the specific customer - I can't afford for the notes to end up on a different row against a different customer.

    I have the workbook open all day and it impacts on the performance of other workbooks also.

    Thanks for looking! I will be most grateful for any suggestions.
    Attached Files Attached Files
    Trish in Oz
    -------------
    A problem well defined is a puzzle half solved


    If you attach a sample of your workbook it will be easier to find a solution. Remember to remove/replace sensitive data before uploading the file. Look here if you need help with attachments:
    http://www.excelforum.com/faq.php?fa...b3_attachments

  2. #2
    Forum Expert Tsjallie's Avatar
    Join Date
    09-15-2012
    Location
    NL
    MS-Off Ver
    2010, 2013, 2016
    Posts
    2,077

    Re: Workbook optimisation

    Did you try SUMIF?
    Did some experimenting with that and it speeded up noticably.
    Last edited by Tsjallie; 04-22-2015 at 04:09 AM.
    Cheers!
    Tsjallie




    --------
    If your problem is solved, pls mark the thread SOLVED (see Thread Tools in the menu above). Thank you!

    If you think design is an expensive waste of time, try doing without ...

  3. #3
    Registered User
    Join Date
    09-08-2010
    Location
    Montenegro
    MS-Off Ver
    Excel 2010
    Posts
    82

    Re: Workbook optimisation

    Are you sure the performance is impacted by SUMPRODUCT only? I see there is a lot of conditional formatting, and when I cleared it, sheet recalculation is much faster.

  4. #4
    Forum Expert Tsjallie's Avatar
    Join Date
    09-15-2012
    Location
    NL
    MS-Off Ver
    2010, 2013, 2016
    Posts
    2,077

    Re: Workbook optimisation

    @Froment: Yes, some conditional formatting can indeed reduce performance too.

  5. #5
    Valued Forum Contributor
    Join Date
    02-09-2006
    Location
    Melbourne, Australia
    MS-Off Ver
    Office 2016
    Posts
    1,075

    Re: Workbook optimisation

    Wow! Lots of ideas here. Thanks everyone - I will try your suggestions and get back to you if I'm still looking for an answer.

  6. #6
    Valued Forum Contributor
    Join Date
    02-09-2006
    Location
    Melbourne, Australia
    MS-Off Ver
    Office 2016
    Posts
    1,075

    Re: Workbook optimisation

    Thanks everyone.

    I've changed the formulas on the Forecast tab to SUMIF and cleaned up my conditional formatting rules. The performance has certainly improved.

    Unfortunately, SUMIF is behaving badly. In the attachment you can see that the sums being brought in from the InvoiceData tab are all one row out of sync.

    Can anyone suggest why or how I can fix this please?

    Thanks again in advance!!!
    Attached Files Attached Files

  7. #7
    Forum Expert Tsjallie's Avatar
    Join Date
    09-15-2012
    Location
    NL
    MS-Off Ver
    2010, 2013, 2016
    Posts
    2,077

    Re: Workbook optimisation

    The formula itself is out-of-sync.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    The highlighted (red) ranges should be dimensioned equally.
    And you don't need the =-sign
    Change the formula to
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and you'll be fine.

    Other tip:
    try not to use too many extra rows. This makes the formula go through a lot of empty cells slowing down the calculations.
    Depending on how you collect the invoice data there are techniques to make the range to use more flexible.

  8. #8
    Valued Forum Contributor
    Join Date
    02-09-2006
    Location
    Melbourne, Australia
    MS-Off Ver
    Office 2016
    Posts
    1,075

    Re: Workbook optimisation

    Quote Originally Posted by Tsjallie View Post
    Change the formula to
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and you'll be fine.

    Other tip:
    try not to use too many extra rows. This makes the formula go through a lot of empty cells slowing down the calculations.
    Depending on how you collect the invoice data there are techniques to make the range to use more flexible.
    You're a gem Tsjallie! Thanks again for your help. My workbook is considerably faster and is now accurate as well. Pls accept another rep star.

    Oops! Add Rep won't allow me to give you more until I give some to others. Here's a virtual one - *.

  9. #9
    Forum Expert Tsjallie's Avatar
    Join Date
    09-15-2012
    Location
    NL
    MS-Off Ver
    2010, 2013, 2016
    Posts
    2,077

    Re: Workbook optimisation

    Glad I could help.
    Virtual rep appreciated as much as a real one

+ 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. Solver using VBA for portfolio optimisation
    By natalie28 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-16-2014, 04:16 AM
  2. Panel cutting optimisation
    By Markg76 in forum Excel General
    Replies: 3
    Last Post: 03-11-2014, 01:54 PM
  3. [SOLVED] Code Optimisation - Run Speed
    By swizard in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-01-2013, 10:22 AM
  4. Optimisation of code
    By munkee in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-17-2009, 10:26 AM
  5. Help with optimisation problem setup
    By kostas in forum Excel General
    Replies: 0
    Last Post: 06-06-2008, 09:52 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