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: 31

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
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,223,703
Messages
6,173,973
Members
452,540
Latest member
haasro02

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