+ Reply to Thread
Results 1 to 9 of 9

Complicated Price Table w/ Drop Down Function

  1. #1
    Registered User
    Join Date
    06-25-2014
    Location
    West Palm Beach, FL
    MS-Off Ver
    2011
    Posts
    4

    Complicated Price Table w/ Drop Down Function

    Screen Shot 2014-06-25 at 7.45.38 PM.png


    Hi all. I am developing a price table for my apparel website and I am at a stump. So each brand name has its own price table showing various prices based on color and quantity. What I want to do is make a drop down menu from the price calculator so that the item chosen on the menu will be the price table evident. I understand that I have to make a price table for each item but I am unsure how to reference it back to the main page. Please see the picture if you do not understand what I am saying.

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

    Re: Complicated Price Table w/ Drop Down Function

    Pictures don't really help much. Can you upload a workbook with realistic data?
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  3. #3
    Registered User
    Join Date
    06-25-2014
    Location
    West Palm Beach, FL
    MS-Off Ver
    2011
    Posts
    4

    Re: Complicated Price Table w/ Drop Down Function

    Hi. I have attached my workbook as requested. Please go to the worksheet named "Calculator". In cell A1, you should see a drop down menu for various products. I would like it so that I can choose a product from that list and the table below the drop down menu changes to the table for that product.

    For example, if I select Gildan G500 from the drop down menu, I would like the price table below to be Gildan G500 price table listed on a different page.

    Thank you.

    Company Price Table.xlsx

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

    Re: Complicated Price Table w/ Drop Down Function

    Using product names that you have in the drop-down listing is a nightmare to work with. The product names are very long and there are far too many of them to be practical in a drop down list. I suggest that you have a series of short drop down lists that lead to the product that you want which would be identified by a product ID to be used as the name for the product.

    E.g. Start off with a drop down list that has the categories of Women, Men, Girls, Boys, Baby etc. followed by a drop down for apparel types...shirts, pants, etc. until you get down to manageable sized lists....you are going to have a large number of lists.

    To get the data that you want, presented the way that you want, would require using named ranges that contains the details for each product. Using the product names as names for the ranges isn't possible without eliminating a lot of characters in the names that are not acceptable in the name definitions. The use of a product ID would help a lot. Look in the Excel help file under NAMES to see what is and isn't allowed in names.

    Another way is to use the listing that you have for the existing drop down list and add to that the all the details for each product. This will probably produce quite a large table especially if you have to account for a multitude of colours the number of which may vary widely depending upon the product. Such a table could then be addressed by lookup formulae to extract the data for the product desired. This will also present problems in getting the format that you want.

  5. #5
    Registered User
    Join Date
    06-25-2014
    Location
    West Palm Beach, FL
    MS-Off Ver
    2011
    Posts
    4

    Re: Complicated Price Table w/ Drop Down Function

    Ok so I can cut down the names of the items so that they are appropriate for named ranges. After name ranging each product, what function do I use so that the table underneath changes with the change in product chosen? Essentially, how do I tell excel to change the table with the corresponding product?

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

    Re: Complicated Price Table w/ Drop Down Function

    Instead of trying to explain this which would take forever, I am attaching your workbook that has an assigned name for the data that you want to retrieve via the drop down list. I entered this name beside the name on the product list so that it could be used in a VLOOKUP. Where you want the data returned is then selected and the formula on the worksheet is entered. You will have to change this to match what you have done with your product names. All data areas for your products will have to be the same dimension and that dimension will be the area where the data is returned by the formula. This is an ARRAY formula entered with Ctrl + Shift+ Enter.
    Attached Files Attached Files

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

    Re: Complicated Price Table w/ Drop Down Function

    If when creating names for the product data, if you select an area equal in size to the maximum destination area on the Calculation worksheet, even if it is grossly oversized for the product data, the destination area will be correctly filled in without displaying a bunch of error messages for cells that don't have data. All the named areas should be the same dimension as the destination area.

  8. #8
    Registered User
    Join Date
    06-25-2014
    Location
    West Palm Beach, FL
    MS-Off Ver
    2011
    Posts
    4

    Re: Complicated Price Table w/ Drop Down Function

    Wow! Thank you so much! I'm going to try to make a nice organized list with subcategories eventually leading to your function. Hopefully it transfers over after I set up the newly organized list with named ranges and data validation.

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

    Re: Complicated Price Table w/ Drop Down Function

    One thing that I find that helps is to lay out the data on a piece of paper like an organization chart. Once you have the "flow" correct, the rest is relatively simple.

+ 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. Complicated Drop Down List
    By ddoyle91 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-04-2013, 08:43 AM
  2. Complicated Drop Down List
    By ddoyle91 in forum Excel General
    Replies: 2
    Last Post: 12-04-2013, 12:51 AM
  3. Replies: 3
    Last Post: 01-03-2013, 12:32 AM
  4. Replies: 4
    Last Post: 08-15-2012, 09:49 AM
  5. IS THERE ANY PIVOT TABLE DROP LIST FUNCTION?
    By william in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-04-2006, 10:30 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