+ Reply to Thread
Results 1 to 7 of 7

Creating a look up table for X and Y variables

  1. #1
    Registered User
    Join Date
    01-17-2014
    Location
    Dubin, Ireland
    MS-Off Ver
    Excel 2003
    Posts
    2

    Creating a look up table for X and Y variables

    I've created a data array based on two variables X and Y and I'd like to allow users to find the correct value for any value within my data array that is equivilant to X and Y. It will make a lot more sense when you look at the example in the attached excel sheet. Thanks in advance to anyone that can help!!!
    Attached Files Attached Files
    Last edited by vlady; 01-17-2014 at 08:31 PM.

  2. #2
    Forum Contributor
    Join Date
    07-24-2009
    Location
    Valrico, FL USA
    MS-Off Ver
    Excel 2016
    Posts
    358

    Re: Creating a look up table for X and Y variables

    Look at the second sheet to see if this is what you wanted.
    Attached Files Attached Files

  3. #3
    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
    53,048

    Re: Creating a look up table for X and Y variables

    ncmay, you have the ranged for the MATCH's the wrong way round. It should be...
    =INDEX(B2:M21,MATCH(E27,B2:B21,0),MATCH(E26,B2:M2,0))

    (test using x=3000, y=15000)
    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

  4. #4
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 365
    Posts
    2,406

    Re: Creating a look up table for X and Y variables

    More example for X axis and Y axis situation

    Azumi
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    07-24-2009
    Location
    Valrico, FL USA
    MS-Off Ver
    Excel 2016
    Posts
    358

    Re: Creating a look up table for X and Y variables

    Thanks for the correction FDibbins.

    ncmay

  6. #6
    Registered User
    Join Date
    01-17-2014
    Location
    Dubin, Ireland
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Creating a look up table for X and Y variables

    Thank you all very much!!! I realy apprecaite it. I'll let you know if I have any questions but it seems quite straight forward at the moment.

  7. #7
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,167

    Re: Creating a look up table for X and Y variables

    Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED". I will do it for you this time.

    In future, to mark your thread as Solved, you can do the following -
    Select Thread Tools-> Mark thread as Solved.

    Incase your issue is not solved, you can undo it as follows -
    Select Thread Tools-> Mark thread as Unsolved.

    Also, since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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. Help creating vba function to move data from table to table on if condtion
    By damaple in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-09-2013, 05:42 AM
  2. Replies: 0
    Last Post: 08-09-2013, 12:32 PM
  3. Creating a new Table based on Conditional Formatting in another table
    By JPKenny in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-06-2010, 11:48 PM
  4. Creating new table from selective data in original table
    By rasmussk in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-18-2009, 09:46 AM
  5. Creating a filtered table from a source table in another sheet
    By penfold in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-12-2008, 07:44 AM

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