+ Reply to Thread
Results 1 to 6 of 6

vlookup data on combobox selection by formula

  1. #1
    Forum Contributor
    Join Date
    10-01-2012
    Location
    england
    MS-Off Ver
    Excel 2016 pro
    Posts
    772

    vlookup data on combobox selection by formula

    hi
    I have seen a few threads similar to what im asking ,have tried some but can not get my head round it,what I require is on combobox selection to bring in the data "type" from collumn ag and put it in collumn "c",i then want to get rest of data from the row but if someone has any ideas to get me started I will try and do the other data,do not know how to do formulas ,started first with userforms and would now like to learn formulas
    cheers colin
    Attached Files Attached Files
    Last edited by cfinch100; 06-17-2014 at 10:03 AM.

  2. #2
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: vlookup data on combobox selection by formula

    on first problem
    you need to link your combobox to a cell

    go into design mode and click on properties then click the combobox
    find linkedcell and put a cell reference in, it can be the cell the combobox is in or some other cell

    After that you can do vlookup to that linkedcell as normal formula

    first example i used b3
    second example i used a5
    as the linkedcells
    Attached Files Attached Files
    Last edited by humdingaling; 06-16-2014 at 09:42 PM.
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Contributor pareshj's Avatar
    Join Date
    05-20-2014
    Location
    MUMBAI
    MS-Off Ver
    2007 & 2010
    Posts
    447

    Re: vlookup data on combobox selection by formula

    Hi,

    Check the attached file. Hope this will help you.

    Book1.xlsm


    Regards,
    Paresh J
    Click on "* Add Reputation" as a way to say thanks

  4. #4
    Forum Contributor
    Join Date
    10-01-2012
    Location
    england
    MS-Off Ver
    Excel 2016 pro
    Posts
    772

    Re: vlookup data on combobox selection by formula

    hi
    many thanks for replies ,I am a bit confused as to which sample is the better,have 2 different ones to look at
    Please Login or Register  to view this content.
    both work as they should
    prob the first one is easier for me to understand,will mark as solved as it has been
    cheers colin

  5. #5
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: vlookup data on combobox selection by formula

    reason pareshj's version works is he has coding beheind combobox change
    Please Login or Register  to view this content.
    the vlookup bit is not the major thing to consider but rather how you want the value assigned onto your spreadsheet
    so you can either can do it via via linkedcell settings (which is pre) like my example or you can vba code it like pareshj (which is post)

  6. #6
    Forum Contributor
    Join Date
    10-01-2012
    Location
    england
    MS-Off Ver
    Excel 2016 pro
    Posts
    772

    Re: vlookup data on combobox selection by formula

    hi
    thanks for that im going for yours
    cheers colin

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Need help transferring data from a userform to worksheet depending on a combobox selection
    By Annamarie in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-08-2014, 11:11 AM
  2. [SOLVED] Make combobox list options dependant on selection in another combobox within a userform
    By Vladimir_Dobvchenko in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-23-2013, 05:30 AM
  3. [SOLVED] fill combobox selection based on a selection from the first combobox
    By Monza in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-14-2013, 07:34 PM
  4. Refresh UserForm to display data that is linked to combobox selection
    By alter54 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-16-2012, 01:30 PM
  5. Combobox Selection To Insert Data
    By Mooseman60 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-04-2010, 12:38 PM

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