info from other sheet

  • Thread starter Thread starter Pivotrend
  • Start date Start date
P

Pivotrend

sup pros

i have this info

in sheet AA
A1:MSFT
A2:LU
A3:CSCO
A4:CAT
A5:IBM
A6:ORCL

& in sheet BB
A1:MSFT
A2:LU
A3:CSCO
A4:CAT
A5:IBM
A6:ORCL

&

B1:MICROSOFT
B2:LUCENT
B3:CISCO SYSTEMS
B4:CATERPILLAR
B5:INTERNATIONAL BUISNESS MACHINES
B6:ORACLE

I want Cells Adjacent to Symbols in sheet AA to display the name of the
company from sheet BB

what formula do i have to use if they not in the same order & the order
of the symbols change according to some external information ?
 
One way ..
In sheet: AA
Put in B1: =IF(A1="","",VLOOKUP(A1,BB!A:B,2,0))
Copy down as far as required
 
Pivotrend said:
whats with the 2 figures at the end of the formula
2 & 0

2 = col_index_num, the 3rd param in the VLOOKUP
(i.e. the col to be returned from the table_array, here, it's the 2nd col,
col B in sheet: BB)

0 = FALSE, the 4th param in the VLOOKUP, i.e. to lookup an exact match
(Typing a zero is just a shorter way to express it, instead of writing
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