Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default Should it be Index or Offset ?


=INDEX('2007'!A:N,K2,14)
=OFFSET('2007'!A1,K2-1,13)

Anyone know which of the above works fastest when applied down 50,000+
rows of several spreadsheets?
Thanks.
Colwyn.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Should it be Index or Offset ?

INDEX

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"colwyn" wrote in message
...

=INDEX('2007'!A:N,K2,14)
=OFFSET('2007'!A1,K2-1,13)

Anyone know which of the above works fastest when applied down 50,000+
rows of several spreadsheets?
Thanks.
Colwyn.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default Should it be Index or Offset ?

Thanks Bob. Happened to get another answer also and it may help others
so will post it here. Colwyn.



"The OFFSET function is "volatile"....meaning that it recalculates
whenever any cell in the workbook calculates.

The INDEX function is non-volatile and only recalcs when one of it's
referenced values changes. Consequently, INDEX is faster.

The list of volatile functions includes:
RAND, NOW, TODAY, OFFSET, CELL, INDIRECT"
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
OFFSET, INDEX, MOD.. ?? Nastech Excel Discussion (Misc queries) 0 October 13th 08 11:58 AM
index and offset functions Denise Excel Worksheet Functions 8 February 2nd 08 05:05 AM
Looking in one col, counting in another. OFFSET?INDEX? Help!! Justin Excel Worksheet Functions 6 May 5th 06 12:12 AM
Lookup, Index or Offset reno Excel Discussion (Misc queries) 1 October 6th 05 12:06 AM
Index, Match, Offset? Not sure which to use Ms. P. Excel Worksheet Functions 4 July 29th 05 11:04 PM


All times are GMT +1. The time now is 05:21 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"