Vloopup with key value in multiple columns

wjeil

New Member
Joined
Feb 25, 2022
Messages
37
Office Version
  1. 365
Platform
  1. Windows
Hello quick question i think. I'm tring to return column F in to the corresponding value of B in C from table F:I. It has to match a value in one of the three columns and then return the text in F. I've tried Index and Match and VLookup, but with no succes.

Does someone know the trick?



Map2
ABCDEFGHI
1A2LOC.1123
2B4LOC.2456
3C1LOC.3789
4D6LOC.4101112
5E8
6F4
Blad1
 

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"
I found the solution.

Map2
ABCDEFGHI
1A2LOC.1LOC.1123
2B4LOC.2LOC.2456
3C1LOC.1LOC.3789
4D6LOC.2LOC.4101112
5E8LOC.3
6F4LOC.2
7
Blad1
Cell Formulas
RangeFormula
C1:C6C1=INDEX($F$1:$F$4,(MATCH(1,MMULT(--($G$1:$I$4=B1),TRANSPOSE(COLUMN($H$1:$J$4)^0)),0)))
 
Upvote 0
You could also use
Excel Formula:
=FILTER($F$1:$F$4,MMULT(--($G$1:$I$4=B1),SEQUENCE(COLUMNS($G$1:$I$4)))>0)
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,700
Messages
6,126,281
Members
449,308
Latest member
VerifiedBleachersAttendee

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