#n/a error on vlookup

akswartz85

New Member
Joined
Mar 31, 2010
Messages
49
Hello,

I am trying to do a vlookup across two sheets. The formula I have entered is as follows:

=VLOOKUP(AJ3,'Unis & Selectivity'!$A$2:$D$4553,4,FALSE)

AJ3- lookup value
'Unis & Selectivity'!$A$2:$d$4553 - table array - located in second sheet
4 - column index number
False- range lookup

However, it gives me the dreaded #n/a error, even though I've doubled checked that the expected value does exist in the second spreadsheet. I've redone it several times but to no avail. I am using Excel 10, and working off a desktop-based file (not on the server).

Any ideas? I can't tell what I am doing wrong here.

Thanks in advance!
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Does any of these...

=VLOOKUP(TRIM(AJ3),'Unis & Selectivity'!$A$2:$D$4553,4,FALSE)

=VLOOKUP(AJ3+0,'Unis & Selectivity'!$A$2:$D$4553,4,FALSE)

=VLOOKUP(AJ3&"",'Unis & Selectivity'!$A$2:$D$4553,4,FALSE)

succeed?
 
Upvote 0
Does any of these...

=VLOOKUP(TRIM(AJ3),'Unis & Selectivity'!$A$2:$D$4553,4,FALSE)

=VLOOKUP(AJ3+0,'Unis & Selectivity'!$A$2:$D$4553,4,FALSE)

=VLOOKUP(AJ3&"",'Unis & Selectivity'!$A$2:$D$4553,4,FALSE)

succeed?

No -- they don't. I just keep getting the #n/a error. Any other ideas? Might it have something to do with the format - .xlsx? It has more than 65k rows (about 82K), so I can't resave in .xls.
 
Upvote 0
Another try

=VLOOKUP(TRIM(AJ3),TRIM('Unis & Selectivity'!$A$2:$D$4553),4,FALSE)
confirmed with Ctrl+Shift+Enter

M.
 
Upvote 0
Hello,

I am trying to do a vlookup across two sheets. The formula I have entered is as follows:

=VLOOKUP(AJ3,'Unis & Selectivity'!$A$2:$D$4553,4,FALSE)

AJ3- lookup value
'Unis & Selectivity'!$A$2:$d$4553 - table array - located in second sheet
4 - column index number
False- range lookup

However, it gives me the dreaded #n/a error, even though I've doubled checked that the expected value does exist in the second spreadsheet. I've redone it several times but to no avail. I am using Excel 10, and working off a desktop-based file (not on the server).

Any ideas? I can't tell what I am doing wrong here.

Thanks in advance!

one way I check is to change your table array to be the row that matches your lookup for a single row, then use the dialog box to see if the values look different
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,726
Members
452,939
Latest member
WCrawford

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