+ Reply to Thread
Results 1 to 5 of 5

Have A Letter Reference A Name For An Intoduction

  1. #1
    Registered User
    Join Date
    12-20-2004
    Posts
    88

    Have A Letter Reference A Name For An Intoduction

    I have a list of names (which will change) in column B "data work sheet". I'd like to assign a letter from colmun A to represent the cell that each name is entered (a=B1). I'd like to use that letter to identify the name to be used in the introduction of a generic message on "message work sheet". I'd like to place that letter in a location like C5 and have it reference the name.
    Please advise the best way to do that and how to approach it. Help appreciated.

    Example:

    "DATA WORK SHEET"

    ................ A..............B

    1................a..........MR SMITH

    2.................b.........TOM SMITH

    3.................c..........TOM L SMITH

    Enter "a" into cell C5

    "LETTER WORK SHEET"

    Dear (data work sheet, C5) MR SMITH

  2. #2
    Forum Expert swatsp0p's Avatar
    Join Date
    10-07-2004
    Location
    Kentucky, USA
    MS-Off Ver
    Excel 2010
    Posts
    1,545
    Use the VLOOKUP function. Name the range of your list of names (including the column with the letter identifiers) as "NAMES" (or 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 the 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 makes writing the formula easier, as you don't need to reference the sheet (assuming it is in the same workbook).

    Tip: you could also 'name' the cell C5 "CODE" (or whatever), then your formula would look like:

    ="Dear "&VLOOKUP(CODE,NAMES,2)


    HTH
    Bruce
    The older I get, the better I used to be.
    USA

  3. #3
    Chris Rogers
    Guest

    Re: Have A Letter Reference A Name For An Intoduction

    If your creating letters, you may get more functionality out of using
    Word and doing a mail merge. It gives you some added functionality.


  4. #4
    Registered User
    Join Date
    12-20-2004
    Posts
    88
    Bruce,

    Thanks that works great. Thanks for your help!

    Travelersway

  5. #5
    Forum Expert swatsp0p's Avatar
    Join Date
    10-07-2004
    Location
    Kentucky, USA
    MS-Off Ver
    Excel 2010
    Posts
    1,545
    I'm glad it worked for you. Feed back is always appreciated!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1