How to Insert Column without Affecting Formulas in Excel (2 Ways)

When dealing with a huge data set, it is possible to overlook any data in a column. If you put a column between the data set at that moment, the cell references of the entire worksheet will change. So, in this tutorial, we will show you how to insert a column without affecting formulas in Excel.


Insert Column without Affecting Formulas in Excel: 2 Effective Ways

In the image below, we have provided a data set, where we will count the Total Sales from the year 2015 to 2020 for different months. But we have missed including the Sales for the year 2016. So, we need to insert a column in between the data sets. To do so, we will go through 2 approaches by applying the INDIRECT function, and the INDEX function.

Sample Data


1. Apply INDIRECT Function to Insert Column without Affecting Formulas in Excel

In the following section, we will count the total value by applying the SUM function. Additionally, we will insert the INDIRECT function nested with the SUM function as the cell references remain intact. To accomplish the task, follow the simple steps below.

Step 1: Use the INDIRECT Function

  • Firstly, insert the following formula of the INDIRECT function with the SUM function to sum the range C5 to G5.
=SUM(INDIRECT("C5:G5"))

Effective Ways to Insert Column without Affecting Formulas in Excel


Step 2: Apply the INDIRECT Function in Each Cell in a Column

  • Apply the same function according to the cell references for each cell.
  • Therefore, the Total column will appear as shown in the image below.

Effective Ways to Insert Column without Affecting Formulas in Excel


Step 3: Select a Column

  • Click on the D to select the entire column.

Effective Ways to Insert Column without Affecting Formulas in Excel


Step 4: Insert a Column

  • Then, right-click the mouse.
  • Click on Insert.

Effective Ways to Insert Column without Affecting Formulas in Excel


  • As a result, you will be able to insert a new column to the left and your newly added column will show like the image below.
  • Besides, the formula in cell I5 remains unchanged.

Effective Ways to Insert Column without Affecting Formulas in Excel


Step 5: Final Result

  • Add the value for the year 2016 in the new column.
  • Therefore, it will still keep the formula in cell I5 and change the value according to the formula.

Effective Ways to Insert Column without Affecting Formulas in Excel

Read More: Insert a Column Between Every Other Column in Excel


2. Use INDEX Function to Insert Column without Affecting Formulas in Excel

By applying the INDEX function, we can achieve the same task as we did before inserting a column without affecting formulas. Follow, the simple task to apply the function.

Step 1: Insert the Array Argument of INDEX Function

  • To apply the INDEX function in the entire worksheet, use cells no. 1 to 65526 as an array with the following formula.
=SUM(INDEX($1:$65536,

Effective Ways to Insert Column without Affecting Formulas in Excel


Step 2: Enter the row_num Argument of the INDEX Function

  • Insert the row no. of the first reference cell C5 as 5.
=SUM(INDEX($1:$65536, 5

Effective Ways to Insert Column without Affecting Formulas in Excel


Step 3: Type the column_num Argument of the INDEX Function

  • Enter column_num as 3 for the reference cell C5.
=SUM(INDEX($1:$65536,5,3)

Effective Ways to Insert Column without Affecting Formulas in Excel


Step 4: Enter the Array Argument of INDEX Function

  • Similarly, write $1:$65536 to select the entire sheet.
=SUM(INDEX($1:$65536,5,3):INDEX($1:$65536,

Effective Ways to Insert Column without Affecting Formulas in Excel


Step 5: Write the row_num Argument of the INDEX Function

  • Type 5 as the row number for cell G5, as the second reference cell, row_num is 5.
=SUM(INDEX($1:$65536,5,3):INDEX($1:$65536,5

Effective Ways to Insert Column without Affecting Formulas in Excel


Step 6: Write the column_num Argument of the INDEX Function

  • Then, insert 7 as the column number of the second cell reference.
=SUM(INDEX($1:$65536,5,3):INDEX($1:$65536,5,7)

Effective Ways to Insert Column without Affecting Formulas in Excel


Step 7: Final Formula to Sum

  • Therefore, the formula becomes.
=SUM(INDEX($1:$65536,5,3):INDEX($1:$65536,5,7))

Effective Ways to Insert Column without Affecting Formulas in Excel


Step 8: Apply Formulas for Each Cell in the Column

  • Repeat the pattern for the other cell references with the following formula.

(For example cells C11 to G11)

=SUM(INDEX($1:$65536,11,3):INDEX($1:$65536,11,7))

Sample Data


Step 9: Select a Column

  • Now, click on the D to select the whole column.

Sample Data


Step 10: Insert a Column

  • Then, right-click the mouse and click on the Insert.

Sample Data

  • Therefore, your new column is added and the formula remains the same.

Sample Data

  • So, write anything in between the columns, that will adjust the value with keeping the formula.

Sample Data

Read More: Excel Fix: Insert Column Option Greyed out


Download Practice Workbook

Download this practice workbook to exercise while you are reading this article.


Conclusion

To conclude, I hope this article has given you some useful information about how to insert a column without affecting the formula in Excel. All of these procedures should be learned and applied to your dataset. Take a look at the practice workbook and put these skills to the test. We’re motivated to keep making tutorials like this because of your valuable support.

If you have any questions – Feel free to ask us. Also, feel free to leave comments in the section below.

Stay with us & keep learning.


Related Articles


<< Go Back to Insert Columns | Columns in Excel | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Bhubon Costa
Bhubon Costa

Bhubon Costa, B.Sc. in Naval Architecture & Marine Engineering from Bangladesh University of Engineering & Technology, has worked with the ExcelDemy since 2021. Currently, he has been working as a reviewer. Notably, he has written over 90 articles and led several VBA content development teams. He has a great passion for the fields of data analytics and data science. His areas of expertise include Excel VBA, Power Query, Pivot Table, Power BI, MySQL, PostgreSQL, machine learning, and Python... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo