Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9633

How to sort a column based on specific text in Google Sheet

$
0
0

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


Viewing all articles
Browse latest Browse all 9633

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>