ToolsEdit PDFArticlesPricingContact
TryPDFKit
Spreadsheets tool

Extract Excel Columns

List the columns you want, by name, letter or number, and get a file with just those columns in that order. It runs in your browser and nothing is uploaded.

  • 3 free uses, no sign-up
  • Files stay on your device
  • Names, letters or numbers
  • Choose the order

Drop your spreadsheet files here

or click to browse your device

  • XLSX
  • XLS
  • ODS
  • CSV
  • XLSM
  • XLSB
Files never leave your device
  • Files stay on your device
  • 3 free uses, no account needed
  • Works offline once loaded
How was Extract selected Excel columns?
Be the first to rate this tool.
1How it works

Extract selected Excel columns in three steps

  1. 01

    Add your spreadsheet

    Add an Excel, ODS or CSV file to the page.

  2. 02

    List the columns

    Type header names, letters like C, numbers like 3, or ranges like B-E, separated by commas. Leave the sheet box empty for the first sheet.

  3. 03

    Download the result

    You get the same file type back, with only your columns, in the order you typed them.

2The details

What you get, and what to know

What you get

  • Three ways to pickUse a header such as Email, a letter such as D, or a number such as 4.
  • RangesB-E or 2-5 grabs several neighbours at once.
  • Reorder as you goType Email, Name and the output puts Email first. A column you list twice appears once.
  • Same format outXLSX stays XLSX, CSV stays CSV, and the separator and line endings are preserved.
  • Helpful errorsIf a name is not found, the message lists the real headers.

Good to know

  • One sheet at a timeOnly the sheet you name (or the first one) is changed. Other sheets in the workbook stay as they were.
  • Formulas become values on that sheetBecause columns move, formulas on the edited sheet are replaced by their results and merged cells are unmerged. Colors and fonts are not kept.
  • To remove insteadFor CSV files you can delete named columns with Remove CSV columns.
3Use cases

When people use Extract selected Excel columns

Share a safe subset

Leave out salary, phone or notes columns before sending a file.

Prepare an import

Make the file match the exact column order an importer wants.

Make a mailing list

Keep just Name and Email from a large customer export.

Simplify for analysis

Reduce a wide sheet to the handful of columns you will use.

How column references work

The tool tries each item as a header name first, ignoring case. If no header matches, it reads the item as a letter or a number. That means a column titled A is found by its title before being treated as column A.

Examples

A few ways to write your list:

  • Name, Email, City keeps three columns by header.
  • A, C, F keeps columns by letter.
  • 1-3, 7 keeps the first three plus the seventh.
  • Use quotes around a header that contains a comma, such as "Total, EUR".

After trimming columns, try Delete empty columns or Rename spreadsheet columns. Need rows rather than columns? Filter CSV rows keeps only matching rows.

4FAQ

Questions, answered

How do I keep only certain columns in Excel?+

Add the file, type the columns you want and download the result.

Does the spreadsheet leave my device?+

No. Everything happens in your browser.

Can I change the column order?+

Yes. The output follows the order in which you list the columns.

Will my other worksheets be touched?+

No. Only the chosen sheet is modified.

Can it work with CSV files?+

Yes. CSV files keep their separator and line endings.

Does this work on a Mac or phone?+

Yes, in modern browsers on both. Use a computer for very wide sheets.

+Keep going

Related tools