Need to add certain phone numbers in one column to a column in another file

E

epenfold

I have a spreadsheet with basic contact info including address and name
but no phone numbers. And I have another spreadsheet with just name
(same names as other spreadsheet) and phone number as column headers. I
need to add the phone numbers from one spreadsheet into the spreadsheet
with the names and addresses.

The tricky part is that I have a few hundred extra rows of names in the
spreadsheet with phone numbers only that I don't need and that aren't
in the other spreadsheet. So, I somehow need to insert the phone
numbers beside the appropriate names in the spreadsheet with names and
addresses only.

Any suggestions would be appreciated :) Thanks!

Emily
 
J

JE McGimpsey

The tricky part is that I have a few hundred extra rows of names in the
spreadsheet with phone numbers only that I don't need and that aren't
in the other spreadsheet. So, I somehow need to insert the phone
numbers beside the appropriate names in the spreadsheet with names and
addresses only.

one way:

I'll assume that when you write "spreadsheet" you mean workbook, or
file, rather than a worksheet within a workbook.

Assume that the workbook with the phone numbers is named
"Workboook2.xls" with the data on worksheet "Sheet1", columns A & B.

Assume further that your address workbook has the names in column A of
the desired worksheet, and that the worksheet has column labels (Name,
Address, City...Phone...) in row 1. In the Phone column, row 2 enter:

=VLOOKUP(A2,'[Workbook2.xls]Sheet1'!A:B, 2, FALSE)

and copy down as far as required.

Now select the Phone column. Copy it. Choose Edit/Paste Special,
selecting the Values radio button in the dialog. Click OK.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top