+ Reply to Thread
Results 1 to 7 of 7

Lookup 2 data points then into a table to find the the relevant cell

  1. #1
    Forum Contributor
    Join Date
    06-24-2013
    Location
    United Kingdom
    MS-Off Ver
    Office 365
    Posts
    114

    Lookup 2 data points then into a table to find the the relevant cell

    Hi

    Trying to lookup with 2 variables

    Countries and Weight which should give me a cost from a table.

    The countries are split into zones "Zone Data" tab

    The "Info table" holds my cost associated to the specific zones against weight

    "Output" is where I want to choose a country and a weight which will look the the specific zones and the specific weights and bring out correct price.
    Attached Files Attached Files

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Lookup 2 data points then into a table to find the the relevant cell

    Hi,

    One way in D5
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    But personally I'd change your basic data layout into a format that can be used by a Pivot Table and use a PT. with two Slicers to seelect Country and weight - See attached
    Attached Files Attached Files
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Contributor
    Join Date
    06-24-2013
    Location
    United Kingdom
    MS-Off Ver
    Office 365
    Posts
    114

    Re: Lookup 2 data points then into a table to find the the relevant cell

    Hi

    Ok never used pivot tables before guess Id better learn then.

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Lookup 2 data points then into a table to find the the relevant cell

    Quote Originally Posted by king10001 View Post
    Hi

    Ok never used pivot tables before guess Id better learn then.
    I agree. It will pay immense dividends for tasks like reporting. Given you have a table of data in the right layout PTs take take a minute or two to set up. The big advantage is that you can drive out statistics like totals, counts, max/min etc., which would otherwise need Excel compound formulae/functions, with a few selections from drop downs.

    Thanks for the rep.

  5. #5
    Forum Contributor
    Join Date
    06-24-2013
    Location
    United Kingdom
    MS-Off Ver
    Office 365
    Posts
    114

    Re: Lookup 2 data points then into a table to find the the relevant cell

    Hi

    I had a look at pivot tables.

    In this case I cant seem to get over a weight of 12.
    Attached Files Attached Files

  6. #6
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Lookup 2 data points then into a table to find the the relevant cell

    Quote Originally Posted by king10001 View Post
    Hi

    I had a look at pivot tables.

    In this case I cant seem to get over a weight of 12.
    That's because the last MATCH function was referring to column A not Row 1
    change to:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    However I can't urge you enough to check out PTs and use the PT approach here. Over your time with Excel you will save yourself enormous amounts of time and effort.

  7. #7
    Forum Contributor
    Join Date
    06-24-2013
    Location
    United Kingdom
    MS-Off Ver
    Office 365
    Posts
    114

    Re: Lookup 2 data points then into a table to find the the relevant cell

    I will do, need to get this done today asap so not much time to learn it.

+ 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. Find relevant data and show in cell
    By Burt_100 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-26-2014, 11:17 AM
  2. [SOLVED] Formula for copying over relevant data from one table to populate another table
    By amasson in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-19-2013, 06:11 AM
  3. [SOLVED] Formula for copying over relevant data from one table to populate another table
    By amasson in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 02-25-2013, 12:41 PM
  4. Replies: 6
    Last Post: 10-28-2011, 12:10 PM
  5. Lookup multiple data points to find info in a single cell
    By cradams72 in forum Excel General
    Replies: 1
    Last Post: 08-17-2011, 10:51 AM
  6. Replies: 6
    Last Post: 05-18-2010, 09:59 AM
  7. Replies: 6
    Last Post: 08-26-2009, 03:17 PM
  8. Modifying Lookup formula to get relevant data
    By LouP in forum Excel General
    Replies: 3
    Last Post: 04-22-2009, 05:11 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