How to Create A Pareto Chart 

Do you want to put a Pare­to chart in Excel? I will show you how.

How to Cre­ate A Pare­to Chart 

If you want to put a chart on which you have columns that rep­re­sent income and a line that rep­re­sents the cumu­la­tive per­cent income, fol­low me. 

From Excel 2016, you can sim­ply go to the Insert tab and choose the Pare­to chart from the His­togram com­mand (Fig. 1)

Inserting a Pareto chart
Fig. 1 Insert­ing a Pare­to chart

And you have the Pare­to chart ready. How­ev­er, the charts from Excel 2016 have some draw­backs. The line isn’t an actu­al series of the chart. It means that we can­not add data labels there. That’s why I don’t pre­fer using this type of chart. What I pre­fer is the ear­li­er ver­sion that gives me more free­dom con­cern­ing val­ue chang­ing, although it requires more cal­cu­la­tions. We have to cal­cu­late the cumu­la­tive per­cent income on our own (Fig. 2)

=SUM(B$2:$B2)/SUM($B$2:$B$9)

Cumulative percent calculations
Fig. 2 Cumu­la­tive per­cent calculations

Now, we can insert a sim­ple col­umn chart. Since the income is enor­mous­ly big­ger that the per­cent­age, we aren’t able to see the income columns at all, but we want to select them (Fig. 3). How can we do it?

No % Income columns
Fig. 3 No % Income columns

We can select our chart and go to the For­mat tab. On the left we can see all ele­ments of the chart. We are inter­est­ed in the Series “% Income” option (Fig. 4)

Series "% Income"
Fig. 4 Series “% Income”

We can see now that the series is select­ed on the chart. Let’s press Ctrl + 1 and go to For­mat Data Series, Series Options, Plot Series On, and select the Sec­ondary Axis option. Now we have % income on a dif­fer­ent axis (Fig. 5)

Secondary Axis options
Fig. 5 Sec­ondary Axis options

Now, we can change the chart type into a chart that will rep­re­sent income bet­ter. We have to click on the chart ele­ment once, then go to the Insert tab and the Line chart with Mark­ers option (Fig. 6)

Line Chart with Markers
Fig. 6 Line Chart with Markers

Since we are cre­at­ing a Pare­to chart our­selves, the val­ues aren’t sort­ed and we have to do it man­u­al­ly. We just select one cell in our data, then go to the Data tab and choose the from Z to A option (Fig. 7)

 Data sorting
Fig. 7 Data sorting

Now the data on the chart is nice­ly sort­ed and it looks more like a Pare­to chart. We still have to add mod­i­fi­ca­tions to make it a real Pare­to chart. First of all, let’s select a col­umn and press Ctrl + 1. On the right, we have the Gap Width option. Let’s slide it to 0%. Now, let’s go to the sec­ondary axis. It goes up to 120%, how­ev­er our max­i­mum is 100% (Fig. 8)

Gap Width modification
Fig. 8 Gap Width modification

We have to select the axis, press Ctrl + 1, go to Axis Options and write 1 in the Max­i­mum bar, which equals 100%. We also change our Major Units to 0.2 which means that there will be less per­cent num­bers showed on the axis (Fig. 9)

Less percent numbers
Fig. 9 Less per­cent numbers 

We still don’t need the 0 after dot in our per­cent­ages, so let’s go to Num­bers and change the For­mat Code from 0.0% to 0% and click Add (Fig. 10)

Format Code change
Fig. 10 For­mat Code change

Now, let’s go to the Income For­mat Axis. Press the axis and Ctrl + 1. Let’s change the Major from 100000 to 200000. This way the chart will show less num­bers (Fig. 11)

Less numbers
Fig. 11 Less numbers

What I care about the most right now are data labels for the line. Let’s click once on the line, click on the plus sign and we have Data Labels option. Let’s place them above our line (Fig. 12)

Data Labels
Fig. 12 Data Labels

We still need to set a prop­er title. Let’s just write Pare­to. After imple­ment­ing the most impor­tant changes, the Pare­to chart looks like that (Fig. 13)

Finished Pareto chart
Fig. 13 Fin­ished Pare­to chart

https://www.youtube.com/watch?v=wL2yeXCeL2Y

Chart Secondary Axis

Today, we are going to talk about putting two dif­fer­ent series into one chart.

