Match two cells in a different table - bring back top value

Rchudasama

New Member
Joined
Jul 28, 2016
Messages
13
I need a formula for this example

Cell - Value
A29 - FY14-2 - match if this value is in the first column then
B29 - FY14-3 - and match if this value is in either second, third, fourth and etc....

Match the two cells to the below table and bring me back the value of the top row = answer would be 2

Separate table
Column 1 column 2 column 3
1 2 3
FY14-1 FY14-2 FY14-3
FY14-2 FY14-3 FY14-4
FY14-3 FY14-4 FY14-5
FY14-4 FY14-5 FY14-6

Thanks in advance
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Assuming that your separate table is in columns G,H and I starting from row 1, I suggest you join them together in column J with =G1&H1&I1
Now enter =MATCH(VLOOKUP(A29&"*"&B29&"*",J1:J4,1,FALSE),J:J,0) in any cell to get the row number 2.
Hope this helps.
 
Upvote 0
Something like this?


Excel 2010
ABCDEFG
1123First RowSecond RowValue
2FY14-1FY14-2FY14-3FY14-2FY14-32
3FY14-2FY14-3FY14-4
4FY14-3FY14-4FY14-5
5FY14-4FY14-5FY14-6
Sheet1
Cell Formulas
RangeFormula
G2=SUMPRODUCT(($A$2:$C$2=$E$2)*($A$3:$C$3=$F$2)*($A$1:$C$1))
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,906
Members
452,366
Latest member
TePunaBloke

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