+ Reply to Thread
Results 1 to 5 of 5

Get data from 2 way Data sheet with criteria

  1. #1
    Registered User
    Join Date
    08-24-2011
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    14

    Get data from 2 way Data sheet with criteria

    Hi All,
    Have attached sample file for which i seek solution.
    What i need is that the cell E16 & E17- Should return with value from above two tables

    1. Cell E16 should first look for D1 from range A2 to M12.
    2. Next it should look for 900 with range highlighted in Green.
    3. Next it should look for 1200 with range highlighted in Orange.

    Please adviceSample.png
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Northern Ireland
    MS-Off Ver
    Excel 2013 & 2016
    Posts
    20,567

    Re: Get data from 2 way Data sheet with criteria

    Since the values in orange are the same in both tables, you can use this:

    =INDEX($C$3:$M$12,MATCH(1,INDEX((D16=$A$3:$A$12)*(B16=$B$3:$B$12),0),0),MATCH(C16,$C$2:$M$2,0))
    Glenn



  3. #3
    Registered User
    Join Date
    08-24-2011
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: Get data from 2 way Data sheet with criteria

    Thanx a lot Glenn, you are genius....
    Worked exactly the way I needed.
    Thanx a lot

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Northern Ireland
    MS-Off Ver
    Excel 2013 & 2016
    Posts
    20,567

    Re: Get data from 2 way Data sheet with criteria

    You're welcome.



    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

  5. #5
    Registered User
    Join Date
    08-24-2011
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: Get data from 2 way Data sheet with criteria

    Hey Glenn,
    Need your kind advice again, request you to look at the sample 2 sheet that is attached.
    Sheet 3 is my resultant sheet need to lookup value from sheet 1 & sheet 2.
    Attached Files Attached Files

+ 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