How to Copy a SUM Formula in Excel – 6 Methods

This is the sample dataset.

6 Easy Ways to Copy SUM Formula in Excel


Method 1 – Utilize Copy and Paste Command

Steps:

  • Enter the formula in E5.
=SUM(C5:D5)

  • Press Enter to see the result.

  • Select E5 and right-click.

  • Choose Copy. You can also press Ctrl + C.

Utilizing Copy Command as An Easy Way to Copy SUM Formula in Excel

  • Select E6:E10 to see the result.

  • Right-click the selected cell range and select Paste. You can also press Ctrl + V .

Utilizing Paste Command as An Easy Way to Copy SUM Formula in Excel

This is the output.

Read More: How to Copy Exact Formula in Excel


Method 2 – Using Keyboard Shortcuts

2.1 Press CTRL + Enter

Steps:

  • Select E5:E10.
  • E5 becomes the active cell.

  • Enter the formula in E5.
=SUM(C5:D5)

  • Press Ctrl + Enter to copy the formula to the whole data range.

Showing Final Result for Pressing Ctrl + Enter Keys as An Easy Way to Copy SUM Formula in Excel


2.2 Press CTRL + D

Steps:

  • Enter the formula in E5.

  • Select E5:E10 and press Ctrl + D.

This will copy the formula to the lower cells.

Read More: How to Copy Formula Down with Shortcut in Excel


Method 3 – Using the AutoFill Feature

Steps:

  • Enter the formula in E5.

You will see a plus sign at the bottom right corner of the cell.

Implementing AutoFill Feature as An Easy Way to Copy SUM Formula in Excel

  • Drag the plus sign to the lower cells to fill them with the formula.

Read More: How to Copy a Formula in Excel with Changing Cell References


Method 4 – Copying the SUM Formula to Non-Adjacent Cells

Steps:

  • Enter the formula in E5.
  • Press Enter to see the result.

  • Select E5 and right-click.
  • Choose Copy.

  • Press Ctrl and left-click to select cells.

  • Right-click and press Paste.

  • This will copy the formula into non-adjacent cells.

Showing Final Result of Copying of SUM Formula to Non-Adjacent Cells as An Easy Way to Copy SUM Formula in Excel

Read More: How to Copy a Formula in Excel Without Changing Cell References


Method 5 – Insert an Excel Table to Copy the SUM Formula

Steps:

  • Select B5:E10.
  • Go to the Insert tab and in Tables, select Table.

  • Enter data in the Create Table dialog box and click OK.

  • Enter the formula in E5.
=SUM(Table1[@[Marks in Part 1]:[Marks in Part 2]])

Inserting Formula in An Excel Table as An Easy Way to Copy SUM Formula in Excel

  • Press Enter.

This will automatically fill E5:E10 with the formula.

Read More: How to Copy a Formula across Multiple Rows in Excel


Method 6 – Running a VBA Code

Steps:

  • Insert a result column beside the primary data set.
  • Go to the Developer tab.
  • In Code, select Visual Basic.

  • In Insert, select Module.

  • Copy the following code into the module.
Sub Copy_SUM_Formula()
Range("E5").Select
ActiveCell.FormulaR1C1 = "=SUM(RC[-2]:RC[-1])"
Range("E5").Select
Selection.AutoFill Destination:=Range("E5:E10"), Type:=xlFillDefault
Range("E5:E10").Select
End Sub

Writing a VBA Code as An Easy Way to Copy SUM Formula in Excel

VBA Breakdown

  • names the sub-procedure.
Sub Copy_SUM_Formula()
  • selects a cell and applies the SUM
Range("E5").Select
ActiveCell.FormulaR1C1 = "=SUM(RC[-2]:RC[-1])"
  • AutoFills the formula in the lower cell range.
Range("E5").Select
Selection.AutoFill Destination:=Range("E5:E10"), Type:=xlFillDefault
Range("E5:E10").Select
  • Save the code and press F5 or click Run to run the code.

This is the output.

Showing Final Result for Running A VBA Code as An Easy Way to Copy SUM Formula in Excel

Read More: How to Copy Formula to Entire Column in Excel


Download Practice Workbook

Download the free Excel workbook here.


 

Related Articles


<< Go Back to Copy Formula in Excel | Excel Formulas | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Md. Araf Bin Jayed
Md. Araf Bin Jayed

I am Araf. I have completed my B.Sc in Industrial and Production Engineering from Ahsanullah University of Science and Technology. Currently I am working as an Excel & VBA Content Developer in Softeko. With proper guideline and aid of Softeko I want to be a flexible data analyst. With my acquired knowledge and hard work, I want to contribute to the overall growth of this organization.

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo