INDEX/MATCH Function very slow!! Help!!

Verysheyn

New Member
Joined
Oct 23, 2014
Messages
9
Hello Everyone,

So I'm trying to compare 2 tables (an Old one and a New one) and I want to validate that everything on the Old one is contained in the New one. Both tables are just 1 column and about 17500 rows.

Each value on each cell of both tables is about 400 characters.

The formula below is the one I'm using to match them up since VLOOKUP Formula won't do the trick in this case since every value is more than 255 characters long.

In Cell B2
=IFERROR(IF(INDEX('New Table'!$A$2:$A$17436,MATCH(TRUE,INDEX('New Table'!$A$2:$A$17436=A2,0),0))<>"NA","Correct","Missing"),"Missing")

In Cell B3
=IFERROR(IF(INDEX('New Table'!$A$2:$A$17436,MATCH(TRUE,INDEX('New Table'!$A$2:$A$17436=A3,0),0))<>"NA","Correct","Missing"),"Missing")

and so on...

When excel is calculating everything is just so slow!! Can anyone help making it faster?? maybe another formula or another approach?



Thanks!!

Verysheyn
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Maybe you could shorten your formula to something like below.
Excel Workbook
ABC
1OldNot in NewNew
2Name1CorrectName1
3Name2CorrectName2
4Name3CorrectName3
5Name4CorrectName4
6Name5MissingName7
7Name6MissingName8
8Name7CorrectName9
9Name8CorrectName11
10Name9CorrectName12
11Name10MissingName13
12Name11CorrectName14
13Name12CorrectName15
14Name13CorrectName16
15Name14CorrectName17
16Name15CorrectName18
17Name16CorrectName19
Sheet
 
Upvote 0
Hello AhoyNC,

That doesn't seem to work. Somehow the Match function always throws up a #VALUE! error


Verysheyn
 
Upvote 0
It would probably help if you could post a small sample of your data (is it text, numeric, etc.), then someone may be able to help you shorten the formula you have. The IFERROR function can slow things down if you have a large data set.

Also, take a look at the following link for Excel is Fun that shows different options to compare lists.

https://www.youtube.com/user/ExcelIsFun/search?query=Compare+lists
 
Upvote 0

Forum statistics

Threads
1,214,833
Messages
6,121,864
Members
449,052
Latest member
Fuddy_Duddy

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