Using unique with multiple filters to exclude values

Bravo2003

Active Member
Joined
Apr 1, 2010
Messages
280
Office Version
  1. 365
Platform
  1. Windows
I have this formula to sort a list of for unique account numbers - all works great with this,
=SORT(UNIQUE(FILTER($B:$B,$A:$A=$O$1)),,-1)

But I also need to exclude from the list any results that have a "0" in column D

Can't quite work how how to add this exclusion to the workings?
 
Modify your formula to:

Rich (BB code):
=SORT(UNIQUE(FILTER($B:$B,($A:$A=$O$1)*($D:$D<>0))),,-1)
 
Upvote 0
Excellent, thanks.
I was trying to work that one out and realise now I was missing adding a ( before A:A & an extra ) after.

All sorted now, thanks
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

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