Excel Vlookup only sometimes works

G

Guest

Guest
I am using VLookup on one tab to lookup data on another tab within the same spreadsheet. Some of the lookups work and some don't, even when I use the same values. As an example, I type 123 and get the correct answer. I try another cell and type 123 and get the right answer. Then I go back to the original cell and type 347 and get the right answer.

I have double checked the following.

1-The format of the cells in the table and lookup are identical.
2-The table is sorted
3-I've tried both True and False as the final parameter
4- The range $A$2:$B$129 is the same for all the cells I looking for
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Make sure that the lookup value and table values are not just formatted alike, but also of the same data type.
 
Upvote 0

Forum statistics

Threads
1,215,035
Messages
6,122,785
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