+ Reply to Thread
Results 1 to 9 of 9

How to - dependant dropdown lists from a dynamic set of data

  1. #1
    Registered User
    Join Date
    05-31-2011
    Location
    Hellzone
    MS-Off Ver
    Excel 2007
    Posts
    2

    Smile How to - dependant dropdown lists from a dynamic set of data

    Hi

    This is my first post on the forum. I have tried to search for solutions over here as well as other websites, but haven't found any. So, i guess i can ask the excel experts here to shed some light into the problem.

    I have a list of products with various manufacturers. This list is continually edited - rows are added and removed.. Here's a picture

    \1
    image upload

    Now, i need to create a data validation system to create BOQs. So, i need to have a drop down menu for

    1) manufacturer ( say, column H )
    2) product ( column I )

    \1
    image hosting

    Now, depending upon column H & I, columns J and K ( item description and Price ) should fill up automatically.

    The catch is this - i want this to be automated. The original sheet, containing all the details will be updated on a regular basis. And i dont want to be changing any code or data validation lists

    I have acheived the above ( only columns H and I - i pasted in columns J and K manually ) using indirect data validation ( pic below ), but i don't know how to get things done in an automatic fashion.

    \1
    image upload

    Can this be performed from within MS Excel. I do have MS Access - is it better fit for this job?. I have no clue. I'm not very much aware of the intricate workings of excel - pretty much a newbie, but learning. Any advise in any direction would be of great help Please, lend me a helping hand
    Last edited by Holymacau; 05-31-2011 at 09:05 AM.

  2. #2
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,239

    Re: How to - dependant dropdown lists from a dynamic set of data

    Hi,

    There are a few ways of doing this dotted about, have a look at the attached and see if it does what you want

    Let me know if you have any questions
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    05-31-2011
    Location
    Hellzone
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: How to - dependant dropdown lists from a dynamic set of data

    Hi kyle.. thanks for that quick response...

    The file that you've sent me is really good. Looks like i have to just add extra products and the list updates by itself. I also believe, the scenario where i require consecutive columns to be filled up automatically - product description and relevant price - can be done by using 'VLOOKUP' function.

    is there a way, to have the table ( from the file that you have sent me ) generated automatically from the 'original list' that i have ( screen grab in the first post ) . i.e. gathering of unique product manufacturers into one column and filling in the relevant products in another. and perhaps having the products sorted alphabetically.?

    many thanks
    Peter

  4. #4
    Valued Forum Contributor
    Join Date
    05-23-2011
    Location
    Lahore PK
    MS-Off Ver
    Excel 2007, 2013
    Posts
    627

    Re: How to - dependant dropdown lists from a dynamic set of data

    Hi Kyle
    Kindly explain how the range in the data validation is defined.

    Thanks in advance

    Azam
    Last edited by Azam Ali; 06-01-2011 at 04:06 AM.

  5. #5
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,239

    Re: How to - dependant dropdown lists from a dynamic set of data

    Hi Peter,

    Sorry missed that bit. Could you upload a sample of your workbook?

    How often is the list updated and how large is it? If it is large it might be better to generate the grid when the workbook is opened/button pressed to stop the spreadsheet from getting a bit slow, this would need a macro though. Happy to do this, but can you have macros in your workbook?

    Thanks

  6. #6
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,239

    Re: How to - dependant dropdown lists from a dynamic set of data

    Azam,

    Firstly I created a dynamic range for the Manufacturers, this allows more to be added and will automatically be added to the range. I use the following formula in the named range criteria:

    Please Login or Register  to view this content.
    Have a look here for more info on dynamic named ranges

    I then created a secondary range, but horizontal rather than vertical, this contains the business names from the column headings:

    Please Login or Register  to view this content.
    The following dynamic range then looks at the value in the first box, then finds it in the horizontal range. The height of the range is then set by the count of products above the listed products. Manhori in the range below is the horizontal range, TRANSPOSE() is needed as match only works on a vertical list rather than horizontal, as this is an array formula it should be entered with ctrl+shift+Enter

    Please Login or Register  to view this content.

  7. #7
    Valued Forum Contributor
    Join Date
    05-23-2011
    Location
    Lahore PK
    MS-Off Ver
    Excel 2007, 2013
    Posts
    627

    Re: How to - dependant dropdown lists from a dynamic set of data

    Dear Kyle
    Thanks a lot
    i have little knowledge of using offset function particularly using height and width. could u guide me how to learn more about it.

    Thanks & Regards

  8. #8
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,239

    Re: How to - dependant dropdown lists from a dynamic set of data

    Have a look at the link I posted and here. Pretty sure that googling it will give you loads of tutorials

  9. #9
    Valued Forum Contributor
    Join Date
    05-23-2011
    Location
    Lahore PK
    MS-Off Ver
    Excel 2007, 2013
    Posts
    627

    Re: How to - dependant dropdown lists from a dynamic set of data

    Thanks again

+ 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