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
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).

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
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,984
Messages
5,834,710
Members
430,311
Latest member
JAC0617

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