Filtering unique value and apply VLOOKUP

excel_beta_345User

New Member
Joined
Jun 17, 2024
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hi All,

Extremely sorry that I was not able to upload excel sheet hence had to go with snapshot.. Can you look into it and help me with possible solution. How do I filter unique value and vlookup it in left table? Please advise.
 

Attachments

  • vlookup.png
    vlookup.png
    36.6 KB · Views: 20

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
Assuming you are able to use "modern Excel" functions, here is a lambda that takes the standard, year, and table, and returns true/false value.

Excel Formula:
=LAMBDA(standard,whichyear,inputtable,
LET(filtarray, CHOOSECOLS(FILTER(inputtable, CHOOSECOLS(inputtable, 1)=standard), 2),
string, TEXTJOIN(",", TRUE, filtarray),
ISNUMBER(FIND(whichyear, string))))

Put that in a Name (I called mine FindStandard), then you can use in C8 a formula like this:
Excel Formula:
=FindStandard($B8, C$7, $N$7:$O$23)
 
Upvote 0
Hi & welcome to MrExcel.
Another option
Fluff.xlsm
ABCDEFGHIJKLMNO
6
72001200220032004200520062007200820092010
85thTRUEFALSETRUEFALSETRUEFALSETRUEFALSETRUEFALSE5th2001,2003,2005,2007
96thFALSETRUEFALSEFALSETRUEFALSEFALSETRUETRUETRUE5th2001,2003,2009
107thFALSEFALSEFALSEFALSEFALSEFALSEFALSEFALSEFALSEFALSE5th2009
118thFALSEFALSEFALSEFALSEFALSEFALSEFALSEFALSEFALSEFALSE5th2007,2009
129thFALSEFALSEFALSEFALSEFALSEFALSEFALSEFALSEFALSEFALSE6th2002
136th2002,2008
146th2002,2005,2008
156th2008,2009,2010
Sheet6
Cell Formulas
RangeFormula
C8:L12C8=ISNUMBER(XMATCH(C$7&"",TEXTSPLIT(TEXTJOIN(",",,FILTER($O$8:$O$15,$N$8:$N$15=$B8)),",")))
 
Upvote 0
Solution
Hi & welcome to MrExcel.
Another option
Fluff.xlsm
ABCDEFGHIJKLMNO
6
72001200220032004200520062007200820092010
85thTRUEFALSETRUEFALSETRUEFALSETRUEFALSETRUEFALSE5th2001,2003,2005,2007
96thFALSETRUEFALSEFALSETRUEFALSEFALSETRUETRUETRUE5th2001,2003,2009
107thFALSEFALSEFALSEFALSEFALSEFALSEFALSEFALSEFALSEFALSE5th2009
118thFALSEFALSEFALSEFALSEFALSEFALSEFALSEFALSEFALSEFALSE5th2007,2009
129thFALSEFALSEFALSEFALSEFALSEFALSEFALSEFALSEFALSEFALSE6th2002
136th2002,2008
146th2002,2005,2008
156th2008,2009,2010
Sheet6
Cell Formulas
RangeFormula
C8:L12C8=ISNUMBER(XMATCH(C$7&"",TEXTSPLIT(TEXTJOIN(",",,FILTER($O$8:$O$15,$N$8:$N$15=$B8)),",")))

This is too good, you saved my day. Really appreciate the support.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,399
Latest member
alchavar

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