LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
RW
 
Posts: n/a
Default Order of calculation

Does anyone know the criteria Excel uses to determine what order to calulate
cells in?

I have several workbooks which contain user-defined functions (contained in
an add-in) as formulas and can put a break-point in the add-in to see the
order in which the cells are calculated. These functions are only called when
Excel calculates the cell in which one appears and none of them depend on the
calculation of other cells.

However, the order of calulation Excel uses differs from workbook to workbook.

In one, it starts in the cell in the right-most column and the bottom-most
row and goes up the column to the top, then starts in the bottom-most cell of
the next column to the left.

In another, it starts in the cell in the top row of the right-most column
and goes along the row to the left and then when it has done the whole row,
drops down a row and starts again in the right-most cell.

I am trying make the user-defined function code more efficient and to know
what order Excel will calculate in would be immensely helpful.

Thanks,
Rosemary

 
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
Print order of worksheets Stray Doug Excel Discussion (Misc queries) 3 September 21st 05 12:37 AM
Calculation Setting in Excel Stuart Bisset Excel Discussion (Misc queries) 0 June 17th 05 09:54 AM
How do I set the order of calculation of Data Tables in Excel? Charles Easton Excel Worksheet Functions 1 April 30th 05 10:35 PM
BIMDAS - Order of Calculation Atreides Excel Discussion (Misc queries) 20 February 23rd 05 02:33 AM
Maintaining a default worksheet order Graham Excel Discussion (Misc queries) 4 February 21st 05 08:52 PM


All times are GMT +1. The time now is 12:21 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"