How do I filter which will show only the unique options?

QuestionBaker

Board Regular
Joined
Apr 12, 2019
Messages
106
Office Version
  1. 365
Platform
  1. Windows
Consider the info in the table.
I want to apply a filter on Supplier which can identify different suppliers in the list
ABC, OPQ, XYZ, CAD
The drop down for the filter should show only the 4
I know I can go to text filters and select contains and then type the supplier, but a colleague asked for a solution from where only the unique supplier names are seen
Something like how tags work, but I do not know how to do it in excel
If the problem statement is confusing, let me know I will explain it once again
 

Attachments

  • 1.png
    1.png
    6.1 KB · Views: 4

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Use E2 formula for extracting Partial Match.
and create Dropdown based them at H1
Then Use one of H2 or H3 formula to See filtered result Based Data in H1

Book21.xlsm
ABCDEFGH
1Part no.Part nameSupplierExtractDropDownOPQ
21Ali1ABCABCFILTER($C$2:$C$17,ISNUMBER(SEARCH($H$1,$C$2:$C$17)),”Not Found”)
32Ali2OPQOPQUNIQUE(FILTER($C$2:$C$17,ISNUMBER(SEARCH($H$1,$C$2:$C$17)),”Not Found”))
43Ali3ABC, OPQXYZ
54Ali4OPQ, XYZCAD
65Ali5XYZ 
76Ali6CAD
87Ali7ABC, OPQ, XYZ
98Ali8ABC, CAD
109Ali9CAD, XYZ
1110Ali10OPQ, CAD
1211Ali11ABC, CAD, OPQ
1312Ali12ABC, CAD, XYZ
1413Ali13ABC, XYZ
1514Ali14CAD, OPQ
1615Ali15CAD, OPQ, XYZ
1716Ali16CAD, XYZ
Sheet2
Cell Formulas
RangeFormula
E2:E6E2=IFNA(INDEX(LEFT($C$2:$C$17,3),MATCH(0,COUNTIF($E$1:E1,LEFT($C$2:$C$17,3)),0)),"")
Press CTRL+SHIFT+ENTER to enter array formulas.
Named Ranges
NameRefers ToCells
Extract=TblExtract[Extract]E3:E6
Cells with Data Validation
CellAllowCriteria
H1List=Extract
 
Upvote 0
Unfortunately there is no way do that with the Autofilter drop down.
But could possibly be done using advanced filter with some helper cells.
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,748
Members
448,989
Latest member
mariah3

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