Complex issue Excel

Lazarus
Lazarus used Ask the Experts™
on
I've made a Excel Workbook with 5 worksheets. It all works but is extremely slow, once you start adding information. I believe the problems might lie on the Counts and Sources pages, where there are numerous SUMPRODUCT formulas.

Example:
=SUMPRODUCT(('Monthly Lead Tracker '!A:A=Counts!A3)*('Monthly Lead Tracker '!F:F="DMS"))

If all of these formulas are at issue, is there some way to do the same in VB and if so, please spell it out, I'm not very good with VB. You will have to download the file however to get an idea at all of what's is going on in it.

Thank you
Monthly-Tracker.xlsm
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2015
Commented:
Their you go..In the above formula you were referring the whole column in the sum-product formula which was slowing it down... I made changes in the same by creating the dynamic ranges which only refers the data of filled rows and automatically adjusts itself once you add more data basis of A Column...

You will find the difference yourself..

Saurabh...
Monthly-Tracker.xlsm
Top Expert 2014

Commented:
Does the performance problem persist if you switch the calculation mode to manual before adding your data and formulas?

Author

Commented:
@aikimark, I have not tried switching the calculation mode to manual. That would not be something that the users of this template would know how to do, but I will try that as well. I still need to test Saurabh's post as well. It looks good so far, but need to test out more.
HTML5 and CSS3 Fundamentals

Build a website from the ground up by first learning the fundamentals of HTML5 and CSS3, the two popular programming languages used to present content online. HTML deals with fonts, colors, graphics, and hyperlinks, while CSS describes how HTML elements are to be displayed.

Author

Commented:
Excellent solution, besides fixing the issue, I've learned another way of doing it. Thank you.
Top Expert 2015

Commented:
Yw..Always Happy to Help.. :-)

Saurabh...

Author

Commented:
Quick question of explanation if you would on the formula. What exactly is fm and FM_* standing for?

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial