Bug In excel 2016? - Vlookup occasionally fails to pull data from rows

Dancorkery26

New Member
Joined
Mar 22, 2020
Messages
15
Office Version
  1. 2016
Platform
  1. Windows
Hi,

This is my first post on this forum. I have come across an unusual issue with excel. I am out of ideas!
Would really appreciate help with this.

Problem
I create a leftmost column to use for Vlookup. It contains =LotID&Unique ID formula. This is contained in sheet 1.
Sheet 2: The leftmost column in sheet 2 is ='sheet1'!A:A.
I then perform vlookup to drop detail into specific columns.
99% of the time the data is pulled without a problem.
For some reason occasionally it doesnt pull the information. The detail is there, I can clearly see it.
One thing I have noticed, when I do ctrl+F and try search for it sometimes it does not return.

I have attached a reduced example. Here you can clearly see the issue.
 

Attachments

  • Image 4.JPG
    Image 4.JPG
    237.1 KB · Views: 16
  • Image 3.JPG
    Image 3.JPG
    169.6 KB · Views: 13
  • Image 2.JPG
    Image 2.JPG
    168 KB · Views: 13
  • Image 1.JPG
    Image 1.JPG
    149 KB · Views: 13
Your =VLOOKUP($A17,'Raw Data'!$A$1:$AJ$3694,2,0) is wrong

change 3694 to a much bigger number atleast 5500
 
Upvote 0

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Arhhh, how did I miss that. Fair play Mole999. A big thank you Fluff and mole999. I was lost on that one
 
Upvote 0
Ok, thanks for that.
The problem is because the vlookup is only looking at A1:AJ3694, but the data goes down to row 5106. So some of the values you are trying to lookup are below row 3694.
Values like LY3M4 work because it exists more than once on the raw data sheet, namely rows 2640 & 4679
If you change the vlookup range A1:AJ5106, it should get rid of the problem, but may not pickup the correct value if it appears more than once on the data sheet.

Hadn't noticed the thread had gone to page#3.
 
Upvote 0
Ok, thanks for that.
The problem is because the vlookup is only looking at A1:AJ3694, but the data goes down to row 5106. So some of the values you are trying to lookup are below row 3694.
Values like LY3M4 work because it exists more than once on the raw data sheet, namely rows 2640 & 4679
If you change the vlookup range A1:AJ5106, it should get rid of the problem, but may not pickup the correct value if it appears more than once on the data sheet.

Hadn't noticed the thread had gone to page#3.
Me either, thanks again Fluff. I am surprise how generous ye are with your time. Take care and stay safe
 
Upvote 0
Glad we could help & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,214,920
Messages
6,122,264
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