Vlookup error #N/A

dylbertiii

New Member
Joined
Jun 4, 2014
Messages
22
I'm receiving #N/A for most (about 95%) of attempted VLOOKUP entries. Does it matter that my reference array is in a xlsx and where i'm wanting it to land is in a csv?

Also, might be helpful to know that the value on the csv that i'm looking up is a result of a function that reads 2E+11. If i format cell to read as a number, i get my desired entry, 2000001701. But then, in the function bar, it displays only the number, no longer the function it took to get there.

I'm using Excell 11 for Mac.
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
I made it to where i'm now working with two xlsx spreadsheets. Also, i stripped the function by copying and pasting special the value so that i have 2000001701 (for example) so that i have the same read in the cell and function boxes for the corresponding columns. Still getting a lot of, but not all, #N/A. Sample:

200000170101#N/A
200000170102#N/A
200000170103#N/A
200000170104#N/A
200000170105#N/A
200000170201 HO
200000170202 HO
200000170203 OO
200000170204 OO
200000170205 OH
200000170206 OH
200000170207 HO
200000170208 OH
200002310101#N/A
200002310102#N/A
200002310103#N/A
200002310104#N/A
200002310105#N/A
200005210101#N/A
200005210102#N/A
200005210103#N/A
200005210104#N/A
200005210201 HO
200005210202 OH
200012830101#N/A
200012830102#N/A

<colgroup><col><col></colgroup><tbody>
</tbody>
...
 
Upvote 0
You could check manually whether 200000170101 for example really exist in the area where you are seeking the value.
 
Upvote 0
It does exist (first row of data in either document). And when i copy the contents of the cell in one and paste it in a Cmmd+F on the other document, it finds it just find.

Here's an example of my Vlookup formula: =VLOOKUP(D2,'[chntrp09 dustyn working.xlsx]chntrp09.csv'!$E:$F,2,FALSE)
 
Upvote 0
It does exist (first row of data in either document). And when i copy the contents of the cell in one and paste it in a Cmmd+F on the other document, it finds it just find.

Here's an example of my Vlookup formula: =VLOOKUP(D2,'[chntrp09 dustyn working.xlsx]chntrp09.csv'!$E:$F,2,FALSE)

Does one of the following return the desired result?

=VLOOKUP(D2&"",'[chntrp09 dustyn working.xlsx]chntrp09.csv'!$E:$F,2,FALSE)

=VLOOKUP(D2+0,'[chntrp09 dustyn working.xlsx]chntrp09.csv'!$E:$F,2,FALSE)
 
Upvote 0
Right. I tried copying and pasting them from here. Wasn't working. Closed excel, reopened it, tried both of the suggested formulas, neither worked. Results are exactly the same (same #N/A and successful results as the original formula.
 
Upvote 0
Right. I tried copying and pasting them from here. Wasn't working. Closed excel, reopened it, tried both of the suggested formulas, neither worked. Results are exactly the same (same #N/A and successful results as the original formula.

You said:

1) The value of D2, that is, 200000170101, exists in column E of [chntrp09 dustyn working.xlsx]chntrp09.csv.

2) The foregoing values appear to have the same format (text or number) for D2&"" and D2+0 did not change the #N/A result.

I'd suggest double checking..., short of seeing the files.
 
Upvote 0
Thanks for your help. When i'm entering in the VLOOKUP function in the formula builder mini window, it shows a preview for the lookup_value after i click the cell. It reads 2E+11, not 200000170101. Does that mean anything?

Double checked. It finds it just fine in a Command Find query. Double checked that the cells are numbers in both cases. I also erased all other columns but the two i'm working with in the reference sheet.

Can't post the files here; are there alternatives so that you might be able to see them (if you're willing)?
 
Upvote 0

Forum statistics

Threads
1,215,443
Messages
6,124,890
Members
449,194
Latest member
JayEggleton

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