Index and Match Question

chastst

New Member
Joined
Dec 10, 2002
Messages
21
I have a table that contains various data:

WO# Status Activity Est Hrs
101000 R 1 2
101001 A 1 1
101001 R 2 3
101002 A 1 4

etc.

On another sheet, I would like to enter the WO# and Activity# in seperate columns and retrieve the Est Hrs i.e. for 101001 act 1 return 1 and 101001 act 2 return 3, etc. All WO# and Activity# combinations are unique.

Can someone help me with the formula?

TIA
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().

fairwinds

MrExcel MVP
Joined
May 15, 2003
Messages
8,638
Hi,

Try:

=LOOKUP(2,1/((A2:A5=F4)*(C2:C5=G4)),D2:D5)

This will give you last occurance where both conditions match.
Book1
ABCDEFGH
1WO#StatusActivityHrs
2101000R12
3101001A11
4101001R2310100123
5101002A14
Sheet2
 

Forum statistics

Threads
1,137,207
Messages
5,680,194
Members
419,888
Latest member
Prasad K

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
Top