+ Reply to Thread
Results 1 to 2 of 2

drop down list question

  1. #1
    billy_cormic@hotmail.com
    Guest

    drop down list question

    hello,
    I am rather new to excel programing and have a simple question. I
    am hoping that someone can set me in the right direction. I have a
    drop down list and the ListFillRange is set to Sheet2!$A$2:$A$5. Is
    there an easy way to store a different value for each item in the
    listfillrange? For example, if an item in the drop down is displayed
    as Bob Smith, is there a way to store an employee number with Bob Smith
    in the drop down? I hope that this is clear enough. I want to do this
    so that I can use the employee number in another cell.

    Thanks,
    Billy


  2. #2
    Jason Morin
    Guest

    Re: drop down list question

    What you can do is create a table of employees and their
    corresponding employees numbers, and then use VLOOKUP to
    return the employees number. For example, let's assume in
    col. A, sheet1, you have names and in col. B, their
    employees numbers.

    Now let's assume your LinkedCell for your drop-down is D1
    on another sheet. Use:

    =VLOOKUP(D1,Sheet1!A:B,2,0)

    to pull in the employee #. For some examples on VLOOKUP,
    see:

    http://www.contextures.com/xlFunctions02.html
    http://www.techonthenet.com/excel/formulas/vlookup.htm\

    HTH
    Jason
    Atlanta, GA

    >-----Original Message-----
    >hello,
    >I am rather new to excel programing and have a simple

    question. I
    >am hoping that someone can set me in the right

    direction. I have a
    >drop down list and the ListFillRange is set to Sheet2!

    $A$2:$A$5. Is
    >there an easy way to store a different value for each

    item in the
    >listfillrange? For example, if an item in the drop down

    is displayed
    >as Bob Smith, is there a way to store an employee number

    with Bob Smith
    >in the drop down? I hope that this is clear enough. I

    want to do this
    >so that I can use the employee number in another cell.
    >
    >Thanks,
    >Billy
    >
    >.
    >


+ 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