How to Delete Infinite Columns in Excel (4 Methods)

Actually, Excel doesn’t have infinite columns. Excel 2007 and all the newer versions have 16384 columns in total. The number is so huge for most of the uses of Excel, that the number of columns seems infinite. When you are working with a smaller dataset, these huge numbers of unused columns are absolutely unnecessary, and you may want to remove these columns from your spreadsheet. In this article, I’ll show you 4 simple and easy ways to delete infinite columns in Excel.

Suppose, you have the following dataset where you’ve used the columns up to column number E. Now, you want to remove the infinite number of columns starting from column G from your Excel sheet.

dataset


Download Practice Workbook


4 Methods to Delete Infinite Columns in Excel

1. Delete Infinite Columns from Context Menu

We can use the Excel context menu for deleting infinite columns. To delete infinite columns from the context menu, first,

➤ Select the first column from where you want to delete infinite columns by clicking on the column number (i.e. column G).

selecting columns

Now,

➤ Press CTRL+SHIFT+ RIGHT ARROW to select all the columns right to your selected column.

As a result, Excel will display the columns at the right end of your sheet and the area will be marked with gray color.

infinite columns

At this point,

➤ Right click on any of the column header.

As a result, a context menu will appear.

➤ Select Delete from this context menu.

context menu

As a result, the display will automatically return at the beginning of the sheet. You will see now there is not an infinite number of columns. The last column number of your Excel datasheet is AA. That means now your Excel spreadsheet has only 27 columns.

how to delete infinite columns in excel

You will find your existing dataset at the beginning of your Excel sheet.

dataset

Read More: How to Delete Multiple Columns in Excel


2. Remove Infinite Columns by Hiding

You can remove infinite columns by hiding all the unused columns. Let’s see how to do that. First,

➤ Select the first column from where you want to remove infinite columns by clicking on the column number (i.e. column G).

how to delete infinite columns in excel

Now,

➤ Press CTRL+SHIFT+ RIGHT ARROW to select all the columns right to your selected column.

As a result, Excel will display the columns at the end of your sheet and the area will be marked with gray color.

how to delete infinite columns in excel

Now,

➤ Go to Home > Cells > Format > Hide & Unhide and select Hide Columns.

hide

As a result, all the selected columns will be hidden. So, now you will see only the used columns in your Excel sheet.

how to delete infinite columns in excel

Read More: VBA Macro to Delete Columns Based on Criteria in Excel (8 Examples)


Similar Readings:


3. Delete Infinite Columns by Unselecting Necessary Columns

Instead of selecting the unused columns, you can select all the columns and then unselect the used columns to delete the infinite columns. First,

➤ Click on the little sign at the top left corner of your Excel sheet where the row numbers and the column number meet.

It will select all the columns of your dataset.

how to delete infinite columns in excel

Now,

➤ Unselect the columns which you don’t want to delete by pressing CTRL and clicking on the column number.

Therefore, you’ll only have unnecessary infinite columns selected.

delete all unused col.umns

At this step,

➤ Right click on any of the column headers of the selected columns.

As a result, a context menu will appear.

➤ Select Delete from this context menu.

As a result, the infinite columns will be deleted. Now, you will see the last column number of your Excel datasheet is AA. That means now your Excel spreadsheet has only 27 columns.

how to delete infinite columns in excel

You may think still there are a number of unused columns but compared to the infinite number 27 is way less than that.

Read More: VBA to Delete Column in Excel (9 Criteria)


4. Remove Infinite Heights of the Columns

Each of the columns has 1,048,576 cells in it. Most of the time you will use only a few cells of each column. Now, I’ll show you how you can remove the infinite heights of the columns. To do that you will need to delete the infinite rows from your datasheet. First.

➤ Select the first row from where you want to delete the infinite height of the columns by clicking on the row number (i.e. row 18).

how to delete infinite columns in excel

➤ Press CTRL+SHIFT+ DOWN ARROW to select all the columns at the bottom of your selected row.

As a result, Excel will display the rows at the bottom of your sheet and the area will be marked with gray color.

how to delete infinite columns in excel

Now,

➤ Right click on any of the row numbers.

As a result, a context menu will appear.

➤ Select Delete from this context menu.

how to delete infinite columns in excel

As a result, the display will automatically return at the beginning of the sheet. You will see now that the columns don’t have infinite heights.

how to delete infinite columns in excel

The last row number of your Excel datasheet is 31. That means now your Excel spreadsheet has only 31 cells in each column.

how to delete infinite columns in excel

Though it’s not the conventional way of deleting columns, still removing the row height may have an impact on the infinite columns.

Read More: How to Delete Columns without Losing Formula in Excel (3 Easy Steps)


Conclusion

By following any of the above described methods you’ll know how to delete infinite columns in Excel. Method 2 which is removing columns by hiding will allow you to have a neat and clean datasheet. Method 1 and 3 will delete the infinite columns and you’ll have only a limited number of columns in your Excel datasheet. By following method 4 you will be able to reduce the height of the columns of your Excel worksheet.


Related Articles

Prantick

Prantick

Hi, I'm Prantick Bala, currently working and doing research on Microsoft Excel in Softeko.com. I have completed BSc in Naval Architecture and Marine Engineering From Bangladesh University of Engineering and Technology (BUET). Currently I am in the last semester of my MBA at Institute of Business Administration (IBA), Dhaka University (DU). I'm always eager to learn through experience and have a deep interest in solving problem to get optimum solution.

We will be happy to hear your thoughts

Leave a reply

ExcelDemy
Logo