Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 71
Default UDF vs. Mega-Array-Formula

I am looking for feedback regarding whether I should pursue a solution as a
worksheet megaformula, or write a UDF using VBA instead.

I would prefer to use the megaformula instead of the VBA based solution for
speed purposes.

Question:
What criteria do you use to determine whether to pursue a solution via a
worksheet formula, or VBA?


for those who indicate case-by-case basis, can you elaborate what would make
you opt for the VBA instead of the mega formula?

thanks,
Harry

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default UDF vs. Mega-Array-Formula

Here is my general guideline. UDF's are a final resort only when conventional
formulas will not work or in the very rare instance where a UDF will be
faster than a standard formula.

To that end I have used UDF's only for things like counting colour formulas
and returning a numeric value as the spelled out text.
--
HTH...

Jim Thomlinson


"Harry" wrote:

I am looking for feedback regarding whether I should pursue a solution as a
worksheet megaformula, or write a UDF using VBA instead.

I would prefer to use the megaformula instead of the VBA based solution for
speed purposes.

Question:
What criteria do you use to determine whether to pursue a solution via a
worksheet formula, or VBA?


for those who indicate case-by-case basis, can you elaborate what would make
you opt for the VBA instead of the mega formula?

thanks,
Harry

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
ARRAY Formula Craig Excel Discussion (Misc queries) 7 August 27th 08 07:09 PM
Mega Stat Addin FirstVette52 Excel Worksheet Functions 1 August 29th 07 11:45 PM
meaning of : IF(Switch; Average(array A, array B); array A) DXAT Excel Worksheet Functions 1 October 24th 06 06:11 PM
MEGA FORMULA Ray Excel Worksheet Functions 5 June 13th 06 07:02 PM
Array Formula - using LEFT("text",4) in formula Andrew L via OfficeKB.com Excel Worksheet Functions 2 August 1st 05 02:36 PM


All times are GMT +1. The time now is 12:37 PM.

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"