Index & match across multi coumns I think?

NGB82KS

Board Regular
Joined
Nov 7, 2019
Messages
82
Office Version
  1. 2016
Hi all, im not sure the best way to get the following:
I have 2 tabs with tables (like below) and im trying to get a formula in column DI that looks at table1, column BK and then BQ, BS & BU and if their is a match (e.g. MATH 100; MATH 105; MATH 107) to table2's column A&B then returns a "Match" in column DI, otherwise its a "NO MATCH". I assume its a variation on Index & Match?
BK (CLASS)BQBSBUDI
MATH100105107MATCH
MATH102103104NO MATCH
(SHEET 2 - TABLE1)

A (CLASS)B (CODE)
MATH100
SCIENCE101
HISTORY102
ENGLISH103
(SHEET 3 - TABLE2)
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Let's try this:

MrExcel posts19.xlsx
ABCDE
1BK (CLASS)BQBSBUDI
2MATH100105107Match
3MATH102103104No Match
4SCIENCE101104Match
5ENGLISH101102103Match
6
7
8A (CLASS)B (CODE)
9MATH100
10SCIENCE101
11HISTORY102
12ENGLISH103
Sheet24
Cell Formulas
RangeFormula
E2:E5E2=IF(SUM(--(A2&B2:D2=$A$9:$A$12&$B$9:$B$12)),"Match","No Match")
 
Upvote 0
Solution
Let's try this:

MrExcel posts19.xlsx
ABCDE
1BK (CLASS)BQBSBUDI
2MATH100105107Match
3MATH102103104No Match
4SCIENCE101104Match
5ENGLISH101102103Match
6
7
8A (CLASS)B (CODE)
9MATH100
10SCIENCE101
11HISTORY102
12ENGLISH103
Sheet24
Cell Formulas
RangeFormula
E2:E5E2=IF(SUM(--(A2&B2:D2=$A$9:$A$12&$B$9:$B$12)),"Match","No Match")
Hmmm i tried that but using my tables and that didn't work, the table I'm referencing is on the 3rd tab not sure if that matters because this code is for everything on one sheet.
 
Upvote 0
Let's try this:

MrExcel posts19.xlsx
ABCDE
1BK (CLASS)BQBSBUDI
2MATH100105107Match
3MATH102103104No Match
4SCIENCE101104Match
5ENGLISH101102103Match
6
7
8A (CLASS)B (CODE)
9MATH100
10SCIENCE101
11HISTORY102
12ENGLISH103
Sheet24
Cell Formulas
RangeFormula
E2:E5E2=IF(SUM(--(A2&B2:D2=$A$9:$A$12&$B$9:$B$12)),"Match","No Match")
Nevermind, i forgot to make it an array with ctrl+shift+enter! Awesome
 
Upvote 0
My apologies. I should have remembered that.
But of course the need for CTRL SHIFT Enter went extinct with the dodo-bird and 8-track tapes after Excel 365 came along.
 
Upvote 0

Forum statistics

Threads
1,214,915
Messages
6,122,217
Members
449,074
Latest member
cancansova

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