Find value based on two values entered

rogator

New Member
Joined
Oct 11, 2006
Messages
5
Hello,
I have a table of data on a worksheet labeled Information. The table has three columns, Y2:Y29 is employee names, Z2:Z29 is equipment and AA2:AA29 is code number (six digits). On another worksheet labeled Form I have validation lists in cells C26 and C28. C26 is the employee name validation list and C28 is the equipment list. I would like to have the code number from Information sheet placed in cell C30 when the employee name and equipment used is selected. Also cells C26, C28, and C30 are merged, don't know if that is causing problems with some of the formulas I have tried or not.
Any help would be greatly appreciated, Thanks.
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off

Brian from Maui

MrExcel MVP
Joined
Feb 16, 2002
Messages
8,458
If employee names and equipment produce a unique identifier, one example of Index/Match
Book1
ABCDEF
1NameEquipCode222222
2att111111222222byy
3byy222222
4cuu333333
5doo444444
6epp555555
Sheet1
 

BruceyBonu$

Board Regular
Joined
Mar 6, 2006
Messages
74
Merged cells should not matter

Enter formula with Ctrl+Shift+Enter in C30

=INDEX(information!y2:aa29,MATCH(Form!y26&"@"&c28,y2:y29&"@"&z2:z29,0),3)
 

BruceyBonu$

Board Regular
Joined
Mar 6, 2006
Messages
74
=INDEX(information!Y2:AA29,MATCH(Form!C26&"@"&Form!C28,information!Y2:Y29&"@"&info!AA2:AA29,0),3)

sorry slight type in last effort, this should work.. dont forget the Ctrl shift Enter
 

Forum statistics

Threads
1,141,718
Messages
5,708,070
Members
421,543
Latest member
SGM

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