Sec­ondary Axis on Excel Chart Tem­per­a­ture and rainfall

If you have two series that dif­fer from each oth­er, e.g. they have dif­fer­ent units or one of them is much big­ger than the oth­er, then you should use the Sec­ondary Axis on you chart. How can you do it? From Excel 2013 the task is sim­ple as Microsoft insert­ed the Com­bo chart. Our exam­ple has sim­ple data, so we just have to click on one cell, then go to the Insert tab, where we can find a Com­bo chart with the Sec­ondary Axis (Fig. 1)

Combo chart with secondary axis
Fig. 1 Com­bo chart with sec­ondary axis

I can see that not every­thing is as I want­ed, that’s why I’m going to make some changes. I just select the chart and go to the Chart Design tab, where I can find the Change Chart Type option. In the win­dow that appeared, we change the type of each series. The rain­fall is on the sec­ondary axis, which is good, how­ev­er, I pre­fer the rain­fall to be pre­sent­ed as a col­umn chart, and I will put the tem­per­a­ture into a line chart with mark­ers (Fig. 2)

Column chart and line chart with markers
Fig. 2 Col­umn chart and line chart with markers

After press­ing OK, we can see a fin­ished chart with two val­ues (Fig. 3)

A finished chart with two values
Fig. 3 A fin­ished chart with two values

But, how can we do it in Excel from before 2013? Let’s insert a sim­ple col­umn chart by going to the Insert tab, then choos­ing the prop­er col­umn chart (Fig. 4)

Column chart
Fig. 4 Col­umn chart

As our val­ues dif­fer much in size, where the rain­fall is sig­nif­i­cant­ly big­ger than the tem­per­a­ture, I would like to have the rain­fall series on a sec­ondary axis. I have to select the hole series by click­ing once on the series ele­ment, then press Ctrl + 1, find the series option, go to Plot Series On, and choose Sec­ondary Axis (Fig. 5)

Series options
Fig. 5 Series options

And, just like that we have a dif­fer­ent axis for rain­fall, and a dif­fer­ent axis for tem­per­a­ture. There is still one thing we need to change, which is the type of tem­per­a­ture series, because now one series is behind the oth­er and we don’t know how high some columns are. Let’s click one time on the series and go to the Insert tab, where we can choose a new chart type. Let’s choose the Line with Mark­ers option (Fig. 6)

Line chart with markers
Fig. 6 Line chart with markers

Just like that, I have a chart with a sec­ondary axis and dif­fer­ent chart types. Let’s change the name of the chart into Tem­per­a­ture and rain. The chart is fin­ished (Fig. 7)

Finished chart
Fig. 7 Fin­ished chart

https://www.youtube.com/watch?v=L7K2_jejIHg

Population Pyramid Chart

Some­times, we need to insert a pop­u­la­tion pyra­mid in Excel or a chart com­par­ing two values. 

Pop­u­la­tion Pyra­mid Chart

One part of the chart is on the left, while the oth­er is on the right. In order to cre­ate some­thing like pop­u­la­tion pyra­mid we have to insert a prop­er chart. I’m using data from Poland as I’m an Excel lover from Poland. We have to have one part of neg­a­tive val­ues, which will go to the left side of the chart. If you want to do it, you have to write ‑1 in one cell, then copy it and select all val­ues where we want to change the sign, then use the Paste Spe­cial option (or use the Alt + Ctrl + V short­cut). In the Paste Spe­cial win­dow, select the Val­ues radio but­ton and the Mul­ti­ply radio but­ton in the Oper­a­tion sec­tion. It means that we will be mul­ti­ply­ing ‑1 by the select­ed val­ues (Fig. 1)

Paste Special window
Fig. 1 Paste Spe­cial window

Now, we have neg­a­tives and pos­i­tives, which is the left and the right side of our chart. We can insert the chart. Let’s select one cell and go to the Insert tab and find the Clus­tered Bar option (Fig. 2)

Clustered Bar option
Fig. 2 Clus­tered Bar option

The chart that appeared isn’t good enough for us. The first mod­i­fi­ca­tion we want to imple­ment is chang­ing the title. Let’s write ‘Pop­u­la­tion Pyra­mid’ (Fig. 3)

Chart Title change
Fig. 3 Chart Title change

I also want to mod­i­fy bars. Let’s click on them, then press Ctrl +1. For­mat Data Series win­dow will appear where we have to select 100% in the Series Over­lap sec­tion and set the Gap Width to 10% (Fig. 4)

Series Overlap and Gap Width options
Fig. 4 Series Over­lap and Gap Width options

Now, the bars are larg­er. The next thing is the Ver­ti­cal Axis. Click Ctrl + 1 short­cut and go to the Labels tab. Set the Label Posi­tion to Low which, in our case, is the left side. In the Spec­i­fy inter­val unit let’s leave 1 (Fig. 5) 

Label Position and Specify Interval Unit options
Fig. 5 Label Posi­tion and Spec­i­fy Inter­val Unit options

Now, the chart looks much bet­ter, but I don’t like the ver­ti­cal lines here. Let’s click it and press the Delete key (Fig. 6)

Vertical lines not needed
Fig. 6 Ver­ti­cal lines not needed

The next thing we want to change is the hor­i­zon­tal axis where we have per­son val­ues. It means that we don’t need any neg­a­tive val­ues. We have to select it, press Ctrl + 1, then in the For­mat Axis win­dow, we need to go to the Num­bers bar. In the For­mat Code bar, we need to repeat the per­cent code for the neg­a­tive val­ues. Let’s add a semi­colon, then write 0.00% with­out any minus sign. Then, we click on the Add but­ton (Fig. 7)

Format Code bar
Fig. 7 For­mat Code bar

Now, we have pos­i­tive val­ues on the left and on the right side of the chart. What I’m still miss­ing is Data Labels. We have to press the plus sign and select the Data Labels check­box (Fig. 8)

Adding Data Labels
Fig. 8 Adding Data Labels

We can see that the label font is too big. Let’s make it small­er by select­ing the labels and chang­ing the font size on the rib­bon (Fig. 9)

Changing the font size
Fig. 9 Chang­ing the font size

There is still one more thing we need to change. There are minus signs on the left side of the chart. So, let’s press the Ctrl + 1 short­cut and go to the For­mat Data Labels win­dow. We have to open the Num­ber tab and write the per­cent­age once again. We sep­a­rate the per­cent­ages with a semi­colon, so that the per­cent­age from the left side cor­re­sponds to the left part of the chart, and the right cor­re­sponds to the right part. Then, we press Add (Fig. 10)

Two percentages
Fig. 10 Two percentages

In the end, I want to change the posi­tion of the leg­end. Let’s select the leg­end and press Ctrl + 1. We can see many options con­cern­ing the posi­tion of the leg­end (Fig. 11)

Legend Positions
Fig. 11 Leg­end Positions

How­ev­er, I want to change the posi­tion man­u­al­ly. Let’s drag it to the right and change its size. We can also change the size of the bars. There are many more mod­i­fi­ca­tions that you can imple­ment. My Pop­u­la­tion Pyra­mid is fin­ished and looks as fol­lows (Fig. 12)

 Finished Population Pyramid
Fig. 12 Fin­ished Pop­u­la­tion Pyramid

https://www.youtube.com/watch?v=fRnzw4LV18c

Running Total in Pivot Table

Some­times, you need to cre­ate a run­ning total in piv­ot tables. How to do it properly?

Run­ning Total in Piv­ot Table

Let’s start with cre­at­ing a piv­ot table. Select one cell from our data and go to the Insert tab and select the Piv­ot Table com­mand. A Piv­ot table from table or range win­dow will appear, where we have our range. We need to select the Exist­ing work­sheet radio but­ton and write the loca­tion, which, in our case, will be cell F1. Let’s click the OK but­ton (Fig. 1).

Creating a pivot table
Fig. 1 Cre­at­ing a piv­ot table

And there we have it. In our piv­ot table we need to drag the Date to the Rows labels. 

Dragging the date
Fig. 2 Drag­ging the date

Now, depend­ing on the Excel ver­sion, we have an option of Group by dates. I’m going to group our date by months and years (Fig. 3).

Grouping
Fig. 3 Grouping 

We have our table. Now, I want to add Income so let’s press the Income check­box (Fig. 4). 

 Income checkbox
Fig. 4 Income checkbox

Now, I want to have the income and the run­ning total for the income, so let’s drag the Income two times to the Val­ues area. We can see that we have Sum of Income and Sum of Income 2, where we actu­al­ly want to have our run­ning total (Fig. 5). 

