Vlookup across several sheets

KRKComputers

New Member
Joined
Nov 10, 2017
Messages
43
Hello,

I am hoping that someone may be able to point me in the right direction. I am using the Vlookup "iferror" formula as shown below

=IFERROR(VLOOKUP(C7,'TABLE 1'!A2:D67,4,FALSE),IFERROR(VLOOKUP(MASTER COMPARE!C19,'TABLE 2'!A2:D21,4,FALSE),IFERROR(VLOOKUP(MASTER COMPARE!C19,TABLE 3!A2:D69,4,FALSE),"NOT APPLICABLE")))

First when I try to enter this into the cell and hit enter I get a window that pops up and wants to save my workbook, I also get no error however I am not able to read the items on TABLE 2 or TABLE 3 the code just skips to the end and states NOT APPLICABLE but it does read from TABLE 1 without any problems.

Can someone possibly tell me what I am doing wrong as it appears that Microsoft Excel does not even give me an error so I can look into things.

I am using Excel 2016

Thanks for the help
Kevin
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Hello,

I am hoping that someone may be able to point me in the right direction. I am using the Vlookup "iferror" formula as shown below

=IFERROR(VLOOKUP(C7,'TABLE 1'!A2:D67,4,FALSE),IFERROR(VLOOKUP(MASTER COMPARE!C19,'TABLE 2'!A2:D21,4,FALSE),IFERROR(VLOOKUP(MASTER COMPARE!C19,TABLE 3!A2:D69,4,FALSE),"NOT APPLICABLE")))

First when I try to enter this into the cell and hit enter I get a window that pops up and wants to save my workbook, I also get no error however I am not able to read the items on TABLE 2 or TABLE 3 the code just skips to the end and states NOT APPLICABLE but it does read from TABLE 1 without any problems.

Can someone possibly tell me what I am doing wrong as it appears that Microsoft Excel does not even give me an error so I can look into things.

I am using Excel 2016

Thanks for the help
Kevin


I have done some more digging on the web and have seen that some people are using and array to do what I am doing and based on that I am now curious if I should use an array or if I should continue with what I have here.

Can anyone tell me what if any are the benefits to me changing the code to an array versus iferror?

Thanks a bunch
 
Upvote 0

Forum statistics

Threads
1,223,907
Messages
6,175,301
Members
452,633
Latest member
DougMo

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