Refrencing an entire worksheet?

E

el_grimley

Is it possible to refrence an entire worksheet from another workbook
(which is unopened) so that I can use its cells for a Vlookup?

Thanks

Graham
 
J

JE McGimpsey

One way:

=VLOOKUP(A1,[Workbook2]Sheet1!$A:$IV,123,FALSE)

It's easiest to create the link with the workbook open, as shown above.
Otherwise, include the path in your reference.
 
P

Peo Sjoblom

It's easier if you open the other workbook first and use the mouse to select

=VLOOKUP(D1,[myfile.xls]Sheet1!$1:$65536,3,0)

then excel will add the necessary path when you close the workbook

=VLOOKUP(D1,'C:\Documents and Settings\My Name\My
Documents\[myfile.xls]Sheet1'!$1:$65536,3,0)

otherwise you have to build the path yourself



--
Regards,

Peo Sjoblom

(No private emails please)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top