unknown formatting causing issues

paquirl

Board Regular
Joined
Oct 12, 2010
Messages
226
Office Version
  1. 2016
Platform
  1. Windows
A colleague sent me a workbook that a customer gave to him. I am having issues with getting vlookups to work properly and it appears that there is some sort of automatic formatting or programming going on that changes stuff as I go. Is there a good way to grab the data and put it into a clean workbook without those issues? I have literally copied and put into a new workbook but that did not work out.
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Copy into Notepad then into a new workbook possibly?
 
Upvote 0
ok maybe this is the right question, how do you make a vlookup not stop if there's a second instance in a list?
 
Upvote 0
0034507660700345
0034607660700346
0035007660700350
00350#N/A
 
Upvote 0
i dont understand why this workbook is jacking up my vlookup formula. i just saw what it's doing. When i double click the little square on bottom right, it normally populates the vlookup formula correctly to go down the column. But what it's doing in this workbook is changing the vlookup range for each cell as it goes down.

=VLOOKUP(B2,Sheet1!A1:B345,2,FALSE)
=VLOOKUP(B3,Sheet1!A2:B346,2,FALSE)
=VLOOKUP(B4,Sheet1!A3:B347,2,FALSE)

0034507660700345
0034607660700346
0035007660700350
 
Upvote 0
You need to lock the rows like
Excel Formula:
=VLOOKUP(B2,Sheet1!A$1:B$345,2,FALSE)
 
Upvote 0
Solution

Forum statistics

Threads
1,215,325
Messages
6,124,252
Members
449,149
Latest member
mwdbActuary

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