I have the following:
=sort(filter('CASES LIST'!C:R,('CASES LIST'!Q:Q="admission")+('CASES LIST'!Q:Q="pending")+('CASES LIST'!Q:Q="PCI")),16,true)
but I want to sort in the following sequence:
Pending
first
admission
second
PCI
third
formulasgoogle sheetsgoogle-sheets-querysorting
I have the following:
=sort(filter('CASES LIST'!C:R,('CASES LIST'!Q:Q="admission")+('CASES LIST'!Q:Q="pending")+('CASES LIST'!Q:Q="PCI")),16,true)
but I want to sort in the following sequence:
Pending
first
admission
second
PCI
third
Best Answer
Please use the following query formula (adjusting ranges to your needs), instead of the filter one you already use.
Functions used:
QUERY
SORT
MATCH