+ Reply to Thread
Results 1 to 14 of 14

change group text with drop down choise

  1. #1
    Registered User
    Join Date
    10-23-2016
    Location
    Spain
    MS-Off Ver
    2010
    Posts
    8

    change group text with drop down choise

    Hi,
    I have a problem with an Excel spreadsheet that I can not set properly, I'll explain the problem.
    I have the need to place inside a drop-down list the list of some stores, and for each of these, I have the need to show the list of available products.
    In an Excel spreadsheet I set the drop-down but now I can not connect the values of this drop-down (eg. store_1, store_2, etc.) with the list of available products.
    I thought I put into another excel sheet a table thus formed:
    STORE_1 STORE_2
    pen_1 pen_4
    pen_2 pen_5
    pen_3 pen_6


    but then I do not know how to link the value of the drop-down (eg. store_1) with the display of products (eg. pen_1, pen_2, pen_3).

    The idea is to have in the same sheet where it is called the drop-down a set of rows where to show the list of products according to your choice in the drop-down.

    Can you help me?

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: change group text with drop down choise

    is this the sort of thing you want? It does take some time to set up... but it really does make life easier. Enable macros when you open it.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    10-23-2016
    Location
    Spain
    MS-Off Ver
    2010
    Posts
    8

    Re: change group text with drop down choise

    First of all thanks for your answer.
    That's not exactly what I'm looking because the list of products (in your example cities) must be as a list and not as a selectable drop-down.
    Imagine you have a single drop-down on top of the sheet where you can choose the country (eg. Australia, Egypt, etc.) and a set of rows (not a drop-down) where the cities are displayed according to your selection.

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: change group text with drop down choise

    Maybe you'd be better to post a sample sheet. Please don't attach a picture of one.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution is also shown (mock up the results manually).

    3. Make sure that all confidential information is removed first!!

    4. Try to avoid using merged cells. They cause lots of problems!

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

  5. #5
    Registered User
    Join Date
    10-23-2016
    Location
    Spain
    MS-Off Ver
    2010
    Posts
    8

    Re: change group text with drop down choise

    I have attached a sample file of how I wish that you did the sheet. Obviously the list of products should dynamically change based on selection of the drop-down, in the example I did it for the store 1 but if I change my choice of drop-down to "store 2" instead of the store 1's products (pen 1, pen 2 and pen 3) should be shown the store 2's products (pen 4, pen 5 and pen 6).
    Attached Files Attached Files

  6. #6
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: change group text with drop down choise

    Try this formula in F5 and fill down until you get blanks. Then try the drop down.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Dave

  7. #7
    Registered User
    Join Date
    10-23-2016
    Location
    Spain
    MS-Off Ver
    2010
    Posts
    8

    Re: change group text with drop down choise

    Fantastic, you have solved my problem.
    Thank you very much!!!!

  8. #8
    Registered User
    Join Date
    10-23-2016
    Location
    Spain
    MS-Off Ver
    2010
    Posts
    8

    Re: change group text with drop down choise

    I would like to take advantage, if I can, of your kindness and ask another for help.
    I have in a column 5 drop down and I would like that the last 4 are selected ONLY if you select the second value of the first drop down (the first drop down has only two values). Can I do this thing?

  9. #9
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: change group text with drop down choise

    You are welcome, and thank you for the feedback.

    I am having difficulty visualizing what you describe. Would you upload another sample file that demonstrates that?

    Thank you, ahead of time.

  10. #10
    Registered User
    Join Date
    10-23-2016
    Location
    Spain
    MS-Off Ver
    2010
    Posts
    8

    Re: change group text with drop down choise

    I have attached an example.
    I would that only when is selected from the first drop down the second value are enabled other drop down, but if the first value is selected the other drop down remain off.
    Of course if you select the second value (the only permitted to activate other drop down) of the first drop down and then (after maybe already chosen the values of the other drop down) again select the first value automatically the other drop down must be emptied and disable itself.
    Attached Files Attached Files
    Last edited by masterAndCommander; 10-25-2016 at 01:39 AM.

  11. #11
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: change group text with drop down choise

    masterAndCommander,

    Thank you for the additional upload. Unfortunately I have been unable to understand what you are attempting to do.

    Let me see if we can get help.

  12. #12
    Registered User
    Join Date
    10-23-2016
    Location
    Spain
    MS-Off Ver
    2010
    Posts
    8

    Re: change group text with drop down choise

    I would that the second and the third drop down are selected ONLY if you select the second value of the first drop down.

  13. #13
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: change group text with drop down choise

    You need VBA:

    Please Login or Register  to view this content.



  14. #14
    Registered User
    Join Date
    10-23-2016
    Location
    Spain
    MS-Off Ver
    2010
    Posts
    8

    Re: change group text with drop down choise

    ok, thanks.

+ 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. Replies: 0
    Last Post: 05-28-2013, 04:52 PM
  2. Replies: 3
    Last Post: 01-31-2013, 06:22 PM
  3. Replies: 3
    Last Post: 12-05-2012, 01:41 AM
  4. [SOLVED] Change color of text for a group of shapes
    By emiliekatherine in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-27-2012, 08:43 AM
  5. [SOLVED] Macro to start AFTER choise from validation drop down list
    By rpinxt in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-26-2012, 09:26 AM
  6. Replies: 2
    Last Post: 08-09-2011, 08:41 PM
  7. Change caption or text of group box and option button
    By narayansingh.t in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-03-2011, 06:27 PM
  8. How do I change the text size in a drop down box
    By Paragon Tim in forum Excel General
    Replies: 0
    Last Post: 04-07-2005, 03:06 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