Vlookup Help

davidhall

Board Regular
Joined
Mar 6, 2011
Messages
174
I have a vlookup function on worksheet 1 that references a fixed range of data on worksheet 2. On worksheet 2, I will be copying and pasting data from another spreadsheet onto worksheet 2 and for some reason the range formula on worksheet 1 changes to =VLOOKUP($B25,'Oper Data'!#REF!,2,FALSE), therefore, not returning my date. The formula should look like this =VLOOKUP($B25,'Oper Data'!$B$1:$B$150,2,FALSE)

Any suggestions?
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
It is always $b$1:$b$150

I am copy the cells from another spreadsheet and pasting them in worksheet 2. I have tried different methods of pasting and haven't been successful
 
Upvote 0
Try replacing the formula with:

=VLOOKUP($B25,INDIRECT("'Oper Data'!$B$1:$B$150"),2,FALSE)
 
Upvote 0
Your range must include at least Column C as you are using the "2" column reference...

=VLOOKUP($B25,'Oper Data'!$B$1:$C$150,2,FALSE)
 
Upvote 0

Forum statistics

Threads
1,214,523
Messages
6,120,031
Members
448,940
Latest member
mdusw

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