Excel Charts Tables
Excel Charts Tables
• Charts are usually used to analyze trends and patterns in data sets.
• Suppose someone has been recording the sales figures in Excel for the
past three years.
• Using charts, he/she can easily tell which year had the most sales and
which year had the least.
• Can also draw charts to compare set targets against actual achievements.
Types of Excel charts
• Excel has several types of charts, allowing one to choose the one that best
fits their data.
• To help simplify things for the users, Excel has an option that analyses the
data and makes a recommendation of the chart type that should be used.
• Charts contain several elements, or parts, that can help one interpret data.
• Excel has a variety of chart types, each with its own advantages.
Column Chart/Graph
• The can work with many different types of data, but they are most frequently
used for comparing information.
• When we want to compare values across a few categories, the values run
vertically
Line Chart/Graph
• The data points are connected with lines making it easier to see whether values
are increasing or decreasing over time.
• When we want to visualize trends over a period of time i.e. months, days, years,
etc.
Pie Chart
• Each value is known as a slice of the pie, so its easy to see which values make
up the percentage of the whole.
• Bar charts work just like column charts, but they use horizontal rather than vertical
bars.
• When we want to compare values across a few categories, the values run horizontally.
• The bar charts plots the variable value horizontally, and the fixed dimension such as
time, vertically.
• A column chart plots the variable value vertically, and the fixed dimension horizontally.
Area Chart
• Area charts are similar to line charts, except the areas under the lines are
filled.
Surface Chart
• Surface charts allow to display data across 3D landscape.
• They work best with large data sets, allowing us to see a variety of information at the
same time.
Combo Chart
• Can be a combination of two column charts, two line graphs, or a column chart
and a line graph.
• Can make a combo chart with a single dataset or with two datasets that share
a common string field.
• Combo charts can answer questions about the data, such as: What are the
trends for the same categories?
The importance of charts
Vertical Axis
• The vertical axis (also known as the y axis) is the vertical part of the chart.
Horizontal Axis
• The horizontal axis (also known as the x axis) is the horizontal part of the
chart.
• In the figure, as can be seen in the legend, the yellow columns represent net
sales in February.
Legend
• The legend identifies which data series each color on the chart represents.
• In the figure, the legend identifies the different months in the chart.
Creating charts in Excel
• Select the cells you want to chart, including the column titles and row
labels.
• From the Insert tab, click the desired Chart command. In our example, we'll
select Column.
• ****If not sure which type of chart to use, the Recommended Charts
command will suggest several charts based on the source data.
Chart and layout style
• After inserting a chart, there are several things we may want to change about the way the data is
displayed.
• It's easy to edit a chart's layout and style from the Design tab.
• Excel allows to add chart elements—including chart titles, legends, and data labels—to make
the chart easier to read.
• To add a chart element, click the Add Chart Element command on the Design tab, then choose
the desired element from the drop-down menu.
• To edit a chart element, like a chart title, simply double-click
the placeholder and begin typing.
• If we don't want to add chart elements individually, we can use one of Excel's
predefined layouts.
• Simply click the Quick Layout command under the design tab, then choose
the desired layout from the drop-down menu.
• Excel also includes several chart styles, which allow us to quickly modify the
look and feel of the chart.
• To change the chart style, select the desired style from the Chart
styles group.
• Can also click the drop-down arrow on the right to see more styles.
• Can also use the chart formatting shortcut buttons to quickly add chart
elements, change the chart style, and filter chart data.
Other chart options
• For example, Excel allows to rearrange a chart's data, change the chart
type, and even move the chart to a different location in a workbook.
• Sometimes we may want to change the way charts group the data.
• For instance, in the following chart Book Sales data is grouped by genre,
with columns for each month.
• However, we could switch the rows and columns so the chart will group the
data by month, with columns for each genre.
• In both cases, the chart contains the same data—it's just organized
differently.
1.Select the chart you want to modify.
2.From the Design tab, select
the Switch Row/Column command.
3.The rows and columns will
be switched.
4.In our example, the data is now
grouped by month, with columns for each
Changing the chart type
• If we find that the data isn't working well in a certain chart, it's easy to switch
to a new chart type.
• In the given example, we'll change the chart from a column chart to a line
chart.
• From the Design tab, click the Change Chart Type command.
• Can easily move the chart to a new worksheet to help keep the data
organized.
• Click the Design tab, then select the Move Chart command.
• In the example, we choose to move it to a New sheet, which will create a new
worksheet.
• By default, when we add more data to the spreadsheet, the chart may not
include the new data.
• Simply click the chart, and it will highlight the data range in the spreadsheet.
• Can then click and drag the handle in the lower-right corner to change the
data range.
• If we frequently add more data to the spreadsheet, it may become tedious to
update the data range.
• Luckily, there is an easier way, simply format the source data as a table, then
create a chart based on that table.
• When we add more data below the table, it will automatically be included in
both the table and the chart, keeping everything consistent and up to date.
Excel Tables
• When we have a lot of data, it can sometimes be difficult to analyze all of the information in the
worksheet.
• PivotTables can help make the worksheets more manageable by summarizing data and
allowing to manipulate it in different ways.
• There will be times when we will be required to analyze large amounts of data and produce
easy to read and understand reports.
• Pivot tables allow us to analyze such data and produce reports that meet our business reporting
requirements.
• A Pivot Table is a summary of a large dataset that usually includes the total figures, average,
minimum, maximum, etc.
• Say we have a sales data for different regions, with a pivot table, we can summarize the data
• Consider the example below.
• Let's say we wanted to answer the question What is the amount sold by each
salesperson?
• We could use the Subtotal command to help find the total for each salesperson, but
we would still have a lot of data to work with.
• Fortunately, a PivotTable can instantly calculate and summarize the data in
a way that will make it much easier to read.
• We'll use Table1 as our source data and place the PivotTable in a new
worksheet.
• Or click on the select table/range button and a mini window will follow.
• Click in starting cell address, press Ctrl + A on the keyboard to select all the data
cells
• In the PivotTable Fields list, check the box for each field to add.
• Using the example, we want to know the total amount sold by each salesperson, so we'll check
the Salesperson and Order Amount fields.
• The selected fields will be added to one of the four areas below.
• In our example, the Salesperson field has been added to the Rows area, while Order
Amount has been added to Values.
• can also drag and drop fields directly into the desired area.
The PivotTable will calculate and
summarize the selected fields.
In the example, the PivotTable
shows the amount sold by each
salesperson.
• Just like with normal spreadsheets, can sort the data in a PivotTable using
the Sort & Filter command on the Home tab.
• Also notice the drop down button next to Rows Labels. This button allows us to
sort/filter our data.
• If we change any of the data in your source worksheet, the PivotTable will not
update automatically.
• To manually update it, select the PivotTable and then go to Analyze >
Refresh.
2-Dimensional pivot tables
• A two-dimensional pivot table is a table that has fields on both rows and columns.
• Say we want to list employee names as rows and use columns to represent customer
names and fill in the cells with the total sales.
• Select all the data. Excel should now remember the previous range so you just have to
click on OK button
• Excel will create the charts for as we create the pivot tables, change
aggregate functions, apply filters, etc.
Pivoting data
• One of the best things about PivotTables is that they can quickly pivot—or
reorganize—the data, allowing us to examine our worksheet in several ways.
To add columns
• To show multiple columns, we'll need to add a field to the Columns area.
• Drag a field from the Field List into the Columns area as shown (using the
The PivotTable will include multiple columns.
In the previous example, there is now a
column for each person's monthly sales, in
addition to the grand total.
To change a row or column
• Changing a row or column can give a completely different perspective on the data.
• All we have to do is remove the field in question, then replace it with another.
• Can create graphs to visualize data, use formulas to calculate conversion rates, or
even create social media calendars.
• Sparklines are charts in individual cells that provide visual representations of trends
in the sheet data.
• They are miniature, condensed charts that provide a quick visual representation of
data trends and patterns within a single cell in Microsoft Excel.
• These tiny graphs allow to analyze data at a glance, without the need to create full-
sized charts.
• Sparklines are an excellent tool for displaying data in a compact and easy-to-read
format, making them particularly useful for dashboards, reports, and presentations.
• For example, if we track month-over-month progress, a sparkline can show
how each month compares to the other.
• A win-loss sparkline chart is a graph that displays only two outcomes - either
positive or negative values.
• Note that the win-loss sparkline won't indicate the size of the values on the
chart.
• In the Win-Loss chart below, we visualize four data points, it's evident that all,
except for the second data point, have a positive value.
Inserting Sparklines in Excel
• Go to the Insert tab.
• Click on the OK button, the sparkline is now added to the selected cell.
Customize the Sparkline
• To format the sparkline, select the sparkline to format and then select
the Sparkline option on the menu bar as shown in the picture below:
• Negative Points: Marks the negative points in the graph with a different color which is illustrated in the
figure below:
Using Style submenu
• In the style submenu, we can select the style of the sparkline, many options
are available ( different variety of colors ).
• We can also set the color of the sparkline and marker color using Sparkline
Color and Marker Color options.
• In the Axis section, there are many options by which we can reformat the
sparkline.
• One of the options is Plot Data Right-to-Left, in this case, the data is plotted
on the sparkline from the rightmost data to the leftmost data.
• In the given figures, the first figure shows the data plotted from left to right
and the second figure shows the same data plotted from right to left.
Group, Ungroup, and Clear Sparklines
• In simple words, you can treat all the sparklines as having the same
characteristics and applying style on any one of them, styles all the other
sparklines in that group.
• If we change the color of one sparkline, all the other sparklines get affected.
• Ungroup: Ungroup option reverses the effects done by the Group option, it
again makes the sparklines as different entities.
• Clear: This option can clear/delete the selected sparkline or the selected
sparkline group( all the sparklines in that group ).
Edit the Dataset of Existing Sparklines
• Editing the dataset of existing sparklines in Excel is a simple process that allows to modify the data
• Select the Sparklines: First, click on the sparkline to edit. Excel will highlight the selected
• Access the Edit Data Option: Next, go to the “Design” tab in the Excel ribbon. In the
• Choose the Editing Option: Click on the “Edit Data” drop-down menu to reveal the following
options:
• Select this option when you have grouped multiple sparklines, and want to change the data for the
entire group.
• Grouping Sparklines is a useful feature for managing and updating multiple Sparklin
simultaneously.
Edit Single Sparkline’s Data
• Choose this option to change the data for the selected sparkling only.
• This is helpful when we have individual sparklines with unique data that we
want to modify independently.
Hidden and Empty Cells
• When working with the line sparklines in a dataset that contains empty cells, may
observe that the sparkline displays a gap to indicate the absence of data in those
cells.
• This gap can sometimes disrupt the continuity of the sparkline and affect data
visualization.
• However, Excel provides effective ways to handle hidden and empty cells within
sparklines, ensuring a smooth and acute representation of data trends.
• By default, Excel considers hidden cells in sparklines, leading to gaps in the line
when data is hidden.
• To overcome this, can instruct Excel to ignore hidden cells while creating
sparklines.
• Click the cell that has the sparkline.
• Can also change the Sparkline type – from line to column or vice-versa
• It is not possible to delete a sparkline by selecting the cell and hitting the delete key.
• Select the cell that has the sparkline that you want to delete.