Solved

Array formulas vs. Pivots

Posted on 2002-07-16
3
602 Views
Last Modified: 2008-03-17
I am attracted to the apparent benefits of array fromulas, and I am interested in substituting them for some of my simple pivots.  I have some very large spreadsheets with over 20 pivots in them.  They take forever to recalc and are 30 mb when done.  I run out of memory, so we wrote VB to close and re-start Excel after half of the pivots are calculated.
I know this shouldn't be in Excel, but it is and I cannot change that.
Will array formulas instead of pivots reduce file size (10,000 rows of source data)?
Will array formulas instead of pivots run faster?
Will array formulas instead of pivots use less RAM and therefore not require re-starting Excel to reclaim memory?
-KIM W.
0
Comment
Question by:krwennerberg
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 13

Expert Comment

by:WJReid
ID: 7157279
hI krwennerberg,

Array formulas use more space than any other type of calculation. They are great in small numbers, but will slow down your spreadsheet even more than pivot tables

Regards,

WJReid
0
 
LVL 13

Expert Comment

by:WJReid
ID: 7157285
Hi again krwennerberg,

Is there any way you could use the inbuilt Dbase functions. They can do most of what array formulas can do and much quicker.

Regards,

WJReid
0
 
LVL 1

Accepted Solution

by:
tommybak earned 200 total points
ID: 7166066
Hi
If all you pivot tables are based on the same 10000 rows of data, i suspect that you have created 30 independent pivottables. This will give an enormous workbook and slow recalculation down as each individual pivot puts all of the data in a cache in the memory.
You should make 1 (one) pivottable where you mark ALL of your data.
Then the next 29 pivottables should be based on pivottable no #1.
Then excel only have to have all of the data in memory 1 time.
It will also decrease the filesize very much.

regards Tommy
0

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This article describes a serious pitfall that can happen when deleting shapes using VBA.
The viewer will learn how to make their project stand out over others by learning how to change colors and shapes, add spaces, change directions, and add bullets to their charts.
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …

690 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question