LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
David
 
Posts: n/a
Default

Chris,
I had a similar problem - Large database, many SP formulas, took over 30
minutes to recalculate. I'm now uising SUMIF with concatination The same
workbook recalculates in less than 5 minutes. Here's how:

For example, your original database has fields: A, B, code, quantity
Add a helper concatinated field AB (=RC[-2]&RC[-1]).
Apply a range name to each column field (use the field headers as names)
Now you're ready..
How many blues were sold in 2004? ... =SUMIF(AB,"=2004")
You might only want to sum items having code 2. You can sort the data so
that the code 2s appear at the top of the list, then re-set the range names
so that only the code 2s are included, then recalculate. Using a mix of these
techniques you can process your large databases in a fraction of the time
taken by SUMPRODUCT methods

A B AB code Quantity
Blue 2004 Blue2004 1 530,123
Red 2003 Red2003 1 23,456
Blue 2004 Blue2004 2 12,894

HTH

"chris" wrote:

Hi,

I have a sheet with many sumproducts and it takes forever to
recalculate.


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sumproduct ... Empty Cells vs Spaces? Ken Excel Discussion (Misc queries) 9 December 17th 04 08:03 PM
Optimize SumProduct Christopher Kennedy Excel Discussion (Misc queries) 9 December 10th 04 04:47 PM
Sumproduct function not working Scott Summerlin Excel Worksheet Functions 12 December 4th 04 05:15 AM
adding two sumproduct formulas together ski2004_2005 Excel Worksheet Functions 1 November 12th 04 09:08 PM
Sumproduct in Excel Spreadsheet to read Access db table Jules Excel Worksheet Functions 1 November 9th 04 02:50 PM


All times are GMT +1. The time now is 04:40 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"