Microsoft Office Development and Consultancy
 Home|

Excel

|VBA|C#|Finance|Tools|Newsletter|Feedback|Contact 
 Excel > Formulas > Automatic Formula Expansion< Previous | Next > 

 

Inserting in the Middle

 
 

Formulas are always automatically expanded when you insert new rows and columns inside existing formulas.

 
 

Inserting a row above row 5 (i.e. in the middle) will cause the SUM() formula to automatically expand.

 
   
 

The same is true when you have formulas that refer to columns and you insert new columns inside existing formulas.

 
   
 

In these situatios the formulas will always expand (automatically) and there is no option to turn this off.

 

 

Check your Options

 
 

When you insert rows (or columns) at the end of a formula range the formulas (by default) will be expanded automatically.

 
 

Formulas will only expand automatically when you insert rows (or columns) at the end of a formula range when the following option is selected.

 
 

Check your (Tools > Options)(Edit tab, Extend data range formats and formulas) to ensure that this tag will be displayed.

 
   

 

Expanding - Inserting at the End

 
 

Excel will automatically expand formulas at the end of a formula range if they refer to three or more consecutive rows or columns.

 
 

Inserting a row underneath March and entering a number into cell "C6" will cause the SUM() formula in cell "C7" to automatically expand.

 
 

The SUM() formula will only expand automatically if you enter numerical data into cell "C6".

 
   
 

Formulas will not be expanded automatically if you insert rows (or columns) at the start of a formula range.

 

 

Copying - Typing at the End

 
 

Excel will automatically copy formulas when you add new data to a table if the same formula appears in four or more consecutive rows or columns.

 
 

Typing May below the table and inserting numerical data into cells "C7", "D7" and "E7" will cause the formula in column "F" to be automatically copied to cell "F7".

 
   

 

Things to Remember

 
 
  • Formulas will not be automatically expanded when you insert rows (or columns) at the start of a formula range.

     
     
  • Formulas will not be automatically expanded (or copied) when you paste data from the clipboard.

     

     © Better Solutions Limited 10-May-2013< Previous | Top | Next >