+ Reply to Thread
Results 1 to 20 of 20

Multiple Dependant Drop Down Lists

  1. #1
    Registered User
    Join Date
    01-10-2013
    Location
    Kent, England
    MS-Off Ver
    Excel Mac 2011
    Posts
    16

    Multiple Dependant Drop Down Lists

    Hello All,

    I am working on a spreadsheet for my Building company. I'm building a tool to help me price for Fascia, Soffits and Cladding.

    I'm using Macbook Pro Microsoft Office for Mac 2011

    Please see attached file

    The first sheet holds all the lists of products, Category Headings list is in column A and then all the relevant products and prices are then from B to BI. I have defined each category with a name by selecting the cells and entering a name in the name box.

    The second sheet is a Calculator in which I would like a to have a drop down list in the Category Column (Which I have worked out how to do myself - good old google) and then a drop down list in the second column which lets the user select from a list of results based on the selection from the previous column.

    Example:
    Category(B3) - 18mm Fascia/Replacement Board (Square White) - Drop down menu taken from sheet 1 A3:A33
    Description (C3) - Drop down list containing all the options from D2:D15 Named "FasciaReplacementBoard18mmWhite"

    So basically, whatever the user selects in Column B (from the category list) a drop down list would be available in Column C

    The Value column would then show a value based on the options selected.

    I'd really appreciate any help with this matter.

    Kind Rega

  2. #2
    Registered User
    Join Date
    05-07-2011
    Location
    dubai
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Multiple Dependant Drop Down Lists

    please have a look the the following page as an example , i think its the is same
    http://www.contextures.com/xlDataVal02.html

  3. #3
    Registered User
    Join Date
    01-10-2013
    Location
    Kent, England
    MS-Off Ver
    Excel Mac 2011
    Posts
    16

    Re: Multiple Dependant Drop Down Lists

    c&a plastics calc.xlsx

    Hello Thanks for the reply however i'm still stuck with it, Cant get my head around it. I have attached my spreadsheet. If anyone could take a look and either give me a start or some "stupid" instructions for me to follow it would be really appreciated.

    Just to summarise
    On the calculator sheet I would like Cells B2:B31 to be a drop down list of Categories (data taken from the list sheet A2:A32) and then Cells C2:C31 to then have a drop down menu that displays products relating the relevant categories. All the products are entered into their own columns on the list sheet with a cost price in each column to the right, when the item is selected from the drop down I would like the drop down to display the cost price in the calculator too.

    Hopefully the spreadsheet itself will help explain rather than just me rambling on and on.

    Thanks in advance to anyone who can help.

    Regards
    Stewart
    Last edited by shoo0204; 02-27-2013 at 12:24 PM. Reason: Attachment

  4. #4
    Registered User
    Join Date
    01-10-2013
    Location
    Kent, England
    MS-Off Ver
    Excel Mac 2011
    Posts
    16

    Re: Multiple Dependant Drop Down Lists

    Can anyone please spare some time to help with this???

    Thanks
    Stewart

  5. #5
    Valued Forum Contributor
    Join Date
    10-14-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2019
    Posts
    353

    Re: Multiple Dependant Drop Down Lists

    Just a beginning.
    You should define named ranges as i did the first 3
    see attachment..........
    Attached Files Attached Files
    Kind regards,
    Piet Bom

  6. #6
    Registered User
    Join Date
    01-10-2013
    Location
    Kent, England
    MS-Off Ver
    Excel Mac 2011
    Posts
    16

    Re: Multiple Dependant Drop Down Lists

    Thanks Piet Bom. You seem to have understood perfectly what my intentions are, however I cannot seem to work out how you have done it. Could you tell me what you have done so that i can copy it along to the rest of the lists.

    Thanks again

    Regards
    Stewart

  7. #7
    Valued Forum Contributor
    Join Date
    10-14-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2019
    Posts
    353

    Re: Multiple Dependant Drop Down Lists

    Stewart,

    I finished the rest of your workbook.
    It was quit complicated.
    So I must think about it how to explain it.
    This might even be more complicated.
    Please take a look at it as it is now.
    Maybe you can figure it out how I did it.
    Attached Files Attached Files

  8. #8
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Multiple Dependant Drop Down Lists

    I sorted the categories in order so that they were easier to deal with and I discovered that the number of categories is 31 and there are only 30 categories with products. I added a dummy listing for the missing category which is highlighted in the listing.

    All illegal characters for the naming of cell ranges were eliminated so the category listing looks different. Spaces were replaced with _ and / with\ and there were others also.

    Hope this helps

  9. #9
    Registered User
    Join Date
    01-10-2013
    Location
    Kent, England
    MS-Off Ver
    Excel Mac 2011
    Posts
    16

    Re: Multiple Dependant Drop Down Lists

    Thanks for your reply, both methods seem to work. Only thing I have to do now is work out how to stop the cost column from showing #REF! and add a total at the bottom that adds up the cost column.

    Thanks for everyones help with this.

    Regards
    Stewart

  10. #10
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Multiple Dependant Drop Down Lists

    A total has been added and in this file, there shouldn't be errors generated. The missing description for the extra category has to be addressed or you will have continuing problems.

    The error that you refer to occurs when a value is missing. In this workbook this can easily happen because of the massive category list along with the associated descriptions and prices.

    I downloaded the other workbook offered. It had a macro in it but I don't enable macros so I couldn't trouble-shoot why there are REF errors.

  11. #11
    Valued Forum Contributor
    Join Date
    10-14-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2019
    Posts
    353

    Re: Multiple Dependant Drop Down Lists

    I dont know if you like VBA.
    But I redesigned your workbook so it it is more flexible.
    If you have updated your pricelist you should click on button [Sort]
    Then you go to your Calculator sheet to do your calculations.
    Column F is hidden but used for the picklists in column C
    I hope this helps.
    Attached Files Attached Files

  12. #12
    Registered User
    Join Date
    01-10-2013
    Location
    Kent, England
    MS-Off Ver
    Excel Mac 2011
    Posts
    16

    Re: Multiple Dependant Drop Down Lists

    Piet,

    That looks great, Really like what you've done. Wish I had the knowledge to do that myself. Thanks so much for your help with this.

    If i add a product or category to the lists sheet will the calculator sheet automatically update to include the new additions, if not, how(if possible) do I do this. Now that I have this sheet working I might try and add suppliers into it and build it to be an ultimate pricing tool.

    Would you be prepared to help with that, now that i've seen what a wiz you are lol

    Regards
    Stewart

  13. #13
    Registered User
    Join Date
    01-10-2013
    Location
    Kent, England
    MS-Off Ver
    Excel Mac 2011
    Posts
    16

    Re: Multiple Dependant Drop Down Lists

    Hello All,

    Since having a play about with the latest attached file I would like to add to the capabilities if possible to make it a really helpful pricing tool for my company.

    I would like to be able to achieve the following if anyone is able to help at all:

    * Add a supplier column
    * Add a discount Box, VAT, Materials total, Labour Total, and Overall Total at the bottom of the page
    * Add 3 x new sheets (Quote & Invoice)
    * Dynamically Auto add line

    To elaborate on these points:

    1. Add a supplier column

    I would like a Supplier column to be added as a drop down list which will work exactly the same way as the current category column works. The "category" and subsequent "part" lists will work as they do now but obviously be dependant on the supplier column

    i.e. Supplier = "Priority", Category = "Electrical", Part = "Plug Socket"

    2. Add a discount Box, VAT, Materials total, Labour Total, and Overall Total at the bottom of the page

    I have attempted to add the fields into my spreadsheet (attached)

    3. Add 3 x new sheets

    A) Quotation
    B) Invoice

    4. Dynamically Auto add line
    Rather than have each line numbered 1-31 as it is now, I would like it so that each time I successfully complete a line item i.e. I choose a supplier-Category-Item-Qty and the price gets generated a new line auto appends to the row below that has the same formatting. The discount Box, VAT, Materials total, Labour Total, and Overall Total would automatically move down as each row is added.

    Any help would really be helpful and most appreciated

    Priority CALC.xls
    Last edited by shoo0204; 03-07-2013 at 05:07 AM.

  14. #14
    Registered User
    Join Date
    01-10-2013
    Location
    Kent, England
    MS-Off Ver
    Excel Mac 2011
    Posts
    16

    Re: Multiple Dependant Drop Down Lists

    Anyone available to lend a hand???

    Regards
    Stewart

  15. #15
    Registered User
    Join Date
    01-10-2013
    Location
    Kent, England
    MS-Off Ver
    Excel Mac 2011
    Posts
    16

    Re: Multiple Dependant Drop Down Lists

    Anyone available to lend a hand???

    Regards
    Stewart

  16. #16
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Multiple Dependant Drop Down Lists

    If you click in the FSG Materials Calculator, and on the Insert tab, click on Table, that will change the materials calculator into a Table that when you get to row 31 and enter the quantity, if you hit the tab key twice a new row will be added automatically and the calculation cells at the bottom will be moved down and include the new row(s).

    The only thing that you seem to be missing is the Total at the bottom which is =SUM(E35:E37)

    I don't know where your labour costs are coming from but there is an opportunity to have that be calculated from however you calculate the labour. The discount could be automated based on the total in E34 instead of choosing from the Data Validation list. To do this, the list on the Discount worksheet would have to be changed so that there would be amounts with an associated discount.

    Regarding the other things that you want, if you inserted the columns where you want and supplied the list of Supplies, and an explanation of Priority. The suppliers would require a list of suppliers in order to generate a drop down listing for them and the same thing applies to the Priorities.

  17. #17
    Valued Forum Contributor
    Join Date
    10-14-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2019
    Posts
    353

    Re: Multiple Dependant Drop Down Lists

    Stewart,

    It is getting quite complicated now.
    Like a serious calculation tool.
    In the normal world it would cost you a few pounds to have it made.
    I tried to extend the tool once more.
    Hope you can pick it up from here.
    I am going to help other people with new questions.
    Attached Files Attached Files

  18. #18
    Registered User
    Join Date
    01-10-2013
    Location
    Kent, England
    MS-Off Ver
    Excel Mac 2011
    Posts
    16

    Re: Multiple Dependant Drop Down Lists

    Piet,

    All i can do is thank you so far for the excellent work you have done. Thank you for the time and effort you have given my project.

    Regards
    Stewart

  19. #19
    Registered User
    Join Date
    01-10-2013
    Location
    Kent, England
    MS-Off Ver
    Excel Mac 2011
    Posts
    16

    Re: Multiple Dependant Drop Down Lists

    Newdoverman,

    Thanks for your message, Unfortunately I don't quite understand it. Could you elaborate at all. Have you seen Piet Bom's revised attachment. It's brilliant. I just wish I had the expertise to continue it.

    Regards
    Stewart

  20. #20
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Multiple Dependant Drop Down Lists

    Yes, I took a look at the workbook by PietBom and it is getting very complicated very quickly. This is especially true if you have more than one supplier for many of the products that you carry. A relational database program is probably more suited to this problem.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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