Vlook up and DV over 2 workbooks

abagnall

New Member
Joined
Jan 13, 2013
Messages
7
this is my first attempt at anything like this, i am wanting to link two workbooks together with the aim that when a option is selected in a drop down menu in workbook "band form", it auto populates the rest of the form with data from the second workbook "showsales2013". date, ticket price, support acts etc etc.......

as a example,
the drop down in workbook "band form" is a list of bands (list data also taken from showsales2013) ive got this bit working ok (i think :) ), each band is playing on a different day so i have used this formula to get the "date" from "showsales2013"


<code>=VLOOKUP(F4,[ShowSales2013.xls]Sheet1!$1:$65536,4,0)</code></pre>
this seems to work until i insert a new row and/or column (in the showsales wookbook - which needs doing from time to time as new bands get booked to play), then i get #REF in the date cell on the "band form blank".
i used pretty much the same formula to pull the other needed data (price/support acts etc ) from showsale2013, and the result is the same, #REF.


ive got the two excel files which im willing to attach for people to have a look at, but i cant seem to find how to attach them,

any help would be great.
thanks in advance
andy
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
I can't reproduce your #REF! error in Excel 2003. Inserting a row on Sheet1 of ShowSales2013.xls has no effect on your formula because it is referencing the entire worksheet.
 
Upvote 0
im using 2007, if that make a diff. ive just tried again and got the same #ref error.
as i say im new to this, i tried to set the formula out in a logical way to me, learning it for the first time, thinking that if i included the whole sheet it would work when extra rows/colmuns are added. im not sure why its not working!
but thinking about it all day, ive concluded that i was wrong to begin with, the columns need to be "set" the the formula.
as at the moment if someone inserts a column the reference i have in the formula would then be out one. the row information(DV drop down) is (i think) ok as its the whole column thats pulled from showsales, regardless of whats added.

thanks andrew for taking the time to look at my issue. im not up on all the terms so im probably making it harder than it is.

again
thanks
 
Upvote 0
Yes, I can reproduce what you are seeing in Excel 2007, which is rather surprising. Can't you avoid referencing entire rows/columns?
 
Upvote 0
i think youre right, think i have no choice but to try avoiding referencing entire rows/columns. would a solution be to name tables and then use some sort of MATCH formula? (both of which i dont know how do to at this point) again, thanks for help/advice.
 
Upvote 0

Forum statistics

Threads
1,223,234
Messages
6,170,891
Members
452,366
Latest member
TePunaBloke

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