Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Recalculation takes too long - help!!!!


Hi All


I have a spreadsheet that contains national data in one workshee
spreading over approximately 35000 rows and 9 columns - no
particularly huge, I do realize that!

This dataset is sorted in to statewise data and this is how is spli
ends up as :-

NSW 10000 rows x 9 columns (Approx)
VIC 10000 rows x 9 columns (Approx)
QLD 10000 rows x 9 columns (Approx)
SA 1000 rows x 9 columns (Approx)
TAS 1000 rows x 9 columns (Approx)
WA 2000 rows x 9 columns (Approx)
NT 500 rows x 9 columns (Approx)

I have named ranges for these data subsets for each of the sates whic
go like so:-

NSW - Search_Range_NSW
VIC - Search_Range_VIC and so on!

There is one sumary worksheet for each state where data is presente
for the quantity of each product (these are approx 75 in number i
total) sold by each of the outlet within the state. For the smalle
states, this is not so much of a hassle but when it comes to the large
3 states viz NSW, VIC and QLD, the recalculation takes far too long
approx. 10+ mins per state - unacceptably long! I tried recalculatio
sheet by sheet but couldn't finish - just too long!

This is the formula that produces the data (quantity of a particula
product sold by a specified outlet) :-

=SUMPRODUCT(ISNUMBER(SEARCH($B3,INDEX(Search_Range _NSW,,4),1))*((INDEX(Search_Range_NSW,,6)=$D3))*(( INDEX(Search_Range_NSW,,8)=J$2)+(INDEX(Search_Rang e_NSW,,9)=J$2)))

This formula is copied all the way down to cover all the outlets withi
the state (around 450 rows) and all the way across to cover all th
products (around 75 columns).

In the above formula, the data in column 'D' and 'J' are the produc
codes (these products can be sold either separately or package
together) and column 'B' contains the outlet code. For these large
states, there are about 450 outlets and hence the above formula get
called nearly 450 * 75 = 33750 times - hence taking the time it need
to calculate.

Any suggestions to improve performance.

Does anyone have experience with FastExcel? Would FastExcel be able t
do it better! Their claims at the face of it, look promising! Would i
be worthwhile investing in it??????????? Your experience &/o
recommendations would be greatly appreciated.


Best regards


Deepak Agarwa

--
agarwaldv
-----------------------------------------------------------------------
agarwaldvk's Profile: http://www.excelforum.com/member.php...fo&userid=1134
View this thread: http://www.excelforum.com/showthread.php?threadid=27232

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 863
Default Recalculation takes too long - help!!!!

Is the layout such that you can use a Pivot Table?

On Mon, 25 Oct 2004 20:51:42 -0500, agarwaldvk
wrote:


Hi All


I have a spreadsheet that contains national data in one worksheet
spreading over approximately 35000 rows and 9 columns - not
particularly huge, I do realize that!

This dataset is sorted in to statewise data and this is how is split
ends up as :-

NSW 10000 rows x 9 columns (Approx)
VIC 10000 rows x 9 columns (Approx)
QLD 10000 rows x 9 columns (Approx)
SA 1000 rows x 9 columns (Approx)
TAS 1000 rows x 9 columns (Approx)
WA 2000 rows x 9 columns (Approx)
NT 500 rows x 9 columns (Approx)

I have named ranges for these data subsets for each of the sates which
go like so:-

NSW - Search_Range_NSW
VIC - Search_Range_VIC and so on!

There is one sumary worksheet for each state where data is presented
for the quantity of each product (these are approx 75 in number in
total) sold by each of the outlet within the state. For the smaller
states, this is not so much of a hassle but when it comes to the larger
3 states viz NSW, VIC and QLD, the recalculation takes far too long -
approx. 10+ mins per state - unacceptably long! I tried recalculation
sheet by sheet but couldn't finish - just too long!

This is the formula that produces the data (quantity of a particular
product sold by a specified outlet) :-

=SUMPRODUCT(ISNUMBER(SEARCH($B3,INDEX(Search_Rang e_NSW,,4),1))*((INDEX(Search_Range_NSW,,6)=$D3))*( (INDEX(Search_Range_NSW,,8)=J$2)+(INDEX(Search_Ran ge_NSW,,9)=J$2)))

This formula is copied all the way down to cover all the outlets within
the state (around 450 rows) and all the way across to cover all the
products (around 75 columns).

In the above formula, the data in column 'D' and 'J' are the product
codes (these products can be sold either separately or packages
together) and column 'B' contains the outlet code. For these larger
states, there are about 450 outlets and hence the above formula gets
called nearly 450 * 75 = 33750 times - hence taking the time it needs
to calculate.

Any suggestions to improve performance.

Does anyone have experience with FastExcel? Would FastExcel be able to
do it better! Their claims at the face of it, look promising! Would it
be worthwhile investing in it??????????? Your experience &/or
recommendations would be greatly appreciated.


Best regards


Deepak Agarwal


Reply
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
Autorecover takes so long Kevryl Excel Discussion (Misc queries) 0 April 1st 10 05:44 AM
VLookup takes too long DTTODGG Excel Worksheet Functions 4 March 20th 08 09:57 PM
Clearing cells takes long, long time unclemuffin Excel Discussion (Misc queries) 9 August 17th 07 02:22 AM
Recalculation takes too long - help!!!! JulieD Excel Worksheet Functions 0 October 29th 04 09:39 AM
PasteSpecial takes too long Ramil[_2_] Excel Programming 0 January 19th 04 05:01 PM


All times are GMT +1. The time now is 02:44 PM.

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

About Us

"It's about Microsoft Excel"