Text Formula Question

  • Thread starter Thread starter Chris
  • Start date Start date
C

Chris

What I would like to do is the following:

Say I have 2 spreadsheets in a workbook, say A and B. In spreadsheet A, I
have a database or list. For example, in column a I have a ticker symbol
(MOT), column b the company name (Motorola) and in column c I have a ID #
(0000111).

Now I switch over to spreadsheet B to do some work...what I want to create
is a formula for if I type in the ticker symbol "MOT" in say column a, column
b and c will automatically fill in the company name and ID # from the
spreadsheet A.

My entries arent in the same order as they are listed in the database...is
there a way to do this? I cant seem to figure it out, hope my wording isnt
too confusing, thanks!
 
Look in the help index for VLOOKUP making sure to use the last parameter
since not in order.
 
Don, thanks for the reply...i looked up VLOOKUP and found the formula, but i
still cant seem to make it work...the formual inputs are a bit
confusing...any suggestions, sorry?
 
Use this formula in the column for description cell on "SHEET B" the only
option that may need to be changed in these formulas is the sheet name, I
have used SHEET1
=IF(ISNA(VLOOKUP(TEXT(A1,"000000"),SHEET1!$A$2:$S$5000,2,FALSE)),"",VLOOKUP(TEXT(A1,"000000"),SHEET1!$A$2:$S$5000,2,FALSE))

Use this formula in the column for ID# on "SHEET B"
=IF(ISNA(VLOOKUP(TEXT(A1,"000000"),SHEET1!$A$2:$S$5000,3,FALSE)),"",VLOOKUP(TEXT(A1,"000000"),SHEET1!$A$2:$S$5000,3,FALSE))
 

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