Filter a CSV on Mac without writing SQL

Pull pending orders out of a CSV export and save them as a separate file. Try it with five fictional orders.

Download the sample orders CSV

Open, filter, and export

  1. Open the CSV and check the preview

    In PaneQL, click Open data file and choose sample-orders.csv. In Preview this data file, select Comma (,) and UTF-8. Turn on First row contains column names. Check that the preview shows four columns, then click Import.

  2. Show only pending orders

    In Browse, click Filter. Set Column to status, set Condition to Equals text, and enter Pending. Click Apply condition. This matches the status itself. A text search for “pending” could also find “Not pending”.

  3. Save the two matching rows

    Set Export scope to All matches. Click Export CSV and save as pending-orders.csv. The export includes the visible columns. PaneQL keeps sample-orders.csv unchanged.

What you should see

Order IDCustomerRegionStatus
0007Juniper MarketWestPending
0018River BooksEastPending

PaneQL imports CSV values as text, so order IDs keep their leading zeros. If a spreadsheet drops those zeros when you open the exported file, import the ID column as text.

Try it with your own CSV

A 14-day free trial is available to eligible Apple Accounts.

View PaneQL on the Mac App Store

Working with backups? Compare two SQLite files on your Mac.