Excel is a very useful software to represent data using tables and charts. It is a handy tool to arrange data and charts in ascending or descending order to enhance the appearance of the presentation. In this article, we will show you four easy methods to sort a bar chart in descending order in Excel.
Download Practice Workbook
Download this practice workbook to exercise while reading this article.
4 Suitable Ways to Sort Bar Chart in Descending Order in Excel
In this article, we will demonstrate four suitable ways to sort a bar chart in descending order in Excel. We will use the following dataset for this purpose. The dataset contains two columns named Student Name and Test Score. A bar chart is inserted using these two columns.
1. Sort Bar Chart Using Sort Tool
In the first method, we will use the Sort Tool to sort a bar chart in descending order in Excel. Read the following steps to learn how to do it.
Steps:
- First of all, select all the data from both columns, and then, from the Data tab, go to,
Data → Sort & Filter → Sort
- As a result, the Sort dialogue box will appear.
- In the box, check the box beside My data has headers.
- Then choose Test Score in the Sort by option.
- After that, choose Smallest to Largest in Order option since we want the largest bar on the top and the smallest one on the bottom of our chart.
- Finally, click OK and you will find your bar chart sorted in descending order.
Read More: How to Sort Bar Chart Without Sorting Data in Excel (with Easy Steps)
2. Insert Pivot Table to Sort Bar Chart in Reverse Order
In this method, we will first insert a pivot table and then sort it. The steps to do so are discussed in the following section.
Steps:
- First, select both Student Name and Test Score columns, and then, from the Insert tab, go to,
Insert → PivotTables → PivotTable → From Table/Range
- As a result, a new dialogue box will pop up.
- Select Existing Worksheet and choose a Location.
- Once you click OK, the Pivot Table Fields panel will open.
- Check both Student Name and Test Score from there and drag them under the Rows field.
- Then go to the pivot table and click on the dropdown beside Row Labels.
- After that, select Sort Smallest to Largest and click OK.
- Now’s time to insert the bar chart. To do so, click on the Insert tab and go to,
Insert → Charts → Insert Column or Bar Chart → Clustered Bar
- Hence, You will have your bar chart arranged in descending order.
Read More: How to Plot Stacked Bar Chart from Excel Pivot Table (2 Examples)
Similar Readings
- How to Make a Bar Graph with Multiple Variables in Excel
- Make a Grouped Bar Chart in Excel (With Easy Steps)
- How to Make a Percentage Bar Graph in Excel (5 Methods)
- Combine Two Bar Graphs in Excel (5 Ways)
- Difference Between Excel Histogram and Bar Graph
3. Use Categories in Reverse Order Option
This method only works if the data in the table is sorted from largest to smallest. The procedure for this method is discussed below.
Steps:
- First of all, right-click on the vertical axis of the bar chart and select Format Axis.
- Then, from the Axis Options, check the box of Categories in reverse order.
- Consequently, you will see that the bar chart is arranged in descending order.
Read More: Reverse Legend Order of Stacked Bar Chart in Excel (With Quick Steps)
4. Apply Formula to Sort Bar Chart in Descending Order in Excel
Now we will use the SORTBY, FILTER, and VLOOKUP functions to sort a bar chart in descending order in Excel. Keep reading to learn the steps.
Steps:
- First, add three new columns named Selection, Sorted Name, and Sorted Score.
- Next, fill the Selection column with the value 1.
- Then select cell E5 and write down the following formula, and press Enter.
=SORTBY(FILTER(B5:B10,D5:D10=1),FILTER(C5:C10,D5:D10=1),1)
- After that, select cell F5 and type the formula given below.
=VLOOKUP(E5#,B5:C10,2,FALSE)
- Then click OK.
- Now, to insert the bar chart, click on the Insert tab and go to,
Insert → Charts → Insert Column or Bar Chart → Clustered Bar
- Finally, you will get your bar chart in descending order.
- The second method only works if the data is already arranged in descending order.
- While sorting data, the test scores are sorted from Smallest to Largest as we want the largest bar on the top and the smallest bar on the bottom.
Read More: How to Create a Bar Chart in Excel with Multiple Bars (3 Ways)
Conclusion
Thanks for making it this far. I hope you find this article useful. Now you know four easy ways to sort a bar chart in descending order in Excel. Please let us know if you have any further queries, and feel free to give us any recommendations in the comment section below.
Related Articles
- How to Create Stacked Bar Chart with Line in Excel (2 Suitable Examples)
- Make a Bar Graph in Excel with 4 Variables (with Easy Steps)
- How to Make a Diverging Stacked Bar Chart in Excel (with Easy Steps)
- Excel Stacked Bar Chart with Subcategories (2 Examples)
- How to Show Difference Between Two Series in Excel Bar Chart (2 Ways)
- Create Stacked and Clustered Bar Chart in Excel (with Easy Steps)
- Excel Bar Graph Color with Conditional Formatting (3 Suitable Examples)