Copy Cell Data From One Sheet To Another

  • Thread starter Thread starter Pappy
  • Start date Start date
P

Pappy

I'm not sure that what I want to do will work, but here goes.

I have one workbook containing two sheets. On sheet one, I have a cell,
let's say C2. In the next column, D2 and E3, I have empty cells.

In worksheet two, I have three columns with data in them.

What I need to do is set up something so that when I enter data in cell C2
of worksheet one and hit enter, a program or formula copies that data, goes
to worksheet two, searchs for the copied data, and when found, copies the
data from the found cell and the next two cells (find data in G1, copy data
from G1:I1) from worksheet two to cells D2:F2 in worksheet two.

Is this possible?

Any input would be appreciated.
 
IN D2
=IF(C2="","",Vlookup(D2,Sheet2!$G$1:$I$200,2,False))
in E2
=IF(C2="","",Vlookup(D2,Sheet2!$G$1:$I$200,3,False))
 
Sir,

I had to play with this a little, but it all worked just fine after some
tinkering. Thanks a bunch for your 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

Back
Top