+ Reply to Thread
Results 1 to 18 of 18

Using INDEX to create a Dynamic Drop Down List

  1. #1
    Registered User
    Join Date
    07-10-2024
    Location
    Honduras
    MS-Off Ver
    2016
    Posts
    17

    Exclamation Using INDEX to create a Dynamic Drop Down List

    Hello everyone,

    This is my first post here, and i'm urging for any help to this situation.

    (Just to be clear, I can't use INDIRECT on my data validation, because the value i'm trying to find is automatically assigned from another page)

    Ok, so this is the case, I have a long spreadsheet, and i'm stuck trying to create a DropDown list, from a value that i've pulled from another sheet, this value is one of many headers from a Table, now I need to create the DropDown list from that value column so I can select another value.

    I'm using this formula =INDEX((Table3[Cleaning],Table3[SteelWorker],Table3[Carpinter],Table3[Electrician]),,,J6), ***take into account that this formula will be used in a DataValidation formula using a Named Formula.

    But the thing is that anyway I put it, it always returns with a #VALUE error.

    Any help at all will be hugely appreciated.

    Thanks

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,943

    Re: Using INDEX to create a Dynamic Drop Down List

    Welcome to the forum .


    Fast answers need visual help. Please read the yellow banner at the top of this page on how to attach a file and a mocked up solution.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    07-10-2024
    Location
    Honduras
    MS-Off Ver
    2016
    Posts
    17

    Re: Using INDEX to create a Dynamic Drop Down List

    Ok, ill see if these images are clear for the explanation:

    This first image represents the formula in column K, which takes reference from column J (this value is pulled from another sheet)
    Screenshot 1.png

    This second image shows the dropdown list info I need displayed in column K from the first image, where "Electricista" is the reference for column D in this image
    Screenshot 2.png

    Thanks in advance
    Attached Images Attached Images
    Last edited by waytoskinny; 07-10-2024 at 05:47 PM.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,790

    Re: Using INDEX to create a Dynamic Drop Down List

    There are instructions at the top of the page explaining how to attach your sample workbook (yellow banner: HOW TO ATTACH YOUR SAMPLE WORKBOOK). Screenshots are of little practical use as we cannot manipulate them.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. The sample layout accurately matches that of your real data. It also has expected results mocked up, worked examples where required, relevant cells highlighted and a few explanatory notes.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  5. #5
    Registered User
    Join Date
    07-10-2024
    Location
    Honduras
    MS-Off Ver
    2016
    Posts
    17

    Re: Using INDEX to create a Dynamic Drop Down List

    So very sorry about that, I'll try to read more carefully, the forums suggestions.

    I made this Excel Worksheet example of the INDEX problem i'm facing, hopefully, this way someone might the answer to the problem

    Thanks in advance
    Attached Files Attached Files

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,943

    Re: Using INDEX to create a Dynamic Drop Down List

    Not 100% sure what you want. But maybe this, copied across and down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Or, if you have TRANSPOSE, this copied down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    07-10-2024
    Location
    Honduras
    MS-Off Ver
    2016
    Posts
    17

    Re: Using INDEX to create a Dynamic Drop Down List

    Thanks a lot for the reply TMS,

    But that's not exactly what i'm looking for, I'm trying to make a dynamic dependant drop down list using index. To be a little bit clearer, I can't use Data Validation in Column 2 (sheet 1) because that information is extracted from sheet 2, so I can't do the dependant drop down list traditionally using the INDIRECT function in data validation.

    I'm still not allowed to paste links, cause I'm new here, but I found a video of exactly what I need to do, using the INDEX function.

    The problem is that the formula is not giving me the results in my worksheet. Or if anyone has any other ideas of how can I achieve this, i'm all for trying it out.

    I tried using the UNIQUE function as well, but could not get anywhere with it.


  8. #8
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,943

    Re: Using INDEX to create a Dynamic Drop Down List

    Ah, I think I misunderstood. Maybe try this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  9. #9
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,943

    Re: Using INDEX to create a Dynamic Drop Down List

    If you have tried using UNIQUE, you are probably not using Excel 2016. Please update your profile.

  10. #10
    Registered User
    Join Date
    07-10-2024
    Location
    Honduras
    MS-Off Ver
    2016
    Posts
    17

    Re: Using INDEX to create a Dynamic Drop Down List

    It is almost almost what I need, the only thing is that I need it to be a DropDown list, I placed this formula in the Name Manager, but in that sense it returned an error. Any ideas on getting it on a DropDown list now so the item can be selected?

    Thanks again


    With regards to Excel 2016, I tried it on another computer, to see if I needed to upgrade or something.

  11. #11
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,943

    Re: Using INDEX to create a Dynamic Drop Down List

    Or maybe this:

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

  12. #12
    Registered User
    Join Date
    07-10-2024
    Location
    Honduras
    MS-Off Ver
    2016
    Posts
    17

    Re: Using INDEX to create a Dynamic Drop Down List

    Each new Formula gets a little bit closer, just tested out that last one, it did let me show the DropDown menu, but the only item that was pulled from the data was the first item on the list.

  13. #13
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,943

    Re: Using INDEX to create a Dynamic Drop Down List

    Please see the updated example workbook.
    Attached Files Attached Files

  14. #14
    Registered User
    Join Date
    07-10-2024
    Location
    Honduras
    MS-Off Ver
    2016
    Posts
    17

    Re: Using INDEX to create a Dynamic Drop Down List

    Wow, thanks TMS! I was going around in circles and the thing that I never thought of was to give the headers a Table name as well. Thanks a lot!

    This problem is solved.

  15. #15
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,790

    Re: Using INDEX to create a Dynamic Drop Down List

    However, you have failed to update your forum profile - please do so without delay. Thanks.

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED. You can also access the SOLVED tag by editing the opening post and choosing SOLVED from the drop-down to the left of the title box.

    Also, if you have not already done so, remember that you can reward anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.

  16. #16
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,943

    Re: Using INDEX to create a Dynamic Drop Down List

    Quote Originally Posted by waytoskinny View Post
    Wow, thanks TMS! I was going around in circles and the thing that I never thought of was to give the headers a Table name as well. Thanks a lot!

    This problem is solved.
    To be honest, giving the headers a name adds very little; it is not a Table, it is just a Named Range.

    What was more important was to convert the original Table1 back to a range and then create separate Tables for each function.

    As AliGW (the Moderator) has asked, please update your profile. It affects what solutions can and will be offered.



    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon (Next to Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

  17. #17
    Registered User
    Join Date
    07-10-2024
    Location
    Honduras
    MS-Off Ver
    2016
    Posts
    17

    Re: Using INDEX to create a Dynamic Drop Down List

    Ok, i'll get to it.

    Thanks for all your help.

  18. #18
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,943

    Re: Using INDEX to create a Dynamic Drop Down List

    You're welcome. Thanks for the rep.

+ 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] Trying to create a dynamic table so I can create a updating drop down list.
    By sbobster15 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-16-2019, 11:43 AM
  2. How to create dynamic drop down list
    By Sanjibghosh in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-11-2019, 03:05 AM
  3. Create dynamic drop down list from dynamic data source
    By rz6657 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-18-2016, 05:22 PM
  4. Create a Dynamic Drop Down List
    By sinspawn56 in forum Excel General
    Replies: 1
    Last Post: 01-05-2015, 09:07 PM
  5. create dynamic drop down list for large list of data
    By Dariusd7 in forum Excel General
    Replies: 2
    Last Post: 05-10-2014, 04:39 AM
  6. Create a dependent drop down list with dynamic list
    By JSmith1504 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-01-2014, 09:15 AM
  7. Way to create a dynamic drop down list.
    By jensca in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-17-2013, 10:55 AM

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