need help from Excel Pro....

D

Dan Brimley

I have a spreadsheet with 2 worksheets. 1 worksheet has a list of numerical
codes with data in two other columns that are associated with each code.

I want to be able to enter any one of those numerical codes into the second
worksheet and have it automatically pull in the associated data to those
codes.

Can someone tell me how or point me in the right direction for information
to accomplish this.

Huge Thanks!!!
 
T

The Red Cardinal

Dan said:
I have a spreadsheet with 2 worksheets. 1 worksheet has a list of
numerical codes with data in two other columns that are associated
with each code.

I want to be able to enter any one of those numerical codes into the
second worksheet and have it automatically pull in the associated
data to those codes.

Can someone tell me how or point me in the right direction for
information to accomplish this.

Huge Thanks!!!


Depending on how your first spreadsheet is set up, you will need to use
HLOOKUP or VLOOKUP functions to get this working. Is very easy - you should
be able to figure it out using the formula creater .

If not, just post here for more help...
 
D

Dan E

Dan,

Check out the lookup formulas (LOOKUP and VLOOKUP)
I believe their what you looking for.

ie.

On sheet 1
abc1 desc11 desc12
abc2 desc21 desc22
abc3 desc31 desc32
etc...

On sheet2 (desired)
abc2 desc21 desc22

formula to get desc21
=VLOOKUP(A1,Sheet1!A1:C3,2,FALSE)
OR
=LOOKUP(A1,Sheet1!A1:A3,Sheet1!B1:B3)
for desc22
=VLOOKUP(A1,Sheet1!A1:C3,2,FALSE)
OR
=LOOKUP(A1,Sheet1!A1:A3,Sheet1!C1:C3)

I prefer vlookup myself.

Dan E
 
D

dvt

Dan said:
I have a spreadsheet with 2 worksheets. 1 worksheet has a list of
numerical codes with data in two other columns that are associated
with each code.

I want to be able to enter any one of those numerical codes into the
second worksheet and have it automatically pull in the associated
data to those codes.

Can someone tell me how or point me in the right direction for
information to accomplish this.

You need a LOOKUP function. Probably VLOOKUP, to be specific. Excel's help
is a great place to start now that you know the name of the function.

Dave
dvt at psu dot edu
 
A

Alan Beban

=VLOOKUP(A1,Sheet1!A1:C3,{2,3},FALSE)
array entered into B1:C1 will return desc21 and desc22, respectively,
into those two cells.

Alan Beban
 

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