Lookup problem

ashish514

New Member
Joined
Feb 10, 2011
Messages
47
I want my formula to look up two values in two different columns. Refer to the attached link

http://www.box.net/shared/yed7167g9z

The blank columns in sheet 2 with headins in red are the ones needed to be filled by the formula which first looks up the family no. and then the family member no. in sheet 1 and then give the values of sex and age of those particular members in sheet 2. I could have just copy pasted the columns from sheet 1 to 2 after sorting, but not all the family members in a family travel daily and so their travel data is missing which makes it hard to copy paste. Kindly help
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Hi

Try

=INDEX(Sheet1!C$2:C$34,MATCH(1,(Sheet1!$A$2:$A$34=$A2)*(Sheet1!$B$2:$B$33=$B2),0))

confirmed with control+shift+enter instead of just enter.

Copy down and across in columns G & H in sheet2
 
Upvote 0

Forum statistics

Threads
1,223,277
Messages
6,171,153
Members
452,383
Latest member
woodsfordg

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top