+ Reply to Thread
Results 1 to 5 of 5

Multiple look up tables

  1. #1
    Registered User
    Join Date
    10-31-2011
    Location
    Kent, England
    MS-Off Ver
    Excel 2010
    Posts
    43

    Multiple look up tables

    Good afternoon all

    Can someone please help me regarding look up tables.

    I have a spreadsheet (attached), which has a product, then the spec then the price Matrix for that product.

    I have 12 products in total, each with their own spec and price matrix (Columns A - C).

    As this is going to be a daily order sheet for my client, I want to simplify this with a series of drop down boxes for the product (Column P) and spec (Column Q) and then when the enter the quantity, the price to worked out for them (Columns G - S).

    I know how to do this if it was just 1 spec, but no idea how to do it with multiple products?

    Thank you in advance

    Craig Kinsey
    Attached Files Attached Files

  2. #2
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: Multiple look up tables

    i'd do it with tables
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    10-31-2011
    Location
    Kent, England
    MS-Off Ver
    Excel 2010
    Posts
    43

    Re: Multiple look up tables

    Thanks Tim. That is excellent work. I am not sure what columns N & O are for or whether I need these, but the only thing that is missing is the spec (Column Q on my original and Column K on your sheet). This information was under the Product in Column A? Is this an easy add?

  4. #4
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: Multiple look up tables

    =INDEX(s!$A:$A,MATCH([@PRODUCT],_s[[#All],[Print 4/4 on 170gsm silk]],)-1)

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Multiple look up tables

    Another fairly simple approach would be to create a named range for each product table (use it's heading, but replace spaces with underscore_), using just the values ((eg A4_Poster range would be A14:C23)
    Once you have the tables named, then use this to pull the cost...
    =VLOOKUP(R3,INDIRECT(IF(ISNUMBER(--LEFT(P3,1)),"_","")&SUBSTITUTE(P3," ","_")),2,0)

    I wasnt sure which column you wanted, so I just used P cost. Adjust the bolded part to get the other 1
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. Replies: 3
    Last Post: 12-04-2017, 01:55 PM
  2. Replies: 5
    Last Post: 12-04-2017, 10:33 AM
  3. Pivot Tables using multiple tables as a source
    By Chrisb1985 in forum Excel Charting & Pivots
    Replies: 26
    Last Post: 05-09-2014, 10:50 AM
  4. Creating a Master / Consolidated Pivot Tables from a multiple pivot tables
    By paradise2sr in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 12-12-2013, 02:28 AM
  5. Creating a Master / Consolidated Pivot Tables from a multiple pivot tables
    By paradise2sr in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 12-08-2013, 10:49 PM
  6. Pivot tables - Multiple filters across 2 tables
    By shoesterix in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-23-2011, 05:02 AM
  7. Multiple Data Tables Link and Calculate onto Target Tables
    By billexchry in forum Excel General
    Replies: 6
    Last Post: 03-04-2011, 02:42 PM

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