VLOOKUP Head Scratcher

DPChristman

Board Regular
Joined
Sep 4, 2012
Messages
171
Office Version
  1. 365
Platform
  1. Windows
I have an odd situation.

One of my forms contains a VLOOKUP to a spreadsheet containing employee information.

Enter the employee ID #, and the employee information is automatically populated.

This is repeated about 10 times on the form, so you can enter the employee ID for up to 10 people, and have it populate the data

The spreadsheet that the VLOOKUP pulls from is on a shared network drive.

The problem is a strange one.

Some of my users are reporting that when they enter the employee ID, it populates for the first few employees, then starts giving an #N/A message for the others.

I had them send me the format they were working on. Although they were receiving the #N/A message in the auto-pop fields, everything was populated normally when I opens the form.

Important note, I am not directly connected to the corporate server. I am connecting through a VPN (I work from home), just like they do. yet, I have no problems.

I have examined, and re-examined the formulas, and they all work correctly.

I thought that this may be related to the fact that the users also use an air card to connect to the internet, but I am told this happens whether they are on air card, hard wired or wireless.

I am baffled. Any thoughts?
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Are you anchoring ($) your ranges inside the VLOOKUP formula?

I know, I have to ask such questions.
 
Upvote 0
Yep (I changed the folder names to make them easier to fit)
=VLOOKUP($A76,'S:\FOLDER1\FOLDER2\FOLDER3\FORMAT\[EMPLOYEE LIST.xlsx]Employee Listing'!$A:$Z,6,0)
A76 represents the location where the employee ID is entered. It can't be a constant because the location changes for each entry
 
Upvote 0
Without being there and seeing it happen, it's hard for me to come to a conclusion. Usually I start with the simple things. Making sure that those ID's are actually in the database. Making sure that the ID cells are formatted as numbers and not text (in both the form and the database). Making sure the formula on the form is correct all the way down the column. On that last note, if somebody moves a cell, the formula will follow as you know; so it may look like it's referencing the cell on the same row, but in fact it's referencing another row.

That's all I can offer until more information comes in.
 
Upvote 0
Well one way that I know that the formulas are not likely the issue is that I had one of the people send me a failed document, where the vlookup was producing a #N/A error.
When I opened the attachment, the All the employee information was loaded. So, the correct ID was entered, the vlookup was valid, and the information it was pulling was available.
Like I said, it is bizarre.
The only other possibility is that they are not clicking on Enable Content, when the format opens (although they tell me they do)
Hence, the headscratcher
 
Upvote 0
Enable Content may or may not update the links. They should check the settings in the Trust Center under External Content.
 
Upvote 0
enable content will not be the issue ( i don't think) as the form would not work either,

have you tried sending the file back that they sent you after you have opened it and simply saved it to see if the boxes then populate when they open it
 
Upvote 0

Forum statistics

Threads
1,214,976
Messages
6,122,543
Members
449,089
Latest member
davidcom

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