Excel Charts - three methods for filtering Chart Data
Posted on: 02/26/2021
Filtering data in Excel charts is easy to do. The method you use should be based on the amount of data you have. In this video, I show three methods of filtering chart data. Method 1 is using Chart Filters. This is the easiest method. Method 2 is using Filters and creating a chart. Method 3 is using a Table and Filters. Methods 2 and 3 work great with large data sets. Method 1 is great for a small set of data. I also show Transpose data and how to keep a chart from moving or disappearing when you filter your data.
YouTube Video on filtering charts
Related Excel chart articles
-
Three tips for getting started with Excel Charts
Charts in Microsoft Excel are easy. This short video shows three tips for creating charts. I'll cover two keyboard shortcuts for making charts, using Recommend Charts, and creating charts using Quick Analysis.
Method 1 - Using Chart Filters
This is the easiest method for filtering charts. The drawback is it works great for small sets of data. But when you have a large group of data. There is no option when you get into the chart filters to select a range of data.
For example, if you had 30 employees listed and only wanted to filter by 20 employees, you would have to uncheck 10 employees and then click apply. That's just a lot of clicking. Using the Shift key for selecting a range does not work.
Steps to use Chart Filters
-
Select your data to chart.
-
Click the Insert tab, and select the chart you want to use. I used a column chart (2d) in the video.
-
After the chart is added to the worksheet, click Chart Filters.
-
Uncheck the data you do not want to see in the chart.
-
Click Apply.
Excel Time articles
-
Excel: Covert decimal hours Excel's hours & minutes (8.25 to 8:15)
I'm frequently asked how do I change decimal hours to Excel's hour and minute format. A couple examples: 7.75 need to show as 7:45, and 30.25 needs to show as 30:15. The solution is to divide by 24 hours. The formula is hours/24.
-
Working with Time in Microsoft Excel | Time Functions and Conversion
Do you need to add or subtract time in Excel? Some time calculations are easy, but depending on how the time is entered, you may need to use the TIME function or formula to add or subtract time. For example, if you have 9am in B2, and in cell C2, you have 3, for three hours, you can't add them with B2+C2 and get the correct answer without the TIME function.
Method 2 - Filter the data and let the chart change
Filtering your data is a great way to handle chart filters with a lot of data. When you filter the data, the chart will change. One issue we're going to have to address is making sure the chart stays on the screen. When you filter, you get hidden rows, and occasionally, the chart will be in those hidden rows.
Steps to use Data Filters to change the chart
-
Click inside your data range.
-
Click the Data tab, and turn on Filters by clicking Filters. Your header row will have drop down arrows.
-
Create a chart by going to Insert tab and selecting a columns chart.
-
Now filter your data using the drop down arrows in the data. Don't use the Chart Filters.
Note: to keep your chart from moving or resizing, see the next section.
Keep Chart from moving or resizing
When you filter your data, your chart could get hidden with the rows that get hidden. To keep your chart always visible when filtering data, turn on Chart Properties - Don't size or move with cells.
-
Create your chart.
-
Righ-click in the chart and select Format Chart Area...
-
Select Size and Properties
-
Expand properties.
-
Select Don't move or size with cells.
Method 3 - Filter the data using a Table and let the chart change
Using a Table is similar to Method 2, using a range, but you have advantages with tables over ranges. When you change your range to a Table and add data, the chart automatically updates. With a range, you will have to change the data source.
To create a table
-
Click inside your data and use CTRL + T or use the Home tab, Format as Table
Chris Menard
Chris Menard is a Microsoft Trainer (MCT) and works as a full-time Trainer at BakerHostetler - one of the largest law firms in the US. Chris runs a YouTube channel with 900+ technology videos that cover various tools such as Excel, Word, Zoom, Teams, Gmail, Copilot, Google Calendar, and Outlook. To date, the channel has helped over 20 million viewers.
Menard also does 2 to 3 public speaking events yearly, presenting at the Administrative Professional Conference (APC), the EA Ignite Conference, the University of Georgia, and CPA conferences. You can connect with him on LinkedIn at https://chrismenardtraining.com/linkedin or watch his videos on YouTube at https://chrismenardtraining.com/youtube.
Categories