VLOOKUP Returns a Temporary Zero

Boyder9339

New Member
Joined
Apr 5, 2018
Messages
2
Hi,

I have two lists of numbers and performing a vlookup of one of them to determine if the part was in the other. However, when I drag it down for each part number in the list, after several thousand lines it returns a "0" in the quantity rather than the value I want it to or #N/A. When I click on it and then click off it then shows the correct value. My equation is below.

=vlookup(C2,A:A,1,0)
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Welcome to the Board!

Sounds like you might have your calculation mode set to "Manual" instead of "Automatic".
Go to Options -> Formulas -> Calculation Options and choose the "Automatic" option.
 
Last edited:
Upvote 0
Welcome to Mr Excel forum

I don't understand what you are trying to do. Your formula wiil always return the lookup value (C2) if it's found in column A. Otherwise, returns #N/A.

Could you provide a small data sample (5 to 10 rows) along with expected results?

M.
 
Upvote 0
Advanced was already selected. I've attached a screenshot below.

A C D
564738357 XA4809459 XA4809459
494738356 R24809459 R24809459
504738356 R64809459 R64809459
474738356 TT4809459 TT4809459
R64738356 564809459 564809459
TT4738356 R24809454 R24809454

<colgroup><col><col><col><col></colgroup><tbody>
</tbody>


D is the column I am typing my equation, column A would not be in the same order as C, not would it contain exactly all the same numbers
 
Upvote 0
This?


A
B
C
D
1
Values​
Search​
Result​
2
564738357​
XA4809459​
XA4809459​
3
494738356​
R24809459​
R24809459​
4
504738356​
R64809459​
Not Found​
5
474738356​
TT4809459​
Not Found​
6
R64738356​
564809459​
Not Found​
7
TT4738356​
R24809454​
R24809454​
8
R24809459​
9
XA4809459​
10
XXXXXXXX​
11
R24809454​
12
yyyyyyyy​

Formula in D2 copied down
=IF(C2="","",IF(ISNUMBER(MATCH(C2,A:A,0)),C2,"Not Found"))

Hope this helps

M.
 
Upvote 0

Forum statistics

Threads
1,214,919
Messages
6,122,259
Members
449,075
Latest member
staticfluids

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