Unique and Filter to select two or more different options from the same list

Peter Davison

Active Member
Joined
Jun 4, 2020
Messages
451
Office Version
  1. 365
Platform
  1. Windows
I have a formula using Unique and Filter below -
UNIQUE(FILTER('Performance Data Master'!$C$3:$D$100000,'Performance Data Master'!$BI$3:$BI$100000=$I$9))
This brings back all stores in England.
What I want to do is filter for more than one option.
I have other selections in Cells I11 (Scotland) and I13 (Wales)
So I added extra filters to the above formula e.g. of one more cell below -
UNIQUE(FILTER('Performance Data Master'!$C$3:$D$100000,('Performance Data Master'!$BI$3:$BI$100000=$I$9)*('Performance Data Master'!$BI$3:$BI$100000=$I$11)))
but this gives a result of Calc?
I am doing something wrong or is it because you cannot filter more than once on the same column (BI)?
Any help would be appreciated
Thanks
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
The asterisk * equals and - so you're looking to return a list where column B is both England and Wales

Change the asterisk to a plus sign + which equals or
 
Upvote 0
Solution
That didn't work
In Cell I10 I have Scotland and in Cell I13 I have England as the selections.
I used the formula with a + instead of a *
UNIQUE(FILTER('Performance Data Master'!$C$3:$D$100000,('Performance Data Master'!$BI$3:$BI$100000=$I$13)+('Performance Data Master'!$BI$3:$BI$100000=$I$10)))
but it just brought back the contents from Cell I13 (England)
Any other thoughts?
 
Upvote 0
Can you share your actual data using the XL2BB add in, or alternatively share your file via Google Drive, Dropbox or similar file sharing platform?
 
Upvote 0
I'm really sorry but my data is client sensitive and links to other files.
Apologies
 
Upvote 0
I have found the fault now.
I had it looking at a sheet that was already being filtered.
However you were right it needed the + not *.
So thank you for all your help
 
Upvote 0
try:
I'm really sorry but my data is client sensitive and links to other files.
Apologies
Although you have figured out the issue, in the future you can always provide sanitized (anonymized) data for the formu to work with.
 
Upvote 0

Forum statistics

Threads
1,223,881
Messages
6,175,161
Members
452,615
Latest member
bogeys2birdies

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