# Get data from 2 way Data sheet with criteria

1. ## 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.

2. ## 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))

3. ## 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. ## 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. ## 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.

##### Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

#### 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