Jetformat

Add an AutoFilter range to Excel

Use jetformat excel filter to add an AutoFilter range to Excel.

By Jetformat

An AutoFilter marks a range for filtering in a spreadsheet viewer. Adding it does not express a business filter condition or guarantee that rows have been removed.

Steps

  1. Start with a local XLSX. Replace the sample paths and identifiers with your own.
  2. Run the command below. Save to a new output path so the source remains available for comparison.
  3. Check the result as described below before using it in another job.
jetformat excel filter finance.xlsx --sheet Summary --range A1:C20 -o finance-updated.xlsx

Options for this task

Option Meaning
--output Output XLSX path (required)
--range Filter range, for example A1:C10
--sheet Worksheet name (required)

Check the result

Open the output and check the filter range and header row; compare row counts before treating it as filtered data.

Notes and limits

Writing an Office document uses one credit per command. See the billing guide for the current rules.

The examples keep the original file. Add --force only when you intend to overwrite an existing output. Run jetformat excel filter --help to compare options with your installed version.

See the excel command reference for the surrounding workflow.

Last updated