Search
-
Recent Posts
- Manual Calculation No Longer Viral!
- Only Calculating the Active Workbook
- Excel Screen-updating Performance Comparison.
- Short-circuiting in Array Formulas
- Short-circuiting Excel Formulas: IF, CHOOSE, IFS and SWITCH
- Finding VBA Bottlenecks with VBA Profiler
- Excel Virtually Global
- FastExcel Version 4 – with Introductory Offer
- Backward Compatibility of Office 365 Dynamic Arrays (Updated 23 Sep 2020)
- Excel Summit South 2019
Recent Comments
Post Archive
- March 2023 (2)
- January 2023 (3)
- October 2020 (1)
- July 2020 (1)
- February 2020 (1)
- May 2019 (2)
- January 2019 (1)
- July 2018 (2)
- January 2018 (1)
- September 2017 (1)
- April 2017 (2)
- March 2017 (4)
- February 2017 (1)
- December 2016 (1)
- November 2016 (3)
- October 2016 (2)
- July 2016 (1)
- April 2016 (1)
- February 2016 (1)
- December 2015 (4)
- November 2015 (2)
- September 2015 (2)
- May 2015 (2)
- February 2015 (1)
- January 2015 (2)
- December 2014 (1)
- November 2014 (2)
- 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
- 1,289,361 hits
- Follow Excel and UDF Performance Stuff on WordPress.com
Category Archives: UDF
Short-circuiting in Array Formulas
The previous post demonstrated that IF and CHOOSE short-circuit but IFS and SWITCH do not. But following up a hint from Bill Wu that IF behaves differently in array formulas I decided to check whether it still short-circuits.(IF in array … Continue reading
FastExcel Version 4 – with Introductory Offer
After several man-years of development and a lot of beta testing FastExcel Version 4 has finally hit general availability! FastExcel V4 is a major rewrite of FastExcel V3 and provides many of the things you have been asking for: Support … Continue reading
Posted in arrays, Calculation, Debug formulas, Dynamic Arrays, Excel, Lookups, Memory, UDF, VBA
Leave a comment
Develop Excel Conference
The Develop Excel conference will take place in London on Thursday October the 18th 2018. It will be held at the Microsoft Reactor (70 Wilson Street London EC2A 2DB). Are you responsible for building Excel based Addins and Solutions? Develop … Continue reading
Excel JavaScript API Part 1: Overview & Comparison
I have been spending time in the last few months experimenting with the new JavaScript Excel API. This is the first of a planned series of posts examining the JS-API from the point of view of an Excel Office developer. … Continue reading
Writing Efficient VBA UDFs Part 15: Adding Intellisense to your UDFs
For several years people have been asking the Excel Dev team to add the capability to create Intellisense for UDFs to work the same way as native Excel functions. Well, now Govert van Drimmelen, author of the wonderful Excel DNA, … Continue reading
Writing Efficient VBA UDFs Part 14: Handling whole columns using Implicit Intersection – Updated
Excel has an interesting and very efficient trick called Implicit Intersection which allows you to use large Named Ranges and whole column references efficiently. What is Implicit Intersection? When Excel expects to get a single cell reference but you give … Continue reading
Posted in arrays, Calculation, UDF, VBA, XLL
Tagged array formula, array function, Excel Formulas, Excel functions, UDF
15 Comments
Writing Efficient VBA UDFs (Part13): MaxMinFair Resource Allocation – an array UDF example
Last year we got to spend a great day at Microsoft Research in Cambridge (UK). one presentation was about storage strategies and featured (amongst other stuff) an interesting algorithm called MaxMinFair. The MaxMinFair algorithm You can read about it here … Continue reading
Calling XLAM/XLL/Automation UDFs from VBA: Evaluate, Run, or Reference?
I have this nagging feeling that I do not know the best way to call UDFs from VBA. So after a couple of days of research here is what I have found out so far. The Available Methods Application.ExecuteExcel4Macro This … Continue reading
Posted in Calculation, UDF, VBA, XLL
Tagged array formula, array function, calculation speed, UDF, XLL
5 Comments
Timing the Ins and Outs of User Defined Functions: Multi-Cell array formulas can be slow
I was looking at some multi-cell 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
Extracting Digits from Text: Using Formulas and Designing a Missing Excel Function: GROUPS
An Excel problem that crops up quite often is how to extract digits (0-9) from text. The text might be part numbers, or web addresses, or currency values or … Some cases are easy to handle with formulas: A fixed … Continue reading