Extracting Data back and forth between Sheets

P

Paul

I have loaded a customer data base with name, number, and email addy in three
separate columns on one page. On another page, is my weekly planning sheet.
How can I type a name on my weekly planning sheet (also located on the
customer page) in column A and have Excel automatically bring forward the
corresponding phone number (column B) and the email (column C) from the other
sheet? Also, is it possible that when I type the result of my converstation
in Column D, that it can aoutomatically be transfered to another page, where
the data can be continuously added instead of being rewritten over the
specified cell. Thank you very much for the help. Paul
 
P

Pete_UK

You can use VLOOKUP for the first part of your question. Assume
customer database occupies A1 to C100 in a sheet called Customers.
Assume you enter the name in A1 of your other sheet - put this formula
in B1 to bring across the phone number:

=VLOOKUP(A1,Customers!$A$1:$C$100,2,0)

and this one in C1 to retrieve the email address:

=VLOOKUP(A1,Customers!$A$1:$C$100,3,0)

If you want to have several customers' names in column A, copy the
formulae down B and C for as many names as you have in A.

You can use column D to record the outcome of your conversation, but I
think you will have to copy and paste it to your third sheet if you
want to keep it and re-use D1. Alternatively, you could do this with a
macro, perhaps with a button to activate the transfer.

Hope this helps.

Pete
 
T

Toppers

To extract data:

with Customer name in A2:

in B2:

=VLOOKUP(A2,Customer!$A:$C,2,0)

in C2:

=VLOOKUP(A2,Customer!$A:$C,3,0)

"Customer" is your Customer DB w/sheet

RE update of "conversation":

You will need worksheet event (VBA) code to write the data; how will it be
organised on the w/sheet?

HTH
 
P

Paul

The data could be stored in one cell, but I thought it could be stored in a
column with each new notation going to a new cell. Thank you for the help
 

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