Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
PaulGrowns1
 
Posts: n/a
Default How can I link one cell to a list of info in another workbook?

I have to workbooks, One workbook contains a list of personnel information
such as names and departments and the second has information regarding the
companies vehicle usage.

I wish to be able to link one cell/column in the second workbook to look
through the first workbook for the person's employee number and then place
his department into the cell.

If you need more clarification on this please email me at


Regards

Paul.
  #2   Report Post  
Posted to microsoft.public.excel.misc
Roger Govier
 
Posts: n/a
Default How can I link one cell to a list of info in another workbook?

Hi Paul

You talk about Names in one part and employee numbers in the other.
Assuming we are talking about Names in both cases, and, assuming on Sheet1
you have names in column A, and Departments in column B, with a header in
row 1 and data starting in row 2.
Further, assuming on Sheet2, row 1 is header, the person's name is in column
A and you want to put the result in column D

On Sheet2 in Cell D2
=VLOOKUP(A2,Sheet1!$A$2:$A$1000,2,0)
copy down column D as far as required.

This assumes up to 999 rows of data. Change ranges and cell locations to suit.
If this doesn't work, post back with more detail of what each sheet looks
like, where you want the data captured etc.


Regards

Roger Govier


PaulGrowns1 wrote:
I have to workbooks, One workbook contains a list of personnel information
such as names and departments and the second has information regarding the
companies vehicle usage.

I wish to be able to link one cell/column in the second workbook to look
through the first workbook for the person's employee number and then place
his department into the cell.

If you need more clarification on this please email me at


Regards

Paul.

  #3   Report Post  
Posted to microsoft.public.excel.misc
PaulGrowns1
 
Posts: n/a
Default How can I link one cell to a list of info in another workbook?

Roger thanks,

Sorry for any confusion. On worksheet one I have the following, Column a is
rank, column b is employee number column c is name and column d is dept.

On the second worksheet i have vehicle usage, so column a is the vehicle
reg, column b the miles travelled and column c is the drivers employee number
  #4   Report Post  
Posted to microsoft.public.excel.misc
Roger Govier
 
Posts: n/a
Default How can I link one cell to a list of info in another workbook?

Hi Paul

Try entering in D2 of Worksheet 2
=VLOOKUP(C2,[Filename.xls]Sheet1!$B$2:$D$1000,3,0)

Substitute your actual filename and sheet name.

Regards

Roger Govier


PaulGrowns1 wrote:
Roger thanks,

Sorry for any confusion. On worksheet one I have the following, Column a is
rank, column b is employee number column c is name and column d is dept.

On the second worksheet i have vehicle usage, so column a is the vehicle
reg, column b the miles travelled and column c is the drivers employee number
.

When i type in the employee number in column c on the second worksheet i
want the name and dept of the employer to appear in the next to columns
respectively.

The two worksheets are different files as the employee list changes from
week to week and it is not viable to have this info in one file on two
sheets. The sabve location for the files does not change.

Hope that this clarifies the situation a little better and you can offer me
a solution.

cheers

Paul

"Roger Govier" wrote:


Hi Paul

You talk about Names in one part and employee numbers in the other.
Assuming we are talking about Names in both cases, and, assuming on Sheet1
you have names in column A, and Departments in column B, with a header in
row 1 and data starting in row 2.
Further, assuming on Sheet2, row 1 is header, the person's name is in column
A and you want to put the result in column D

On Sheet2 in Cell D2
=VLOOKUP(A2,Sheet1!$A$2:$A$1000,2,0)
copy down column D as far as required.

This assumes up to 999 rows of data. Change ranges and cell locations to suit.
If this doesn't work, post back with more detail of what each sheet looks
like, where you want the data captured etc.


Regards

Roger Govier


PaulGrowns1 wrote:

I have to workbooks, One workbook contains a list of personnel information
such as names and departments and the second has information regarding the
companies vehicle usage.

I wish to be able to link one cell/column in the second workbook to look
through the first workbook for the person's employee number and then place
his department into the cell.

If you need more clarification on this please email me at


Regards

Paul.


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
Clicking Cell Link Changes Cell on Another Sheet nshah Excel Discussion (Misc queries) 1 August 31st 05 01:50 AM
Printing data validation scenarios SJC Excel Worksheet Functions 14 July 24th 05 12:43 AM
How do I use a cell value as the filename in an external link? wattkisson Excel Discussion (Misc queries) 5 July 11th 05 09:07 PM
How do I use a cell value as the filename in an external link? wattkisson Excel Worksheet Functions 1 July 8th 05 11:51 PM
How do I link one TEXT cell to others in a worksheet and workbook. HEATHERCOX Excel Worksheet Functions 1 April 19th 05 07:37 PM


All times are GMT +1. The time now is 11:15 AM.

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"