+ Reply to Thread
Results 1 to 11 of 11

Changing values in a table based on drop down menu selection

  1. #1
    Registered User
    Join Date
    01-03-2018
    Location
    Ottawa
    MS-Off Ver
    Excel 2016
    Posts
    14

    Changing values in a table based on drop down menu selection

    Hi all, I am trying to change the values within a table based on the item selected in a combo box drop down. I have all the values listed on a different tab. Can anyone give me any guidance here?

    Screen1.png

    Options in the drop down
    Screen2.png

    And a sample of the items I would need to be in that table
    Screen3.png

    Is this the best way to go about this or should I be exploring other avenue?

  2. #2
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Changing values in a table based on drop down menu selection

    Hello Dropsix,

    It would be much better if you could attach a sample workbook, instead of images.

    Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

    Regards.
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  3. #3
    Registered User
    Join Date
    01-03-2018
    Location
    Ottawa
    MS-Off Ver
    Excel 2016
    Posts
    14

    Re: Changing values in a table based on drop down menu selection

    Hello! thanks for the quick reply! I have added the workbook to the thread now.

    Will the previous screen shot I had included work as an example of what I am trying to accomplish?
    Attached Files Attached Files

  4. #4
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Changing values in a table based on drop down menu selection

    Hello Dropsix,

    Here is a simple uncomplicated way to go about your issue.

    Code for sheet5;

    Please Login or Register  to view this content.
    Regards.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    01-03-2018
    Location
    Ottawa
    MS-Off Ver
    Excel 2016
    Posts
    14

    Re: Changing values in a table based on drop down menu selection

    You sir are amazing.

    Thank you so much, that's absolutely perfect!


    **Quick follow up question.

    If I want to do the same thing but instead of the values being listed in a column, they are as follows:

    legend.png


    **** Please disregard. I managed to do it by repeating the lines of code. My issue now is the clear contents code isn't working. I will report back.
    Last edited by Dropsix; 05-03-2018 at 10:25 AM.

  6. #6
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Changing values in a table based on drop down menu selection

    Hi Dropsix,

    I can try to change it for you, if I know what you have changed where?LOL

    Once again, please attach a sample workbook.

    Regards.
    Last edited by Winon; 05-03-2018 at 10:27 AM. Reason: Spelling!

  7. #7
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Changing values in a table based on drop down menu selection

    Hi Dropsix,

    Just change this line

    Please Login or Register  to view this content.
    Regards.

  8. #8
    Registered User
    Join Date
    01-03-2018
    Location
    Ottawa
    MS-Off Ver
    Excel 2016
    Posts
    14

    Re: Changing values in a table based on drop down menu selection

    Here is the workbook. I am trying to clear the cells like you coded in the previous instance.
    Attached Files Attached Files

  9. #9
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Changing values in a table based on drop down menu selection

    Thank you Dropsix,

    Here is your solution,

    Please Login or Register  to view this content.
    Enjoy.

  10. #10
    Registered User
    Join Date
    01-03-2018
    Location
    Ottawa
    MS-Off Ver
    Excel 2016
    Posts
    14

    Re: Changing values in a table based on drop down menu selection

    I'd give you a hug if I could. Thanks Winon, I really appreciate it!

  11. #11
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Changing values in a table based on drop down menu selection

    You are welcome, Dropsix.

    Thank you for the Rep+, and for marking this Thread as "Solved"

    You set a fine example!

    Regards.

+ 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. How to change values based on selection in drop down menu
    By minky2488 in forum Excel General
    Replies: 11
    Last Post: 05-28-2016, 04:25 PM
  2. How to change values based on selection in drop down menu
    By minky2488 in forum Excel General
    Replies: 1
    Last Post: 05-27-2016, 06:10 PM
  3. Formula based on drop down menu selection
    By danjpalmer in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-21-2014, 03:45 PM
  4. Replies: 3
    Last Post: 01-31-2013, 06:22 PM
  5. Hide a row based on a drop down menu selection
    By AMechEng in forum Excel General
    Replies: 4
    Last Post: 06-20-2012, 03:57 AM
  6. drop down menu selection populates column values
    By rebe29cca in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-29-2011, 06:33 PM
  7. Changing values based on drop down menu selection
    By henro8 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-14-2010, 03:47 AM

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