Hello,
I have a reference list which contains codes and their corresponding txt
and another list that contains just the codes but in multiples
is there a way to automatically match the two lists and fill the blanks in the longer list with corresponding txt,
e.g.
List 1-reference
A1 B1
11 Xray
12 CT-Head
13 Foley
List 2
A1
11
11
11
11
12
12
13
13
so that list two fills with the txt description based on list 1
Put this in B1 of the second sheet:
=IF(ISNA(MATCH(A1,'List 2'!A:A,0)),"",VLOOKUP(A1,'List 2'!A:B,2,0))
then copy down as far as you need to.
Hope this helps.
Pete
Try using the vlookup function. Here is a tutorial on the syntax.
http://www.techonthenet.com/excel/formulas/vlookup.php
Alan
Click the * below to say thanks.
Database Principles
Pivot Table Tips
Good Excel Video Tutorials
Sumifs or SumProduct
DataPig Access Tutorials
MS Query Tutorial
Worst Pie Chart Ever?
'List2'! means you are referencing the sheet named List2. Look along the bottom and you will see the name on the tab. An array is an arrangement of quantities in rows and columns, as in a matrix.
Sucess! thank you all
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks