# How to Create a Cumulative Sum Chart in Excel (With Example)

This tutorial provides a step-by-step example of how to create the following cumulative sum chart in Excel:

Let’s jump in!

### Step 1: Enter the Data

First, let’s create the following dataset that shows the total sales of some item during each month in a year:

### Step 2: Calculate the Cumulative Sum

Next, we’ll use the following formula to calculate the cumulative sum of sales:

```=SUM(\$B\$2:B2)
```

We can type this formula into cell C2 and then copy and paste it to every remaining cell in column C:

### Step 3: Create Bar Chart with Average Line

Next, highlight the cell range A1:C13, then click the Insert tab along the top ribbon, then click Clustered Column within the Charts group.

The following chart will be created:

Next, right click anywhere on the chart and then click Change Chart Type:

In the new window that appears, click Combo and then click OK:

The chart will be converted into a bar chart with a line:

The blue bars represent the sales each month and the orange line represents the cumulative sales.

### Step 4: Customize the Chart (Optional)

Feel free to add a title, customize the colors, customize the line style, and adjust the width of the bars to make the plot more aesthetically pleasing: