Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 273
Default VLOOKUP From Another Worksheet???

Greetings,

Is it possible to use VLOOKUP to transfer data from one workbook to
another?

TIA

-Minitman
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default VLOOKUP From Another Worksheet???

Yes, it is certainly possible. Try something like

=VLOOKUP("a",'Sheet2'!A1:B10,2,FALSE)

The single quotes around the sheet name are not required unless
the sheet name contains a space, but it never hurts to include
them.

--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com




"Minitman" wrote in message
...
Greetings,

Is it possible to use VLOOKUP to transfer data from one
workbook to
another?

TIA

-Minitman



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 273
Default VLOOKUP From Another Worksheet???

Hey Chip,

I just realized the subject says worksheet and the body refers to
workbook. I need to transfer from one workbook to another workbook.

Let's say that the data is in C:\Data\Cust1.xls in a sheet called
"List" and a named range called "CustList1" ('List'!A1:F10). If the
VLOOKUP is in C:\Data\Schedule.xls on a sheet called 'Daily' looking
to column D Rows 2:100 which have data validation as the Lookup_value.

If the Vlookup is in F5 and the validation is in D5, would the formula
look something like this:

=VLOOKUP(D5,C:\Data\Cust1.xls"CustList1",2,FALSE)

I'm not sure about the syntax for the workbook reference, what do you
think?

-Minitman





On Tue, 13 Sep 2005 12:21:14 -0500, "Chip Pearson"
wrote:

Yes, it is certainly possible. Try something like

=VLOOKUP("a",'Sheet2'!A1:B10,2,FALSE)

The single quotes around the sheet name are not required unless
the sheet name contains a space, but it never hurts to include
them.


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,337
Default VLOOKUP From Another Worksheet???

As Chip said or use a defined name such as

mylookuptable

--
Don Guillett
SalesAid Software

"Minitman" wrote in message
...
Greetings,

Is it possible to use VLOOKUP to transfer data from one workbook to
another?

TIA

-Minitman



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 273
Default VLOOKUP From Another Worksheet???

Hey Don,

Thanks for the reply and confirmation.

I am now looking for the syntax to do just that, any suggestions?

-Minitman



On Tue, 13 Sep 2005 13:07:38 -0500, "Don Guillett"
wrote:

As Chip said or use a defined name such as

mylookuptable




  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default VLOOKUP From Another Worksheet???

Open both workbooks, but let excel do the heavy lifting.

Start your formula:
=vlookup(d5,
then use window to go to the other workbook.
select your worksheet
select the range
and finish up (with ,2,false) )

Close that other workbook and you'll see the syntax.

Minitman wrote:

Hey Chip,

I just realized the subject says worksheet and the body refers to
workbook. I need to transfer from one workbook to another workbook.

Let's say that the data is in C:\Data\Cust1.xls in a sheet called
"List" and a named range called "CustList1" ('List'!A1:F10). If the
VLOOKUP is in C:\Data\Schedule.xls on a sheet called 'Daily' looking
to column D Rows 2:100 which have data validation as the Lookup_value.

If the Vlookup is in F5 and the validation is in D5, would the formula
look something like this:

=VLOOKUP(D5,C:\Data\Cust1.xls"CustList1",2,FALSE)

I'm not sure about the syntax for the workbook reference, what do you
think?

-Minitman

On Tue, 13 Sep 2005 12:21:14 -0500, "Chip Pearson"
wrote:

Yes, it is certainly possible. Try something like

=VLOOKUP("a",'Sheet2'!A1:B10,2,FALSE)

The single quotes around the sheet name are not required unless
the sheet name contains a space, but it never hurts to include
them.


--

Dave Peterson
  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 273
Default VLOOKUP From Another Worksheet???

Hey Dave,

That is exactly what I was looking for - Thank you.

-Minitman

On Tue, 13 Sep 2005 13:46:22 -0500, Dave Peterson
wrote:

Open both workbooks, but let excel do the heavy lifting.

Start your formula:
=vlookup(d5,
then use window to go to the other workbook.
select your worksheet
select the range
and finish up (with ,2,false) )

Close that other workbook and you'll see the syntax.

Minitman wrote:

Hey Chip,

I just realized the subject says worksheet and the body refers to
workbook. I need to transfer from one workbook to another workbook.

Let's say that the data is in C:\Data\Cust1.xls in a sheet called
"List" and a named range called "CustList1" ('List'!A1:F10). If the
VLOOKUP is in C:\Data\Schedule.xls on a sheet called 'Daily' looking
to column D Rows 2:100 which have data validation as the Lookup_value.

If the Vlookup is in F5 and the validation is in D5, would the formula
look something like this:

=VLOOKUP(D5,C:\Data\Cust1.xls"CustList1",2,FALSE)

I'm not sure about the syntax for the workbook reference, what do you
think?

-Minitman

On Tue, 13 Sep 2005 12:21:14 -0500, "Chip Pearson"
wrote:

Yes, it is certainly possible. Try something like

=VLOOKUP("a",'Sheet2'!A1:B10,2,FALSE)

The single quotes around the sheet name are not required unless
the sheet name contains a space, but it never hurts to include
them.


  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,337
Default VLOOKUP From Another Worksheet???

Just highlight your table and name it or define a name if you will add to
it.
=vlookup(2,mylookuptable,2,0)

--
Don Guillett
SalesAid Software

"Minitman" wrote in message
...
Hey Don,

Thanks for the reply and confirmation.

I am now looking for the syntax to do just that, any suggestions?

-Minitman



On Tue, 13 Sep 2005 13:07:38 -0500, "Don Guillett"
wrote:

As Chip said or use a defined name such as

mylookuptable




  #9   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 273
Default VLOOKUP From Another Worksheet???

Hey Don,

Thanks, that helps.

Sorry I didn't reply sooner, I had eye surgery last week and am just
now getting to the point where I can see somewhat. They had to
reattach my retina (second time, hope it stays this time).

-Minitman



On Wed, 14 Sep 2005 07:13:55 -0500, "Don Guillett"
wrote:

Just highlight your table and name it or define a name if you will add to
it.
=vlookup(2,mylookuptable,2,0)


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vlookup Worksheet Curtis Excel Worksheet Functions 4 November 14th 09 03:51 PM
vlookup from another worksheet Jeff Li Excel Worksheet Functions 2 September 14th 08 04:37 AM
Vlookup In Another Worksheet Daviv Excel Discussion (Misc queries) 1 February 5th 07 05:51 PM
Vlookup in a second worksheet SHIPP Excel Worksheet Functions 1 December 28th 05 03:03 PM
vlookup worksheet(s) jiwolf Excel Discussion (Misc queries) 1 April 12th 05 05:59 PM


All times are GMT +1. The time now is 09:52 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"