Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
 
Posts: n/a
Default more efficient way to lookup a range?

At work we use Excel all the time, and many of our spreadsheets use
INDEX-MATCH formulas to pull in stock quotes from other workbooks saved
on our network. In order to avoid a problem of having rows in the
index fall outside of the range, our formulas define the index in terms
of entire columns, e.g. A:H. (We don't even get close to using all the
rows, but out of habit in our dept, and for simplicity we use the
entire column. A1:H2500 is probably more than enough, but old habits
die hard.)

Would it be more efficient if the formulas referred to an
A1:OFFSET/COUNTIF... type formula to only refer down as far as needed,
based on the number of rows actually used? I understand that certain
worksheet functions/arrays can slow down the sheet, but I don't know
which ones are the main offenders. Any ideas? Is it worth it to
rework our formulas?

We havent had too many complaints about slow workbooks, but I'd like to
know for future reference. I'm always looking for a way to make
("build"?) my spreadsheets better, more efficient, bulletproof,
yada-yada. Thanks!

  #2   Report Post  
Posted to microsoft.public.excel.misc
JMB
 
Posts: n/a
Default more efficient way to lookup a range?

Offset is a volatile function and will recalculate every time Excel
recalculates, which can slow things down. I found a list in a previous post
by Peo Sjoblom of some volatile functions.

OFFSET()
CELL()
INDIRECT()
INFO()
NOW()
TODAY()
RAND()


" wrote:

At work we use Excel all the time, and many of our spreadsheets use
INDEX-MATCH formulas to pull in stock quotes from other workbooks saved
on our network. In order to avoid a problem of having rows in the
index fall outside of the range, our formulas define the index in terms
of entire columns, e.g. A:H. (We don't even get close to using all the
rows, but out of habit in our dept, and for simplicity we use the
entire column. A1:H2500 is probably more than enough, but old habits
die hard.)

Would it be more efficient if the formulas referred to an
A1:OFFSET/COUNTIF... type formula to only refer down as far as needed,
based on the number of rows actually used? I understand that certain
worksheet functions/arrays can slow down the sheet, but I don't know
which ones are the main offenders. Any ideas? Is it worth it to
rework our formulas?

We havent had too many complaints about slow workbooks, but I'd like to
know for future reference. I'm always looking for a way to make
("build"?) my spreadsheets better, more efficient, bulletproof,
yada-yada. Thanks!


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
Need formula to lookup a named range DMDave Excel Discussion (Misc queries) 5 May 7th 06 03:18 AM
How to lookup when range contains multiple identical entries? Doug Laidlaw Excel Discussion (Misc queries) 1 January 19th 06 12:18 PM
Excel finds a value that is not in the lookup range Anne Troy Excel Worksheet Functions 0 August 24th 05 08:54 PM
Finding LARGE value within range of lookup table WPA Excel Discussion (Misc queries) 2 June 13th 05 07:41 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM


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