Alternatives to Index/Match

jamescooper

Well-known Member
Joined
Sep 8, 2014
Messages
840
Hello,

I have a spreadsheet which has 60,000 rows, calculations on every line over many columns.

Using Index/Match a lot of the time, makes the spreadsheet very slow and large, are there any alternatives; or maybe someone could suggest a different approach?

Many thanks.
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
have you tried turn-off the automatic calculation and use it when needed?
 
Upvote 0
I presume you've done Copy + Paste Special->Value wherever you can.

My next step would be to look for calculations that don't need to be repeated. If the MATCH is only needed once per column, it would make sense to remove it from the INDEX formula into a single cell and then reference that cell. If that doesn't work for you, perhaps you could rewrite the formulas to perform the searches over smaller ranges?

MATCH is much faster when it does not have to look for an exact match in unsorted data: when the match-type argument in =MATCH(lookup-array, lookup-value, match-type) is 1 or -1. This requires that the data in lookup-array be sorted. Use 1 when the data is sorted ascending, -1 when the data is sorted descending.

If you're looking for only a few INDEX+MATCH values, the DGET function is wickedly fast. Its drawback is that DGET requires extra worksheet space to set up the search criteria. If you've used Advanced Filters, then the setup for DGET and the other D-functions (DSUM, DCOUNT, DMAX, and so on) should be familiar.

VBA could be an option. We know Autofiltering in Excel, where you use Data >> Filter from the ribbon, is quick. Most of the functionality of Autofiltering is available in VBA. Searches can be performed quickly in VBA using Range.Autofilter. You can also perform Advanced Filtering through VBA.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,286
Members
452,631
Latest member
a_potato

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top