Use the VLOOKUP function. Name the range of your list of name
(including the column with the letter identifiers) as "NAMES" (o
whatever you like). Then use this formula:
="Dear "&VLOOKUP('data work sheet'!C5,NAMES,2)
Note: by 'naming' your list's range, as you adjust the size of th
list, you don't need to rewrite your formulas that refer to the range.
Just make sure the named range matches your list's range. It also make
writing the formula easier, as you don't need to reference the shee
(assuming it is in the same workbook).
Tip: you could also 'name' the cell C5 "CODE" (or whatever), then you
formula would look like:
="Dear "&VLOOKUP(CODE,NAMES,2)
HT
--
swatsp0
Chris Rogers - 16 Feb 2005 17:47 GMT
If your creating letters, you may get more functionality out of using
Word and doing a mail merge. It gives you some added functionality.