Excel Dynamic Dashboards
Excel Dynamic Dashboards
Excel Dynamic Dashboards
[email protected]
Excel Dynamic Dashboards:
PivotTables, PivotCharts, and Slicers
1.0-hour Zoom Session / 1.5-hour Classroom
Build Dashboard 1 ............................................................................................................... 3
Create PivotChart ............................................................................................................ 3
PivotChart Filtered Title .................................................................................................. 5
Add Dynamic Shapes....................................................................................................... 6
Dashboard 1 - Completed ............................................................................................... 7
Build Dashboard 2 ............................................................................................................... 8
Create Pivot Tables ......................................................................................................... 8
Create Pivot Charts ......................................................................................................... 8
Insert Slicers .................................................................................................................. 10
Dashboard 2 - Completed ............................................................................................. 11
What are Slicers? (Excel Help File) .................................................................................... 12
Build Dashboard 3 ............................................................................................................. 14
Format as a Table .......................................................................................................... 14
Create Summary by Employee...................................................................................... 14
Create Summary Sparklines .......................................................................................... 15
Create a Pie Chart ......................................................................................................... 16
Create Summary by Fiscal Year ..................................................................................... 16
Conditional Formatting for the top/bottom value ....................................................... 16
Conditional Formatting with Icons ............................................................................... 17
Create Charts ................................................................................................................ 18
Format Charts to not Resize with Cells ......................................................................... 19
Dashboard 3 - Completed ............................................................................................. 20
Updated: 07/22/2022
Build Dashboard 1
Create PivotChart
When you create a PivotChart, Excel will create a
PivotTable to support the chart. I recommend
building the PivotTable before creating the chart.
1) Open File: DynDash-Sales.xlsx
2) From the Insert tab, choose PivotTable
- Click OK to make a new PivotTable based
on the current dataset on a new
worksheet.
3) Build the table
- Row: Items
- Column: Size
- Value: Sum Price
3
6) Add the field Color to the PivotChart's Legend area
4
PivotChart Filtered Title
1) Add the field Quarter to the PivotChart's
Filters area
4) Click anywhere in the chart. Look for the big plus sign in the
upper right-hand corner. Click on it and choose Chart Title.
5) Click on the newly created Chart Title. Do not type inside the
title, instead once it is selected click in the formula bar.
RESULT
5
Add Dynamic Shapes
1) Move Chart back to Sheet 1
- Option is the last button on the Design tab and can be found on the right-click menu
- If you don't see the Design and Format tabs in the ribbon, click on the chart again
7) Click on the Blue shape and in the Formula bar put =B17
- Or where your Color Red Total is in the worksheet
- Do not click in the cell this time, it needs to be the
address, not the PivotTable
9) You can format the Font and Alignment from the Home tab, but if you want the number to be
formatted you have to change the cell.
11) Change the Quarter filter and see the numbers change
6
Dashboard 1 - Completed
7
Build Dashboard 2
Create Pivot Tables
1) If needed, open the DynDash-Sales.xlsx file
4) Then use the PivotTable Tool Tabs to modify the look of the table.
5) Customize if desired
- Remove Field Headers (Analyze tab)
- Change Count of Item to # of Items by Color
6) Copy the # of Items by Color PivotTable and paste several columns over
- Paste in Cell J3
7) From the column headings, remove the Color and add Size
8
3) Resize both charts at once
- Use the Shift key to select both charts at the same time (select one, shift-click the other)
- Change the Height to 1.5", the Width to 3" (far right side of the Format tab)
- Align the charts to the top of each other (Format tab)
9
Insert Slicers
We can add a filter to each of the tables, but a Slicer can filter all three at
once.
4) Notice these values are not in our tables, but we can still use
the slicer to filter by the values we choose.
6) Check all three tables on the list for this worksheet and click OK
7) Repeat for the other Slicer, so both are tied to all three tables
10
Dashboard 2 - Completed
11
What are Slicers? (Excel Help File)
Slicers are easy-to-use filtering components that contain a set of buttons that enable you to quickly filter
the data in a PivotTable report, without the need to open drop-down lists to find the items that you
want to filter.
When you use a regular PivotTable report filter to filter on multiple items, the filter indicates only that
multiple items are filtered, and you have to open a drop-down list to find the filtering details. However,
a slicer clearly labels the filter that is applied and provides details so that you can easily understand the
data that is displayed in the filtered PivotTable report.
Using Slicers
To filter the PivotTable data, simply click one or more of the buttons in the slicer.
Page 12
Sharing slicers between PivotTables
When you have many different PivotTables in one report, such as a Business Intelligence (BI) report that
you are working with, it is likely that you will want to apply the same filter to some or all of those
PivotTables. You can share a slicer that you created in one PivotTable with other PivotTables. No need to
duplicate the filter for each PivotTable!
When you share a slicer, you are creating a connection to another PivotTable that contains the slicer that
you want to use. Any changes that you make to a shared slicer are immediately reflected in all PivotTables
that are connected to that slicer. For example, if you use a Country slicer in PivotTable1 to filter data for a
specific country, PivotTable2 that also uses that slicer will display data for the same country.
Format a slicer
1. Click the slicer that you want to format. This displays the Slicer Tools, adding an Options tab.
2. On the Options tab, in the Slicer Styles group, click the style that you want. To see all available styles,
click the More button .
Disconnect a slicer
1. Click anywhere in the PivotTable report for which you want to disconnect a slicer. This displays the
PivotTable Tools, adding an Options and a Design tab.
2. On the Options tab, in the Sort & Filter group, click the Insert Slicer arrow, and then click Slicer
Connections.
3. In the Slicer Connections dialog box, clear the check box of any PivotTable fields for which you want to
disconnect a slicer.
Delete a slicer
Click the slicer, and then press DELETE; or Right-click the slicer, and then click Remove <Name of slicer>.
Page 13
Build Dashboard 3
Format as a Table
1) Open File DynDash-Staff.xlsx
3) From the Home tab choose Format as Table and choose a style and click OK
Page 14
Create Summary Sparklines
1) Click in the cell next to Ann's Total
2) From the Insert tab, choose Column from the Sparkline group
8) Cut and paste your summary table above the data table
10) Select the Sparklines (columns) and the cells next to them
11) From the Home tab, open the Merge and Center menu and choose Merge Across
Page 15
Create a Pie Chart
1) Select the names and numbers from your summary table
2) Ignore the green triangles, Excel is concerned the formulas may be incorrect because they are
not following a pattern.
3) For a "Dynamic" interface, Use Find/Replace to fix formulas.
- Find SUM( replace with SUBTOTAL(9,
5) Add another conditional format for the Bottom 1 value, and format Light Red with Dark Red Text
Page 16
Conditional Formatting with Icons
1) In the cell next to Ann's FY 19-20 value, set an
equation to find the difference between the Fiscal
Year cells
- =Q2-P2
7) Check the box for Show Icon Only and change the Icon Style, if desired
Page 17
Create Charts
1) Create a column chart for the Summary by Fiscal Year
Page 18
Format Charts to not Resize with Cells
1) Use the Shift key to select all three charts
2) From the Format tab, click the "more" button in the bottom right side of the Size group
7) Change the filters in the original data table to see your values and charts change.
Page 19
Dashboard 3 - Completed
Source: https://media.news.health.ufl.edu/misc/training/Handouts/zoom/Excel/Excel-DynDashboards.pdf
Page 20