I have got a Google sheets table called Purchases with various columns for different items to purchase. The first column is called Status, and it includes values like:
Research, Approval, Purchasing, Shipping, Invoicing, Complete.
I want to write an SQL statement to retrieve all orders that are not Complete, but I would like to ordered them so that all the Research ones go first, Approvals second, Purchasing third and so on.
My current formula is:
=QUERY(Purchases;SELECT * WHERE A <> 'Completo';1)
This retrieves the correct items but they are mixed and not in the order that I want. Can someone help me to do better than this? Thanks a lot!