To create a chart, you need to select at least one cell in a range of data (a set of cells). Do one of the following:
-
If your chart data is in a continuous range of cells, select any cell in that range. Your chart will include all the data in the range.
-
If your data isn’t in a continuous range, select nonadjacent cells or ranges. Just make sure your selection forms a rectangle.
Tip: If you don’t want to include specific rows or columns of data in a chart, you can simply hide them on the worksheet, or you can apply chart filters to show the data points you want after you create the chart.
Arrange data for charts
Excel can recommend charts for you. The charts it suggests depend on how you’ve arranged the data in your worksheet. You also may have your own charts in mind. Either way, this table lists the best ways to arrange your data for a given chart.
For this chart |
Arrange the data |
---|---|
Column, bar, line, area, surface, or radar chart Learn more abut column, bar, line, area, surface, and radar charts. |
In columns or rows.
|
Pie chart This chart uses one set of values (called a data series). Learn more about pie charts. |
In one column or row, and one column or row of labels.
|
Doughnut chart This chart can use one or more data series. Learn more about doughnut charts. |
In one or multiple columns or rows of data, and one column or row of labels.
|
XY (scatter) or bubble chart Learn more about XY (scatter) charts and bubble charts. |
In columns, placing your x values in the first column and your y values in the next column.
For bubble charts, add a third column to specify the size of the bubbles it shows, to represent the data points in the data series.
|
Stock chart Learn more about stock charts. |
In columns or rows, using a combination of opening, high, low, and closing values, plus names or dates as labels in the right order.
|
See Also
Create a chart
Available chart types
Add a data series to your chart
Add or remove a secondary axis in a chart in Excel
Change the data series in a chart
To create a chart in Excel for the web, you need to select at least one cell in a range of data (a set of cells). Your chart will include all data in that range.
Arrange data for charts
This table lists the best ways to arrange your data for a given chart.
For this chart |
Arrange the data |
---|---|
Column, bar, line, area, or radar chart |
In columns or rows, like this:
|
Pie chart This chart uses one set of values (called a data series). |
In one column or row, and one column or row of labels, like this:
|
Doughnut chart This chart can use one or more data series |
In multiple columns or rows of data, and one column or row of labels, like this:
|
Scatter chart |
In columns, placing your x values in the first column and your y values in the next column, like this:
|
For more information about any of these charts, see Available chart types.
After you input your data and select the cell range, you’re ready to choose the chart type. In this example, we’ll create a clustered column chart from the data we used in the previous section.
Step 1: Select Chart Type
Once your data is highlighted in the Workbook, click the Insert tab on the top banner. About halfway across the toolbar is a section with several chart options. Excel provides Recommended Charts based on popularity, but you can click any of the dropdown menus to select a different template.
Step 2: Create Your Chart
- From the Insert tab, click the column chart icon and select Clustered Column.
- Excel will automatically create a clustered chart column from your selected data. The chart will appear in the center of your workbook.
- To name your chart, double click the Chart Title text in the chart and type a title. We’ll call this chart “Product Profit 2013 — 2017.”
We’ll use this chart for the rest of the walkthrough. You can download this same chart to follow along.
Download Sample Column Chart Template
There are two tabs on the toolbar that you will use to make adjustments to your chart: Chart Design and Format. Excel automatically applies design, layout, and format presets to charts and graphs, but you can add customization by exploring the tabs. Next, we’ll walk you through all the available adjustments in Chart Design.
Step 3: Add Chart Elements
Adding chart elements to your chart or graph will enhance it by clarifying data or providing additional context. You can select a chart element by clicking on the Add Chart Element dropdown menu in the top left-hand corner (beneath the Home tab).
To Display or Hide Axes:
- Select Axes. Excel will automatically pull the column and row headers from your selected cell range to display both horizontal and vertical axes on your chart (Under Axes, there is a check mark next to Primary Horizontal and Primary Vertical.)
- Uncheck these options to remove the display axis on your chart. In this example, clicking Primary Horizontal will remove the year labels on the horizontal axis of your chart.
- Click More Axis Options… from the Axes dropdown menu to open a window with additional formatting and text options such as adding tick marks, labels, or numbers, or to change text color and size.
To Add Axis Titles:
- Click Add Chart Element and click Axis Titles from the dropdown menu. Excel will not automatically add axis titles to your chart; therefore, both Primary Horizontal and Primary Vertical will be unchecked.
- To create axis titles, click Primary Horizontal or Primary Vertical and a text box will appear on the chart. We clicked both in this example. Type your axis titles. In this example, the we added the titles “Year” (horizontal) and “Profit” (vertical).
To Remove or Move Chart Title:
- Click Add Chart Element and click Chart Title. You will see four options: None, Above Chart, Centered Overlay, and More Title Options.
- Click None to remove chart title.
- Click Above Chart to place the title above the chart. If you create a chart title, Excel will automatically place it above the chart.
- Click Centered Overlay to place the title within the gridlines of the chart. Be careful with this option: you don’t want the title to cover any of your data or clutter your graph (as in the example below).
To Add Data Labels:
- Click Add Chart Element and click Data Labels. There are six options for data labels: None (default), Center, Inside End, Inside Base, Outside End, and More Data Label Title Options.
- The four placement options will add specific labels to each data point measured in your chart. Click the option you want. This customization can be helpful if you have a small amount of precise data, or if you have a lot of extra space in your chart. For a clustered column chart, however, adding data labels will likely look too cluttered. For example, here is what selecting Center data labels looks like:
To Add a Data Table:
- Click Add Chart Element and click Data Table. There are three pre-formatted options along with an extended menu that can be found by clicking More Data Table Options:
Note: If you choose to include a data table, you’ll probably want to make your chart larger to accommodate the table. Simply click the corner of your chart and use drag-and-drop to resize your chart.
To Add Error Bars:
- Click Add Chart Element and click Error Bars. In addition to More Error Bars Options, there are four options: None (default), Standard Error, 5% (Percentage), and Standard Deviation. Adding error bars provide a visual representation of the potential error in the shown data, based on different standard equations for isolating error.
- For example, when we click Standard Error from the options we get a chart that looks like the image below.
To Add Gridlines:
- Click Add Chart Element and click Gridlines. In addition to More Grid Line Options, there are four options: Primary Major Horizontal, Primary Major Vertical, Primary Minor Horizontal, and Primary Minor Vertical. For a column chart, Excel will add Primary Major Horizontal gridlines by default.
- You can select as many different gridlines as you want by clicking the options. For example, here is what our chart looks like when we click all four gridline options.
To Add a Legend:
- Click Add Chart Element and click Legend. In addition to More Legend Options, there are five options for legend placement: None, Right, Top, Left, and Bottom.
- Legend placement will depend on the style and format of your chart. Check the option that looks best on your chart. Here is our chart when we click the Right legend placement.
To Add Lines: Lines are not available for clustered column charts. However, in other chart types where you only compare two variables, you can add lines (e.g. target, average, reference, etc.) to your chart by checking the appropriate option.
To Add a Trendline:
- Click Add Chart Element and click Trendline. In addition to More Trendline Options, there are five options: None (default), Linear, Exponential, Linear Forecast, and Moving Average. Check the appropriate option for your data set. In this example, we will click Linear.
- Because we are comparing five different products over time, Excel creates a trendline for each individual product. To create a linear trendline for Product A, click Product A and click the blue OK button.
- The chart will now display a dotted trendline to represent the linear progression of Product A. Note that Excel has also added Linear (Product A) to the legend.
- To display the trendline equation on your chart, double click the trendline. A Format Trendline window will open on the right side of your screen. Click the box next to Display equation on chart at the bottom of the window. The equation now appears on your chart.
Note: You can create separate trendlines for as many variables in your chart as you like. For example, here is our chart with trendlines for Product A and Product C.
To Add Up/Down Bars: Up/Down Bars are not available for a column chart, but you can use them in a line chart to show increases and decreases among data points.
Step 4: Adjust Quick Layout
- The second dropdown menu on the toolbar is Quick Layout, which allows you to quickly change the layout of elements in your chart (titles, legend, clusters etc.).
- There are 11 quick layout options. Hover your cursor over the different options for an explanation and click the one you want to apply.
Step 5: Change Colors
The next dropdown menu in the toolbar is Change Colors. Click the icon and choose the color palette that fits your needs (these needs could be aesthetic, or to match your brand’s colors and style).
Step 6: Change Style
For cluster column charts, there are 14 chart styles available. Excel will default to Style 1, but you can select any of the other styles to change the chart appearance. Use the arrow on the right of the image bar to view other options.
Step 7: Switch Row/Column
- Click the Switch Row/Column on the toolbar to flip the axes. Note: It is not always intuitive to flip axes for every chart, for example, if you have more than two variables.
In this example, switching the row and column swaps the product and year (profit remains on the y-axis). The chart is now clustered by product (not year), and the color-coded legend refers to the year (not product). To avoid confusion here, click on the legend and change the titles from Series to Years.
Step 8: Select Data
- Click the Select Data icon on the toolbar to change the range of your data.
- A window will open. Type the cell range you want and click the OK button. The chart will automatically update to reflect this new data range.
Step 9: Change Chart Type
- Click the Change Chart Type dropdown menu.
- Here you can change your chart type to any of the nine chart categories that Excel offers. Of course, make sure that your data is appropriate for the chart type you choose.
-
You can also save your chart as a template by clicking Save as Template…
- A dialogue box will open where you can name your template. Excel will automatically create a folder for your templates for easy organization. Click the blue Save button.
Step 10: Move Chart
- Click the Move Chart icon on the far right of the toolbar.
- A dialogue box appears where you can choose where to place your chart. You can either create a new sheet with this chart (New sheet) or place this chart as an object in another sheet (Object in). Click the blue OK button.
Step 11: Change Formatting
- The Format tab allows you to change formatting of all elements and text in the chart, including colors, size, shape, fill, and alignment, and the ability to insert shapes. Click the Format tab and use the shortcuts available to create a chart that reflects your organization’s brand (colors, images, etc.).
- Click the dropdown menu on the top left side of the toolbar and click the chart element you are editing.
Step 12: Delete a Chart
To delete a chart, simply click on it and click the Delete key on your keyboard.
Any information is easier to perceive when it’s represented in a visual form. It’s particularly relevant for numeric data that needs to be compared. In this case, charts are the optimal variant of representation. We will work in Excel.
Moreover, we will learn to create dynamic charts and graphs, which are updated automatically when you change the data. The link at the end of the article will allow you to download a sample template.
How to build a chart off a table in Excel?
- Create a table with the data.
- Select the range of values A1:B5 that need to be presented as a chart. Go to the «INSERT» tab and choose the type.
- Click «Insert Column Chart» (as an example; you may choose a different type). Select one of the suggested bar charts.
- After you choose your bar chart type, it will be generated automatically.
- Such a variant isn’t exactly what we need, so let’s modify it. Double-click on the bar chart’s title and enter «Total Amounts».
- Add the vertical axis title. Go to «CHART TOOLS» — «DESIGN» — «Add Element» — «Axis Titles» — «Primary Vertical». Select the vertical axis and its title type.
- Enter «AMOUNT».
- Change the color and style. Choose a different style number 9.
- Specify the sums by giving titles to the bars. Go to the «DESIGN» tab, select «Data Labels» and the desired position.
Done!
As a result, we have a stylish presentation of the data in Excel.
How to add data in an Excel chart?
- Add new values to the table – the «Plan» column.
- Select the new range of values, including the heading. Copy it to the clipboard (by pressing Ctrl+C). Select the existing chart and paste the fragment (by pressing Ctrl+V).
- As it’s not entirely clear where the figures in our bar chart come from, let’s create the legend. Go to «DESIGN» — «Legend» — «Right». This is the result:
There is a more complicated way of adding new data into the existing graph through the «DESIGN» «Select Data» menu (open it by right-clicking and selecting «Select Data»).
After you click «Add» (legend elements), there will open the row for selecting the range of values.
How to reverse axes in an Excel chart?
In the menu you’ve opened, click the «DESIGN»-«Switch/Column» button.
The values for rows and categories will swap around automatically.
How to lock controls in an Excel chart?
If you need to add new data in the bar chart very often, it’s not convenient to change the range every time. The optimal variant is to create a dynamic chart that will update automatically. To lock the controls, let’s transform the data range into a «Smart Table».
- Select the range of values A1:C5 and click «Format as Table» on «HOME» tab.
- Select any style in the drop-down menu. The program suggests you select the range for the table – agree with the suggested variant. The values for the graph will appear as follows:
- As soon as you begin to enter new information in the table, the chart will also change. It has become dynamic:
We have learned how to create a «Smart Table» off the existing data. If the spreadsheet is blank, start off with entering the values in the table: «INSERT» — «Table».
How to build a percentage chart in Excel?
Pie charts are the best option for representing percentage information.
The input data for our sample chart:
- Select the range A1:B8. «INSERT» — «Insert Pie or Doughnut Chart» — «3D-Pie».
- Go to the tab «DESIGN» — «Styles». Among the suggested options, there are styles that include percentages. Choose the suitable 9.
- The small percentage sectors are visible poorly. To highlight them, let’s create a secondary chart. Select the pie. Go to the tab «DESIGN» — «Change Chart Type». Select a pie with a secondary graph.
- The automatically generated option does not fulfill the task. Right-click on any sector. The dots designating the boundaries will become visible. Click «Format Data Series». Enter the following row parameters:
- We have obtained the desired variant:
Gantt chart in Excel
The Gantt chart is way of representing information in the form of bars to illustrate a multi-stage event. It’s a simple yet impressive trick.
- We have a (dummy) table containing the deadlines for different reports.
- To create a chart, insert a column containing the number of days (column C). Fill it in with the help of Excel formulas.
- Select the range to contain the Gantt chart (E3:BF12). That is, the cells to be filled with a color between the beginning and end dates.
- Open the «Conditional Formatting» menu (on the «HOME» tab). Select «New Rule» — «Use a formula to determine which cells to format».
- Enter the formula of the following type: =AND(E$2>=$B3,E$2<=$D3). Excel uses the operator «И» to compare the date in the current cell with the beginning and end dates. Then, click «Format» and select the fill color.
When you need to build a presentable financial report, it’s better to use the graphical data representation tools.
A simple Gantt graph is ready. You can also download the template with a sample:
Download all examples
If the information is represented in a graphical way, it’s perceived visually much quicker and more efficiently than texts and numbers. It makes it easier to conduct an analytic analysis. It makes the situation clearer – both the whole picture and particular details.
Charts and graphs were specifically developed in Excel for fulfilling such tasks.
How to Make Charts or Graphs in Excel?
Steps in making graphs in Excel:
- Numerical Data: The first thing required in your Excel is numerical data. Charts or graphs can only be built using numerical data sets.
- Data Headings: These are often called data labels. The headings of each column should be understandable and readable.
- Data in Proper Order: It is very important how the data looks in Excel. If the information to build a chart is bits and pieces, we might find it difficult to construct a chart. So arrange the data properly.
Table of contents
- How to Make Charts or Graphs in Excel?
- Examples (Step by Step)
- Example #1
- Example #2
- Things to Remember
- Recommended Articles
- Examples (Step by Step)
Examples (Step by Step)
Below are some examples of how to make charts in Excel.
You can download this Make Chart Excel Template here – Make Chart Excel Template
Example #1
Assume we have passed six years of sales data. We want to show them in visuals or graphs.
- First, we must select the date range we are using for a graph.
- Then, go to the “INSERT” tab > under the “Charts” section, and select the “COLUMN” chart. We can see many other types under the “Column” chart but prefer the first one.
- As soon as we have selected the chart, we can see the below chart in Excel.
- It is not the finished product yet. We need to make some arrangements here. So, we must select the blue-colored bars and press the “Delete” button. Else, right-click on bars and choose “Delete.”
- Now, we do not know which bar represents which year. So, right-click on the chart and select “Select Data.”
- In the below window, we must click on “EDIT,” which is on the right-hand side.
- After we click on the “EDIT option,” we will see a small dialog box below. It will ask to select the “Horizontal Axis Labels.” So, choose the “Year” column.
- Now, we have the “Year” name below each bar.
- After that, change the heading or title of the chart as per the requirement by double-clicking on the existing header.
- Add “Data Labels” for each bar. The “Data Labels” are each bar’s numbers to convey the message perfectly. Right-click on the column bars and select “Add Data Labels.”
- Change the color of the column bars to different colors. Next, select the bars and press “Ctrl + 1.” We may see the format chart dialog box on the right-hand side.
- Now, go to the “FILL” option, and select the option “Vary colors by point.”
Now, we have a neatly arranged chart in front of us.
Example #2
We have seen how to create a graph with auto-selection of the data range. Next, we will show you how to build an Excel chart with a manual data selection.
- Step 1: First, we must place the cursor in the empty cell and click on the “Insert Chart.”
- Step 2: After we click on the “Insert Chart,” we can see a blank chart.
- Step 3: Right-click on the chart and choose the “Select Data” option.
- Step 4: In the below window, click on “Add.”
- Step 5: In the below window, under “Series name,” select the heading of the data series, and under the “Series values,” select data series values.
- Step 6: Now, the default chart is ready.
Now, we must apply the steps shown in the previous example to modify the chart. Next, refer to steps 5 to 12 to alter the chart.
Things to Remember
- For the same data, we can insert all types of charts. It is important to identify a suitable chart.
- If the data is smaller, it is easy to plot a graph without any hurdles.
- In the case of percentage data, we must select the PIE chartMaking a pie chart in excel can help you with the pictorial representation of your data and simplifies the analysis process. There are multiple kinds of pie chart options available on excel to serve the varying user needs.read more.
- We must try using different charts for the same data to identify the best fit chart for the data set.
Recommended Articles
This article is a guide to Making Charts in Excel. Here, we discuss how to make charts or graphs in Excel, practical examples, and a downloadable Excel template. You may learn more about Excel from the following articles: –
- Organization Chart in Excel
- Examples of Line Chart in Excel
- Excel Chart Templates
- 8 Types of Charts in Excel
- Infographics in Excel
Reader Interactions
Home / Excel Charts / Interactive Charts
A chart is a perfect tool to present data in an understandable way. But sometimes it sucks because we overload it with data. Yes, you heard it right.
I believe that when it comes to charts it should be neat and clean and the best solution to this problem is using interactive charts. By using interactive charts in Excel, you can present more data in a single chart, and you don’t even have to worry about all that clutter.
It’s a smart way. Look at the below chart where I am trying to show target vs. achievement, profit, and market share.
Do you think this is a decent way to present it? Of course not. And now check out this, where have an interactive chart which I can control with option buttons.
What do you think? Are you ready to create your first interactive chart in Excel?
Steps to Make an Interactive Chart in Excel
In today’s post, I’m going to show you the exact steps which you need to follow to create a simple interactive chart in Excel. Please download this file from here to follow along.
1. Prepare Data
- First of all, copy this table and paste it below the original table.
- Now, delete the data from the second table.
- In the Jan month cell of target and achievement, insert the following formulas and copy those formulas into the entire row (Formula Bar).
=IF($A$1=1,B3,NA())
- After that, into the Jan month of profit and copy it into the entire row.
- In the end, Jan month of market share copy it into the entire row.
Your interactive data table is ready.
All the cells in this table are linked with A1. And when you enter “1” in the A1 table will show you data for target and achievement only. For “2” it will show profit and market share for “3”.
2. Insert Option Buttons
- Go to developer tab ➜ Control ➜ Insert ➜ Option button.
- Insert three option buttons and name them as following.
- Button-1 = TGT Vs. ACH
- Button-2 = Profit
- Button-3 = Market Share
- After that, right-click on any of the buttons and select “format control”.
- In format control options, link it to the cell A1 and click OK.
- Now, you can control your data with these option buttons.
3. Insert Secondary Axis Chart
- First of all, select your table and insert a column chart.
- After that, select your data bars & click on “change chart type”. Go to Design Tab ➜ Design ➜ Change Chart Type.
- Now for profit and market share, change the chart type to the line with markers and tick the secondary axis for both.
Congratulations! your interactive chart is ready to rock. You can also make some formatting changes to your chart if you want.
Sample File
Download this sample file from here to learn more.
Conclusion
In the end, I just want to say that with an interactive chart you can help your user to focus on one thing at a time.
And you can save a lot of space in the dashboards as well. Sometimes you feel that it’s a lengthy process but it’s a one-time setup that can save you a lot of time. I hope this tip will help you to get better at charting, but now, tell me one thing.
What kind of interactive charts do you use? Share with me in the comment section, I’d love to hear from you, and please don’t forget to share this tip with your friends, I’m sure they will appreciate it.
More Charting Tutorials
- How to Add a Horizontal Line in a Chart in Excel
- How to Add a Vertical Line in a Chart in Excel
- How to Create a Bullet Chart in Excel
- How to Create a Dynamic Chart Range in Excel
- How to Create a Dynamic Chart Title in Excel
- How to Create a Sales Funnel Chart in Excel
- How to Create a HEAT MAP in Excel
- How to Create a HISTOGRAM in Excel
- How to Create a Pictograph in Excel
- How to Create a Milestone Chart in Excel
- How to Insert a People Graph in Excel
- How to Create PIVOT CHART in Excel
- How to Create a Population Pyramid Chart in Excel
- How to Create a SPEEDOMETER Chart [Gauge] in Excel
- How to Create a Step Chart in Excel
- How to Create a Thermometer Chart in Excel
- How to Create a Tornado Chart in Excel
- How to Create Waffle Chart in Excel