Income and Income 2
Fig. 5 Income and Income 2

Let’s right click any val­ue from Income 2, then select the Show Val­ues as and then the Run­ning Total In option (Fig. 6). 

Selecting the Running Total option
Fig. 6 Select­ing the Run­ning Total option

Now, we have to decide whether we want to base our run­ning total on Date or Years Field. Let’s take Date (Fig. 7).

 Date Field
Fig. 7 Date Field

Now, we can see that in the Income 2 col­umn we have big­ger num­bers. Let’s for­mat them by press­ing any cell in the col­umn and choos­ing the Num­ber For­mat option (Fig. 8). 

Number Format option
Fig. 8 Num­ber For­mat option

In the For­mat Cell win­dow, let’s choose the Cur­ren­cy cat­e­go­ry, in Dec­i­mal places let’s write 0 and press the OK but­ton. Let’s do the same in the Sum of Income col­umn (Fig. 9). 

 Format cell window
Fig. 9 For­mat cell window

Now, we can see that we are work­ing with mon­ey. In each month we have big­ger and big­ger num­bers which means that we have the run­ning total in this col­umn. We can change the name of Sum of Income 2 into Run­ning Total. Since we are using the Date Field as our ref­er­ence point, we have the run­ning total in 2020. In 2021 Excel counts from the start, which means that we have the run­ning total only for 2021. The same is with 2022. If we change the Date field into the Years field in the Show Val­ues as (Run­ning Total) win­dow, we will have the same val­ue in the first year and in the Sum of Income col­umn (Fig. 10).

Years
Fig. 10 Years

How­ev­er, in the next year, we have the the sum from Jan­u­ary 2021 and Jan­u­ary 2020. In Feb­ru­ary, we have the sum from Feb­ru­ary 2021 and 2020. In 2022, we have sums from three Feb­ru­ar­ies (Fig. 11).

Sums from three Ferbuaries
Fig. 11 Sums from three Ferbuaries

Let’s drag Man­ag­er into the columns head­er (Fig. 12).

Dragging Manager into headers
Fig. 12 Drag­ging Man­ag­er into headers

By doing so, we can show val­ue from the Man­ager’s per­spec­tive, which means a hor­i­zon­tal view. 

Horizontal view
Fig. 13 Hor­i­zon­tal view

How­ev­er, this type of data isn’t a prop­er one to show it this way, so let’s get back by press­ing Ctrl + Z two times and see that we can also cre­ate a per­cent run­ning total by going to the % Run­ning Total In option and choose the Date Field (Fig. 14). 

Percentage Running Total
Fig. 14 Per­cent­age Run­ning Total

Now, we can see the val­ues as per­cent­age (Fig. 15). 

Results
Fig. 15 Results

https://www.youtube.com/watch?v=ikou6toX11g

Sparklines Chart in cell | Excel Tips 30

If we want to show our data trend, we can use line charts, how­ev­er they are usu­al­ly large. If we want some­thing sim­ple and small, like a chart in a cell, we can use Sparklines.

Sparklines Chart in cell

All we have to do is to select one emp­ty cell, then go to the Insert tab, then go to Sparklines and select the Line Sparkline option. What we will get is a Cre­ate Sparkline win­dow, where we have to select a a prop­er range and check if loca­tion is good.(Fig. 1). 

 Creating a sparkline
Fig. 1 Cre­at­ing a sparkline

After press­ing OK and drag­ging it down, we have trends for oth­er coun­tries (Fig. 2). 

Ready trends
Fig. 2 Ready trends

If we want to add some mark­ers, we have to open the Mark­er Col­or bar and choose prop­er options (Fig. 3). 

Adding markers
Fig. 3 Adding markers

After adding mark­ers, spar­lines look as fol­lows. If we want to make them big­ger, we have two options. We can sim­ply enlarge the cells or we can merge a few cells using the Merge & Cen­ter option from the Insert tab (Fig. 4).

Cell merging
Fig. 4 Cell merging

Let’s insert a col­umn sparkline there (Fig. 5). 

Inserting a column sparkline
Fig. 5 Insert­ing a col­umn sparkline

I per­son­al­ly don’t like it too much (Fig. 6). 

Columns
Fig. 6 Columns

Let’s change it to line chart again (Fig. 7). 

Lines
Fig. 7 Lines

https://www.youtube.com/watch?v=MpOwtENWIzA