VLOOKUP RETURNING WRONG VALUE

kennyslaterr

New Member
Joined
Jan 10, 2023
Messages
17
Office Version
  1. 365
Platform
  1. Windows
Hello!

Can anyone tell me what im doing wrong?? im trying to do a VLOOKUP to grab data from another sheet and for some reason it is returning an incorrect value?? Ill attach an image from each worksheet. The value i should be getting is '2021' and its giving me '2019' Thanks! (also when i try to add false to get exact i just get NA)
1673399274247.png

1673399324175.png
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
If you search by vendor name, you should look in column B, it should be like this:
Excel Formula:
=VLOOKUP(A34,Sheet2!B:C,2,0)
If you search by vendor number, you should search in column A, it should be like this:
Excel Formula:
=VLOOKUP(B34,Sheet2!A:C,3,0)

Notice at the end of the formula, the parameter 0, is to indicate that the match is exact.
 
Upvote 0
Solution
If you search by vendor name, you should look in column B, it should be like this:
Excel Formula:
=VLOOKUP(A34,Sheet2!B:C,2,0)
If you search by vendor number, you should search in column A, it should be like this:
Excel Formula:
=VLOOKUP(B34,Sheet2!A:C,3,0)

Notice at the end of the formula, the parameter 0, is to indicate that the match is exact.
Thankyou so much!
 
Upvote 0

Forum statistics

Threads
1,215,036
Messages
6,122,796
Members
449,095
Latest member
m_smith_solihull

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