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

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
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
 
Upvote 0

Forum statistics

Threads
1,214,893
Messages
6,122,121
Members
449,066
Latest member
Andyg666

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
Back
Top