+ Reply to Thread
Results 1 to 6 of 6

Find a value within a table (horizontal and diagonal)

  1. #1
    Registered User
    Join Date
    10-26-2012
    Location
    Tokyo, Japan
    MS-Off Ver
    Excel 2007
    Posts
    2

    Find a value within a table (horizontal and diagonal)

    Hi everyone,

    I need help to solve my problem with finding a value in a table.

    As you can refer to the table, I need to find the delivery cost which based on the distance of the delivery place and the weight of the item. Now I can find the cost if the weight is ranging between 120 kg to 150 and the distance is ranging between 80 km to 100 km, but if the weight is precisely 120 kg or the distance is precisely 80 km then it's going to be 1 cell off. Can anyone help me?

    Thank you in advance.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    wales
    MS-Off Ver
    Excel 2007
    Posts
    964

    Re: Find a value within a table (horizontal and diagonal)

    Try...

    Please Login or Register  to view this content.
    The Importance of INDEX - A GUIDE TO INDEX'S OTHER USES
    <--- If a post helps hit the star

  3. #3
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: Find a value within a table (horizontal and diagonal)

    In D11 should be:
    Please Login or Register  to view this content.
    Confirmed by holding both Ctrl-Shift, then Enter
    Quang PT

  4. #4
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    wales
    MS-Off Ver
    Excel 2007
    Posts
    964

    Re: Find a value within a table (horizontal and diagonal)

    Quote Originally Posted by bebo021999 View Post
    In D11 should be:
    Please Login or Register  to view this content.
    Confirmed by holding both Ctrl-Shift, then Enter
    pretty much what mine does only without the CSE

    if you do it the way i did then the INDEX(A2:A7>=B15,,) returns an array answer of true or false answers, then match matches the first True value, then the second index (or first as you read from the left across) uses that match in the table

  5. #5
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: Find a value within a table (horizontal and diagonal)

    Quote Originally Posted by twiggywales View Post
    pretty much what mine does only without the CSE

    if you do it the way i did then the INDEX(A2:A7>=B15,,) returns an array answer of true or false answers, then match matches the first True value, then the second index (or first as you read from the left across) uses that match in the table
    Sure it is

  6. #6
    Registered User
    Join Date
    10-26-2012
    Location
    Tokyo, Japan
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Find a value within a table (horizontal and diagonal)

    Thank you both......
    I tried all the functions you suggested and both work just great..... just like I want it to be.

+ 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