+ Reply to Thread
Results 1 to 3 of 3

how to indirect / index a value in a table

  1. #1
    Registered User
    Join Date
    10-05-2006
    Location
    Gourock, Scotland
    Posts
    57

    how to indirect / index a value in a table

    I have a table setup - Height & Width with the values of 100, 150, 200, 250 etc upto 1000
    in the table there is a cost associate with the different values.

    I have attached the sheet.

    If I enter height 100 and width 100 - the result should be 22.72

    I'm struggling to build a formula to do it - I have tried match, vlookup to no avail

    Peter.
    Attached Files Attached Files

  2. #2
    Forum Expert Colin Legg's Avatar
    Join Date
    03-30-2008
    Location
    UK
    MS-Off Ver
    365
    Posts
    1,256

    Re: how to indirect / index a value in a table

    Hi Peter,

    This is a "double" lookup formula which can be done quite nicely using INDEX() and MATCH().

    In cell C27 type in 150. This will be the Height.
    In cell C28 type in 400. This will be the Width.

    In cell C29 type in this formula:

    =INDEX(A2:Q22,MATCH(C27,A2:A22,0),MATCH(C28,A2:Q2,0))
    The precise sizes of the ranges is your choice but you need to make sure that the lookup row/column start and finish in line with the index reference.
    Hope that helps,

    Colin

    RAD Excel Blog

  3. #3
    Registered User
    Join Date
    10-05-2006
    Location
    Gourock, Scotland
    Posts
    57

    Re: how to indirect / index a value in a table

    Hi Colin, works a treat, thanks,

+ 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