The fastest way to spot duplicate columns

Excel does not have a built-in button that says "delete duplicates" for columns the way it does for rows. Instead, you will need to find the duplicates yourself, then delete them one at a time. The good news is that spotting them takes only a few seconds if you know where to look.

Start by scrolling right through your spreadsheet and looking at the column headers and the data beneath them. Duplicate columns will have the same header name and the same values in the same order. If you have a spreadsheet with hundreds of columns, this can take a while — in that case, use the Find & Replace tool to search for column headers that appear more than once.

Open the Find & Replace dialog by pressing Ctrl+H (Windows) or Command+H (Mac). Type the header name you want to search for, click "Find All", and Excel will show you every cell that contains that text. If the same header appears in multiple columns, you have found your duplicates.

Key Takeaways

  • Excel does not automatically flag duplicate columns, so you must find them by scrolling through your data or using Find & Replace to search for repeated header names.
  • Once you locate a duplicate column, right-click the column letter and select "Delete" to remove it permanently.
  • Before deleting, make sure the columns truly contain identical data in the same order — columns with similar names but different values are not duplicates.
  • If you delete a column by mistake, press Ctrl+Z immediately to undo the action.

How to delete a column once you have found it

Once you have identified a duplicate column, deleting it takes two clicks. Click on the column letter at the top of the spreadsheet — the letter that runs vertically along the left edge (A, B, C, and so on). The entire column will turn blue or gray, showing it is selected.

Right-click on the selected column letter and a menu will appear. Click "Delete" from that menu. The column will disappear, and all columns to the right will shift one position to the left. Excel will not ask you to confirm — the deletion happens immediately.

If you delete the wrong column, press Ctrl+Z (Windows) or Command+Z (Mac) right away to undo. This will restore the column and move everything back to where it was. You have only a few seconds to undo after deletion, so act quickly if you make a mistake.

Checking whether columns are truly identical

Before you delete, make sure the columns are actually duplicates and not just columns with similar names. Two columns might have the same header but contain different data — for example, "Sales Q1" and "Sales Q2" look similar but hold different numbers.

Scroll down through both columns and compare several rows of data. If every single value matches in the same order, they are duplicates. If any value differs, keep both columns. A quick way to check is to click on a cell in one column, then use Ctrl+Down (Windows) or Command+Down (Mac) to jump to the last row with data. Do the same in the other column. If both columns end at the same row and the values match, you have confirmed they are duplicates.

Preventing duplicates when you copy or paste

Duplicate columns often appear by accident when someone copies data into a spreadsheet without realizing a column already exists. To avoid this, always check whether a column header already exists before pasting new data.

If you are pasting a large block of data, paste it into a blank area first, then compare it to your existing columns before moving it into place. Use the Find tool (Ctrl+F or Command+F) to search for the header name in your current spreadsheet. If it already exists, you know you need to either delete one copy or merge the data instead of keeping both.

What to do if you have many duplicate columns

If your spreadsheet has dozens of columns and several of them are duplicates, deleting them one at a time can be tedious. In this case, create a new spreadsheet with only the columns you need, then delete the old one.

Open a new blank spreadsheet in the same workbook. Go back to your original spreadsheet and copy the columns you want to keep — select the column letter, copy it with Ctrl+C (Windows) or Command+C (Mac), switch to the new sheet, and paste it. Repeat this for each unique column. Once you have copied all the columns you need, you can delete the original sheet by right-clicking its tab at the bottom and selecting "Delete Sheet".

This method takes longer if you only have a few duplicates, but it is faster and safer if you have many columns to sort through. You also end up with a cleaner spreadsheet because you can arrange the columns in the order you prefer as you copy them over.

Using formulas to find duplicates automatically

If you want Excel to highlight duplicate columns for you instead of searching manually, you can use a formula approach. This works best if your data has headers in the first row.

In a blank row below your data, type a formula that counts how many times each header appears. Use the COUNTIF function: type =COUNTIF($1:$1,A1) in a cell in row 2 (or the first blank row after your data), then copy this formula across all columns. Any column header that shows a count higher than 1 is a duplicate. You can then delete the extra copies manually. This method is more work than simply scrolling, but it is useful if you have a very large spreadsheet and want to be certain you catch every duplicate.

Frequently Asked Questions

Can I delete multiple columns at once?

Yes. Hold Ctrl (Windows) or Command (Mac) and click on each column letter you want to delete. All selected columns will turn blue. Then right-click and select "Delete". All selected columns will disappear at once. Make sure you have selected only the columns you want to remove, because this action cannot be undone if you close the file without saving.

What happens to my formulas if I delete a column?

If other cells in your spreadsheet contain formulas that reference the deleted column, those formulas will show an error (usually #REF!). Before deleting a column, search for any formulas that use it. Press Ctrl+H and search for the column letter in formulas — for example, search for "=A" to find formulas referencing column A. Update or delete those formulas before removing the column.

How do I know if columns have the same data but in a different order?

Columns with the same data in a different order are not true duplicates — they contain different information because the order matters. Only delete columns if the data appears in the exact same sequence. If you are unsure, sort both columns the same way and compare them again.

Can I recover a deleted column after I close the file?

No. Once you close the file without saving, the deleted column is gone permanently. Always save your file only after you are certain all deletions are correct. If you are nervous about losing data, save a copy of the original file before you start deleting columns.