limt array range to increase speed

Posted on 2011-09-12
Last Modified: 2012-05-12
I am using the following as an array lookup and it works but the speed is killing me.


I only need columns A-J and Rows 5 - 2000 with row 5 being the field name.  How can I adjust this lookup to get me more speed?


Question by:vmccune
  • 5
  • 3
LVL 50

Accepted Solution

barry houdini earned 500 total points
ID: 36524618
Clearly you can limit the format to those rows,....perhaps also a different syntax, try


confirmed with CTRL+SHIFT+ENTER

How many of these do you have?

regards, barry

Author Comment

ID: 36524647
1000 rows and about 40 columns.

Author Comment

ID: 36524693
the syntax above returne FALSE in the cell and crtl-shift-enter does not provice the right "}"

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 36524756
I got the syntax copied and it works but if I copy it down I get the same value in each row.

LVL 50

Expert Comment

by:barry houdini
ID: 36524762
It's working OK for me......!

Sorry if you are you doing CTRL+SHIFT+ENTER? You need to click in the cell with the formula and then press F2 to select - then hold down CTRL and SHIFT while pressing enter.....

Is the A31 fixed for all the formulas with C39 changing as you copy down - what about the lookup ranges does col A + Col D become B and E then C and F etc.?


Author Comment

ID: 36524766
forgot to recalc.  its working.  Checking speed now.
LVL 50

Expert Comment

by:barry houdini
ID: 36524775
>I got the syntax copied and it works but if I copy it down I get the same value in each row

make sure calculation is set to auto....or press F9 to re-calculate.....

Author Closing Comment

ID: 36524801
Great!  Thanks.

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question