Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default What's faster -- array formula or UD function?

I have a spreadsheet where I use a lot of array formulas to essentially
do a bunch of "SUM IFing". I am wondering in general if this method
calculates faster than were I to create some user defined functions
instead. Thanks.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,441
Default What's faster -- array formula or UD function?

Steve,

Array formulas are usually faster than UDFs.

HTH,
Bernie
MS Excel MVP


"Steve" wrote in message
ups.com...
I have a spreadsheet where I use a lot of array formulas to essentially
do a bunch of "SUM IFing". I am wondering in general if this method
calculates faster than were I to create some user defined functions
instead. Thanks.



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default What's faster -- array formula or UD function?

The overhead involved in UDFs nearly always means that native functions
are faster.

See

http://www.decisionmodels.com/optspeed.htm

for tips on speeding things up.


In article . com,
"Steve" wrote:

I have a spreadsheet where I use a lot of array formulas to essentially
do a bunch of "SUM IFing". I am wondering in general if this method
calculates faster than were I to create some user defined functions
instead. Thanks.

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,119
Default What's faster -- array formula or UD function?

99% chance that the array formulas will be faster than UDF's. If you have the
need for speed sumproduct formulas are a little faster than array formulas.

Here is a link... http://www.xldynamic.com/source/xld.SUMPRODUCT.html
--
HTH...

Jim Thomlinson


"Steve" wrote:

I have a spreadsheet where I use a lot of array formulas to essentially
do a bunch of "SUM IFing". I am wondering in general if this method
calculates faster than were I to create some user defined functions
instead. Thanks.




  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default What's faster -- array formula or UD function?

Worksheet functions, even array worksheet functions, will invariably be
faster than a UDF.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Steve" wrote in message
ups.com...
I have a spreadsheet where I use a lot of array formulas to essentially
do a bunch of "SUM IFing". I am wondering in general if this method
calculates faster than were I to create some user defined functions
instead. Thanks.



  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default What's faster -- array formula or UD function?

And you may find that a pivottable would be faster than both.



Steve wrote:

I have a spreadsheet where I use a lot of array formulas to essentially
do a bunch of "SUM IFing". I am wondering in general if this method
calculates faster than were I to create some user defined functions
instead. Thanks.


--

Dave Peterson
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
Which is faster sum(if) as an array or sumproduct? Neophyte New Users to Excel 3 March 28th 07 03:28 PM
Can faster CPU+larger/faster RAM significantly speed up recalulati jmk_li Excel Discussion (Misc queries) 2 September 28th 05 10:24 AM
Using AND function within an array formula Andrew L via OfficeKB.com Excel Worksheet Functions 3 August 1st 05 06:49 PM
IF function with Array Formula Moreaudjd Excel Programming 4 April 12th 04 03:29 AM
Loading Excel Array from VB Array Faster ExcelMonkey[_3_] Excel Programming 3 January 22nd 04 02:49 AM


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