+ Reply to Thread
Results 1 to 5 of 5

Automatically populating a value based on several drop down lists

  1. #1
    Registered User
    Join Date
    07-23-2015
    Location
    Houston, TX
    MS-Off Ver
    2010
    Posts
    2

    Automatically populating a value based on several drop down lists

    Good afternoon. I'm trying to put together spreadsheet that will populate a value based on the selection of 3 drop down lists. This list is meant to be a quick price reference for a customer based on the selected criteria. Please see the attached example.

    For a quick run down....My customer selections are Pipe size, ANSI rating, and Meter type. Based on the selected drop down options I would like for Excel to lookup a price for me. I've started with the 3" option in an attempt to get things rolling, but at this point I'm about to bash my head against the computer.

    Any help is much appreciated. Thanks in advance.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor quekbc's Avatar
    Join Date
    01-18-2010
    Location
    Sydney, Australia
    MS-Off Ver
    2010, 2013, 2016
    Posts
    1,149

    Re: Automatically populating a value based on several drop down lists

    So, what you need, which you have partially done, is a table listing all possible combinations of the pipe size, ANSI rating and meter type (as you have done in Sheet1). Then you'll need a lookup of some kind, which I have done in the cells highlighted in yellow (column G). See if this suits your needs. You'll need to extend the references to Sheet1 appropriately as you populate the table of prices.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    07-23-2015
    Location
    Houston, TX
    MS-Off Ver
    2010
    Posts
    2

    Re: Automatically populating a value based on several drop down lists

    Quekbc- Thanks for the quick reply.

    I have attached a revised spreadsheet to clean up some of the mess on page 2. So what I am looking to do, is make the selections from the drop down menu on pg. 1, and reference the prices I've put on pg. 2. Let's focus only on the 3" with multiple options.P66 LACT and Leak detection example_bc revised.xlsx

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,781

    Re: Automatically populating a value based on several drop down lists

    You had your price lookup the wrong way round. You want to find the price based on the selections in Sheet1 not the way you had it in Sheet2 which is why you were getting the N/A errors if you changed the drop down values.

    Look at Sheet1 under "Price" where I have entered the formula below,

    =INDEX(Sheet2!$F$3:$F$8,MATCH($B6&$C6&$D6,INDEX(Sheet2!$C$3:$C$8&Sheet2!$D$3:$D$8&Sheet2!$E$3:$E$8,0),0))
    Attached Files Attached Files

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,781

    Re: Automatically populating a value based on several drop down lists

    Post script:

    Add the ERROR handling so you can drag the formula down as required:

    =IFERROR(INDEX(Sheet2!$F$3:$F$8,MATCH($B6&$C6&$D6,INDEX(Sheet2!$C$3:$C$8&Sheet2!$D$3:$D$8&Sheet2!$E$3:$E$8,0),0)),"")

+ 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. Populating a workbook with information from a drop down lists
    By Sam001 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-17-2014, 07:59 AM
  2. Populating multiple drop down lists with different options
    By achdeekay in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-27-2013, 08:17 PM
  3. Drop down boxes populating information from other tabs automatically
    By kjfitzsi in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-13-2013, 04:21 PM
  4. Replies: 5
    Last Post: 07-07-2012, 05:56 PM
  5. Trouble Populating Adjacent Cells Using Drop Down Lists
    By onlineeng in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-25-2011, 10:33 PM
  6. Populating a list based on four toher lists
    By skatmandu2002 in forum Excel General
    Replies: 5
    Last Post: 10-14-2008, 05:16 PM
  7. Populating Drop-Down lists
    By gtanti in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-08-2006, 11:45 AM
  8. [SOLVED] Populating Specific Lists Based on Criteria
    By Kate in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-15-2005, 05:05 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