Help PLEASE. Retrieveing Info Fom Another Spreadsheet

Mister H

Well-known Member
Joined
Mar 6, 2002
Messages
1,507
Hi:

I have 2 spreadsheets that have some of the same info as well as different data. Doc A contains Employees Name and ID number (20 000 Rows) and Doc B contains Employee ID, Name and Work Location. What I am trying to do is SET UP SOME TYPE OF FORMULA THAT WILL HAVE DOC 1 LOOK AT DOC 2 AND ONCE IT FINDS THE EMPLOYEES ID NUMBER FROM THE LIST IN DOC 2 IT WILL PUT THE ID NUMBER INTO DOC 1. i have played around a bit but can't seem to figure it out. It is definately not a simpple cut and paste procedure. Does anyone know hwo I can accompliish my task? Any help would be appreciated.

Thanks,
Mark
 

Some videos you may like

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

kskinne

Well-known Member
Joined
Feb 17, 2002
Messages
1,267
Office Version
  1. 365
Platform
  1. Windows
it sounds like vlookup is the function that you should use in this situation. for example, if you have an employee ID in cell A1 and employee name in cell B1 in workbook1.xls, and you have an employee ID in cell A1 of workbook2.xls, use something like this:

=VLOOKUP(A1,[workbook1]Sheet1!$A$1:$B$1,2,FALSE)

for more information on using the vlookup function, consult Excel's online help on the function.

HTH
kevin
 

Watch MrExcel Video

Forum statistics

Threads
1,122,335
Messages
5,595,576
Members
413,996
Latest member
mabelO

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
Top