excluding from filter function certain cells/value

excelNewbie22

Well-known Member
Joined
Aug 4, 2021
Messages
556
Office Version
  1. 365
Platform
  1. Windows
hi,
i have this function
Excel Formula:
=SORT(FILTER(INDIRECT("N2:N"&P1+1),(NOT(ISNUMBER(XMATCH(INDIRECT("N2:N"&P1+1),SORT(FILTER(C3:C5640,(A3:A5640>=EOMONTH(B440,-1)+1)*(A3:A5640<=EOMONTH(B440,0)))))))*(INDIRECT("N2:N"&P1+1)<>""))))
and in want to update it by adding excluding certain names from the c column, how can i do it?
 
solution:
Excel Formula:
=SORT(FILTER(INDIRECT("N2:N"&P1+1),(NOT(ISNUMBER(XMATCH(INDIRECT("N2:N"&P1+1),SORT(FILTER(C3:C5640,(A3:A5640>=EOMONTH(B440,-1)+1)*(A3:A5640<=EOMONTH(B440,0)))))))*(INDIRECT("N2:N"&P1+1)<>"")[B]*(INDIRECT("N2:N"&P1+1)<>N1328)[/B])))

adding: *(INDIRECT("N2:N"&P1+1)<>N1328)
 
Upvote 0
Solution
Glad you found a solution but for the future, it wasn't much wonder nobody here could help since we didn't know what any of your data looks like, what is in P1 etc and cell N1328 was not even mentioned, let alone what is in it. ;)
 
Upvote 0
you right peter, will try next time to give more details, thank you for your comment
 
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