How to Create a Bar Chart for Comparing Data in Excel?
Last Updated :
29 Feb, 2024
Excel is powerful data visualization and data management tool which can be used to store, analyze, and create reports on large data. It can be used to visualize data using a graph plot. In excel we can plot different kinds of graphs like line graphs, bar graphs, etc. to visualize or analyze the trend. Let's learn how to plot a bar chart for comparing data in excel.
Bar Chart for Comparing Data in Excel
Bar graph value is represented using the bars. It is used to compare items side-by-side. Column chart and bar chart is almost same, the only difference is in column chart bar is represented vertically while it is represented horizontally in bar graph. We can easily plot a line chart in excel, following the below steps, For the purpose of demonstration we will compare the sales of three different products over the given years:

Step 1: Select the cell containing product data.

Step 2: Select 'Insert' Tab from the top ribbon and select the bar chart.

Bar chart

we can see that each product is shown with different colors. From the graph we can easily visualize and compare the sales for different years. For example, highest sales is of product C (grey) in year 2022.
Steps to make changes in graph
Step 1: Click on chart title (Sales in above graph)
Step 2: Chart format menu will open, make desired changes.

For example, change the chart title.

Output

You can see that the chart title is changed now.
Bar chart from pivot table
Suppose we have following table given below, and we want to compare the total expenditure by each individual buyer:

Steps to create pivot table
Step 1: Select the data and then select pivot table from insert tab.

Step 2: Select the 'expenditure by buyer' option and then select existing sheet option if you want your pivot table to be present in the same sheet.

Step 3: Give the cell value where you want to place the pivot table and then select Insert.

Step 4: Pivot table will get created.

Using this pivot now, we can create line chart. To create line chart follow the steps:
Step 1: Select the pivot table

Step 2: Click on Insert tab and select bar chart option.

Output

From this chart we can compare the total expenditure by each individual. For example, Rohit jha the maximum expenditure.
Similar Reads
How to Create a Line Chart for Comparing Data in Excel? Excel is powerful data visualization and data management tool which can be used to store, analyze, and create reports on large data. It can be used to visualize data using a graph plot. In excel, we can plot different kinds of graphs like line graphs, bar graphs, etc., to visualize or analyze the tr
2 min read
How to Create a Column Chart for Comparing Data in Excel? Excel is powerful data visualization and data management tool which can be used to store, analyze, and create reports on large data. It can be used to visualize and compare data using a graph plot. In excel we can plot different kinds of graphs like line graphs, bar graphs, etc. to visualize or anal
2 min read
How to Create Combination Charts for Comparing Data in Excel? Excel is powerful data visualization and data management tool which can be used to store, analyze, and create reports on large data. It can be used to visualize and compare data using a graph plot. In excel we can plot different kinds of graphs like line graphs, bar graphs, etc. to visualize or anal
2 min read
How to Create a Bar Chart in Excel? To learn how to create a Column and Bar chart in Excel, let's use a simple example of marks secured by some students in Science and Maths that we want to show in a chart format. Note that a column chart is one that presents our data in vertical columns. A bar graph is extremely similar in terms of t
4 min read
How to Create a Gauge Chart in Excel? Gauge chart is also known as a speedometer or dial chart, which use a pointer to show the readings on a dial. It is just like a speedometer with a needle, where the needle tells you a number by pointing it out on the gauge chart with different ranges. It is a Single point chart that tracks a single
2 min read
How to Create a Step Chart in Excel A step chart is used to represent data that changes irregularly between time intervals. Now, Excel doesn't have a feature to create a Step Chart like the one shown below but we can create one by making some changes in our data. What is a Step Chart in ExcelA Step chart is the same as a Line Chart. T
4 min read