Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel 2000 Question 1

Status
Not open for further replies.

pappion

MIS
Feb 12, 2003
27
0
0
US
Hi there, I would like to know how to create an Excel 2000 file which when a specific item number is typed in cell A1 a description of the item appears in cell A2 and an amount in cell A3. Thanks.
 
Hi,

Where is your lookup table?

Generally, here's the approch..

in A2
Code:
=Index(YourDescriptionRange,Match(A1,YourItemNumberRange,0),1)
in A3
Code:
=Index(YourAmountRange,Match(A1,YourItemNumberRange,0),1)
Hope this helps :)

Skip,
Skip@TheOfficeExperts.com
 
Hello,

This can be solved easily with the Vlookup function, but as Skip mentioned you need a reference table with the values and the descriptions.

Supposing range E1 to F10 contains the values to lookup (column e) and the descriptions (column f), the formula in A2 should look like this:
Code:
=if(isna(vlookup(A1;E1:F10;2;0);" ";vlookup(A1;E1:F10;2;0))
The if function is only added to avoid errors if A1 is empty or not matching with an item from the reference table.

Regards,

Bit
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top