Search

Recent Posts
 Timing the Ins and Outs of User Defined Functions: MultiCell array formulas can be slow
 Automatic or Manual Calculation?: Grouped Sheets causes Calculation Confusion.
 Excel 2007 multithreading bug with Range.SubTotal and XLL
 Extracting Digits from Text: Using Formulas and Designing a Missing Excel Function: GROUPS
 Getting Used Range in an XLL UDF: Multithreading and COM
 Excel Modeling World Championships 2014
 VBA searching shootout between WorksheetFunction.Match: Performance Pros and Cons
 FastExcel V3 Released with Introductory Offer
 Making sense of complex Formulas: an Indenting ViewerEditer
 The Amsterdam Excel Summit
Recent Comments
fastexcel on TEXT vs VALUE vs VALUE2… snb on TEXT vs VALUE vs VALUE2… snb on TEXT vs VALUE vs VALUE2… snb on Evaluate Functions and Formula… snb on Evaluate Functions and Formula… Winand on TEXT vs VALUE vs VALUE2… David Leppard on Threading and HyperThreading:… brent taylor on Threading and HyperThreading:… Post Archive
 October 2014 (3)
 September 2014 (2)
 August 2014 (2)
 June 2014 (1)
 April 2014 (1)
 February 2014 (1)
 January 2014 (3)
 December 2013 (2)
 November 2013 (4)
 October 2013 (6)
 September 2013 (4)
 February 2013 (3)
 January 2013 (3)
 December 2012 (4)
 November 2012 (2)
 October 2012 (2)
 September 2012 (1)
 July 2012 (6)
 June 2012 (7)
 April 2012 (1)
 March 2012 (2)
 February 2012 (1)
 January 2012 (3)
 December 2011 (1)
 November 2011 (3)
 October 2011 (2)
 September 2011 (2)
 August 2011 (1)
 July 2011 (4)
 June 2011 (8)
 May 2011 (4)
Categories
Blogroll
RSS
Blog Stats
 256,416 hits
 Follow Excel and UDF Performance Stuff on WordPress.com
Category Archives: Calculation
Timing the Ins and Outs of User Defined Functions: MultiCell array formulas can be slow
I was looking at some multicell array formula UDFs with John and Rich and could not understand why they seemed so much slower than I expected. Each UDF (written as C++ XLLs) read data from around 200 cells using around … Continue reading
Posted in Calculation, UDF, Uncategorized, VBA, XLL
Tagged array formula, array function, calculation speed, Excel 2010 Calculation Bug, UDF, XLL
Leave a comment
Getting Used Range in an XLL UDF: Multithreading and COM
In two previous blog posts I discussed why handling wholecolumn references efficiently in VBA UDFs meant that you had to find the used range for the worksheet containing the wholecolumn reference. The posts also discussed how using a cache for … Continue reading
FastExcel V3 Released with Introductory Offer
FastExcel has been used successfully by thousands of users since it was first launched in 2001. The last version 2.4 was introduced in 2008 and since that time there have been major changes to Excel with Excel 2007, 2010 and 2013, … Continue reading
Posted in Calculation, Lookups, Memory, UDF, VBA, XLL
Leave a comment
Threading and HyperThreading: Optimizing Excel Calculation speed by changing the number of threads
I have just implemented measuring multithreaded calculation efficiency in FastExcel V3 Profile Workbook: so I thought it would be interesting to see the effect on calculation speed of varying the number of threads, and switching off hyperthreading. Hyperthreading Almost all … Continue reading
Excel 2013 SDI Bug: “Calculate” in Status Bar strikes again
In the old days (I’m talking Excel 5 to Excel 2003 here) there was a worrying situation you could find yourself in where, no matter what you did, Excel would show you “Calculate” in the statusbar. Even when actually nothing … Continue reading
Posted in Calculation, VBA
5 Comments
Finding out if a function is Volatile or Multithreaded using VBA: UDFs for UDFs
Part of my new Profiling Formulas and Functions command requires the code to determine whether a Function is a native builtin Excel function, or an XLL function, or some other kind (VBA, Automation). And I also want to know if … Continue reading
Posted in Calculation, UDF, VBA, XLL
Leave a comment
Formula References between Sheets versus within Sheets shootout: Which calculates faster and uses more Memory
I thought I would revisit the differences between formulas that reference other worksheets and formulas that only reference their own worksheet. Referencing other worksheets always used to be a memory hog, but so much has changed between Excel 2003 and … Continue reading
Exploring Range.Calculate and Range.CalculateRowMajorOrder: fast but quirky formula calculation
The Range.Calculate methods are very useful additions to Excel’s other calculation methods (Application level Calculate, CalculateFull, CalculateFullRebuild and Worksheet.calculate: the missing one is Workbook.Calculate!). You can use the Range Calculate methods to: Force calculation of a block of formulas or … Continue reading
Parsing Functions from Excel Formulas using VBA: Is MID or a Byte array the best method?
As part of extending the performance profiling abilities of FastExcel, I wanted to develop a Function Profiler Map. A key component of this is to extract the names of the functions embedded in Excel formulas. So I experimented with some … Continue reading
Posted in Calculation, VBA
Leave a comment