Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default Recalculating Array Formulas

Dear All,

I have some code that drags some data out of one sheet and summarises
it another by creating an array, then offloading the array.

The new range of data is the base of some array formulas. Because of
this I turn off all calculations during the population of the new range
as each cell that is populated automatically sets the array formula to
recalc - causing much waiting time.

However, when the code completes I am having trouble get the array
formulas to recalc again. Currently I am physically retyping the
formulas to get the result I am after.

Is there a solution to trigger a recalc after the
xlCalculationAutomatic is reset.

eg.
1. I gather an array of data from sheet 1
2. I offload this array to a range in sheet 2 (eg "A1:C100")
3. In sheet 2 I have some array formulas in column "E" that does
calculations based upon the data in the newly populated range
("A1:C100").
4. The array formulas are not being triggered to calc the "A1:C100"
range
5. Currently I have to re-type the formulas to get the results I am
after.

Any suggestions will be most appreciated.

Regards,

andym

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,588
Default Recalculating Array Formulas

Try

Application.CalculateFull

Tim

"andym" wrote in message oups.com...
Dear All,

I have some code that drags some data out of one sheet and summarises
it another by creating an array, then offloading the array.

The new range of data is the base of some array formulas. Because of
this I turn off all calculations during the population of the new range
as each cell that is populated automatically sets the array formula to
recalc - causing much waiting time.

However, when the code completes I am having trouble get the array
formulas to recalc again. Currently I am physically retyping the
formulas to get the result I am after.

Is there a solution to trigger a recalc after the
xlCalculationAutomatic is reset.

eg.
1. I gather an array of data from sheet 1
2. I offload this array to a range in sheet 2 (eg "A1:C100")
3. In sheet 2 I have some array formulas in column "E" that does
calculations based upon the data in the newly populated range
("A1:C100").
4. The array formulas are not being triggered to calc the "A1:C100"
range
5. Currently I have to re-type the formulas to get the results I am
after.

Any suggestions will be most appreciated.

Regards,

andym



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
Convert Array Formulas to Regular Formulas Domenick Excel Worksheet Functions 6 August 17th 15 09:16 PM
Convert Array Formulas to Regular Formulas minyeh Excel Worksheet Functions 0 March 21st 10 05:55 AM
Excel 2007 is not recalculating formulas when new data is entered FlowerTechie Excel Discussion (Misc queries) 3 January 12th 08 05:10 AM
recalculating formulas help terry Excel Discussion (Misc queries) 2 May 10th 07 01:20 PM
Formulas not recalculating when values change on another sheet Bill Excel Worksheet Functions 0 September 15th 05 10:29 PM


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

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"