Home > Software engineering >  How do I stop Filter retaining the order of source data?
How do I stop Filter retaining the order of source data?

Time:03-13

I'm wondering how to get a FILTER function in Google Sheets to order itself by the data it is matching to in its conditions.

enter image description here

CodePudding user response:

Try this (you can put in another tab)

=sort(filter({arrayformula(if(iserror(match(SALESPIPELINE!A:A,DS!A:A,0)&"~"&match(SALESPIPELINE!B:B,DS!B:B,0)),9^9,match(SALESPIPELINE!A:A,DS!A:A,0))),SALESPIPELINE!A:I},match(SALESPIPELINE!A:A,DS!A:A,0),match(SALESPIPELINE!B:B,DS!B:B,0)))

enter image description here

  • Related