triple v-lookup ./ index match ? ?

Cervani

New Member
Joined
Jun 22, 2022
Messages
22
Office Version
  1. 365
Platform
  1. Windows
Hello,
I have following issue, could you advise me please.
I need to VLOOKUP Value to lookup and Value to lookup 2 from table on the right, problem is
I have duplicated values in Code, then they need to match Team column match office column.

Please take a look at Result Value to lookup 2 for "QC team" some of them have DE and some CN as per values from table on the right.
Is there a way to build formula please ?

1664810445284.png



CodeTeamOfficeResult Value to lookupResult Value to lookup 2
27/JQC teamSacramentoNot completedDE
27/JMarketing teamNew YorkCompletedUS
27/JQC teamDenverNot completedCN
27/JQC teamDenverNot completedCN
27/JQC teamDenverNot completedCN
27/JMarketing teamNew YorkCompletedUS
Table 1Results I want to get

CodeTeamOfficeValue to lookupValue to lookup 2
27/JMarketing teamNew YorkCompletedUS
27/JQC teamSacramentoNot completedDE
27/JQC teamDenverNot completedCN
 

Attachments

  • 1664810323259.png
    1664810323259.png
    82.8 KB · Views: 5

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
You're using 365, so you can use XLookUp...

Book1
ABCDEF
1CodeTeamOfficeResult Value to lookupResult Value to lookup 2
227/JQC teamSacramentoNot completedDE
327/JMarketing teamNew YorkCompletedUS
427/JQC teamDenverNot completedCN
527/JQC teamDenverNot completedCN
627/JQC teamDenverNot completedCN
727/JMarketing teamNew YorkCompletedUS
8
9
10
11CodeTeamOfficeValue to lookupValue to lookup 2
1227/JMarketing teamNew YorkCompletedUS
1327/JQC teamSacramentoNot completedDE
1427/JQC teamDenverNot completedCN
15
16
17
Sheet1
Cell Formulas
RangeFormula
D12:D14D12=XLOOKUP(C12,$C$2:$C$7,$D$2:$D$7)
E12:E14E12=XLOOKUP(C12,$C$2:C$7,E$2:E$7)
 
Upvote 0
Hi there, sorry its my fault...


this is as data I already have


1664820904331.png


this is what I want to get

1664820972102.png
 
Upvote 0
How about this:

xlookup2.xlsm
ABCDEF
1CodeTeamOfficeValue to lookupValue to lookup 2
227/JMarketing teamNew YorkCompletedUS
327/JQC teamSacramentoNot completedDE
427/JQC teamDenverNot completedCN
5
6
7
8CodeTeamOfficeResult Value to lookupResult Value to lookup 2
927/JQC teamSacramentoNot completedDE
1027/JMarketing teamNew YorkCompletedUS
1127/JQC teamDenverNot completedCN
1227/JQC teamDenverNot completedCN
1327/JQC teamDenverNot completedCN
1427/JMarketing teamNew YorkCompletedUS
15
16
Sheet2
Cell Formulas
RangeFormula
D9:D14D9=XLOOKUP(C9,$C$2:$C$4,$D$2:$D$4,"")
E9:E14E9=XLOOKUP(C9,$C$2:$C$4,$E$2:$E$4,"")
 
Upvote 0
Solution
I am glad it worked for you. Thanks for the feedback!
 
Upvote 0

Forum statistics

Threads
1,215,129
Messages
6,123,214
Members
449,091
Latest member
jeremy_bp001

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