+ Reply to Thread
Results 1 to 5 of 5

Linking VLookup and Combo Box

  1. #1
    Registered User
    Join Date
    09-14-2012
    Location
    St. John's, NL
    MS-Off Ver
    Excel 2007
    Posts
    5

    Linking VLookup and Combo Box

    Hi There,

    I have a long list of positions that I had original in a drop down box, through data validation. However, I could hardly see the positions in the drop down so I looked for a workaround.

    I used a combobox to display and select the data.

    What I want to do now is, when a position is selected in the combobox, a corresponding value will appear in a separate cell. For example, If I pick electrical engineer in my combobox, his/her rate will pop up in another box.

    I've attached an excel file that basically shows what I am doing.combobox.xls You will see the combobox with positions, then on the second sheet the corresponding rates. I need the rates to pop up on the first sheet under "rate" when I pick a position in my combobox.


    combobox.xls

    Any help is greatly appreciated!!!

    Thank you,
    Nick
    Last edited by Coldshadow686; 05-09-2013 at 12:22 PM. Reason: Add Sample

  2. #2
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: Linking VLookup and Combo Box

    Go to Combobox -> properties ...
    Find the LinkedCell property
    Enter a cell ref in the form =A1
    Elegant Simplicity............. Not Always

  3. #3
    Registered User
    Join Date
    09-14-2012
    Location
    St. John's, NL
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Linking VLookup and Combo Box

    Thanks Andy. So now my chosen position shows up in a cell. If I have 100 lines of people I need to pick positions for, will I need to link a different cell for each line?

    Also, and apologies for the n00bness, what comes next? How would I link the position that just popped up in A1 to the corresponding rate on sheet 2?
    Thanks again
    Nick

  4. #4
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: Linking VLookup and Combo Box

    I think A1 will have the selected name in it... You can then use that as a basis for Vlookup or Match against a list of the names in your combobox to return a row position which you can then use in an offset.

    Tell you what - it would be easier to upload a sample file

  5. #5
    Registered User
    Join Date
    09-14-2012
    Location
    St. John's, NL
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Linking VLookup and Combo Box

    Sorry Andy! Thought I had attached it from the beginning. Should be there now

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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