Help - I am Stuck - Match 4 Cells against table and return adjacent value

Agbarker

New Member
Joined
May 17, 2021
Messages
14
Office Version
  1. 365
Platform
  1. Windows
Hi all,

I have been trying to work out the best way to get the answer from my little problem below. I either get a whole table or #error/#N/A

so starting from scratch

below is what I am trying to work out

Row 1 = A1 , B1 , C1 , D1 = (each cell contains a letter for example A1=A, B1=B, C1=C, D1=D

Row 2 to Row 12

Column A = contains one letter in each cell - either A, B or C
Column B = contains one letter in each cell - either B, C or D
Column C = contains one letter in each cell - either C, D or E
Column D = contains one letter in each cell - either D, E or F

Now I would like to match Row 1 (or Ideally just the cells) with the table below for a match

once a match has been found I want to return the value in Column F which corresponds to the matched Row

so,

Row 1 = A, B, C, D

Table

B,C,D,A
C,D,A,B
A,B,C,D
A,B,D,A

Column F

A
B
C
D

so my answer should be "C"

I know this is probably a really easy one to answer but I am running out brain cells.

Appreciate everyone's help as always
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
How about
+Fluff 1.xlsm
ABCDEFG
1ABCD
2BCDAAC
3CDABB
4ABCDC
5ABDAD
Summary
Cell Formulas
RangeFormula
G2G2=FILTER(F2:F5,(A2:A5=A1)*(B2:B5=B1)*(C2:C5=C1)*(D2:D5=D1),"No match")
 
Upvote 0
Solution
Thats great! learn something new everyday - never used the filter function before. works perfectly. thankyou very much.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,213,536
Messages
6,114,205
Members
448,554
Latest member
Gleisner2

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