馃攳
馃搳 How to Build Excel Interactive Dashboards - YouTube
Channel: unknown
[0]
Hi everyone, Kevin here.
[1]
Today I want to show you how you can create聽
an interactive dashboard in Microsoft Excel.
[9]
With a dashboard, you can showcase the most聽
important information to your organization,聽聽
[15]
and best of all, it's actually really easy to聽
set up. You don't have to know any VBA and you聽聽
[21]
don't have to install any add-ins. All you聽
need is the base version of Microsoft Excel.
[28]
Once you finish creating your聽
dashboard, as new data comes in,聽聽
[32]
it'll automatically update聽
to reflect the latest data.
[36]
Also, once you're ready to share it out聽
with other people in your organization,聽聽
[40]
you can very easily share it so they聽
can get insights from your dashboard.
[45]
If you want to follow along today, I've included聽
a sample spreadsheet in the description.
[50]
All right, let's check this out.
[52]
Here I am in Microsoft Excel, and I聽
want to create a performance dashboard聽聽
[57]
for the Kevin Cookie Company.聽
Leadership is always asking me聽聽
[61]
questions about things like our profit,聽
unit sales, and that type of business stuff.
[67]
Now I figured I could create a dashboard聽
to answer all of those different questions.
[72]
That way I can continue聽
focusing on my YouTube videos.
[76]
As you can see, I don't have聽
anything in this workbook yet,聽聽
[79]
but luckily, I have data to build my dashboard.聽
Down below, let's click on the data worksheet.聽聽
[85]
On the data sheet, here you'll see sales聽
data by market for the Kevin Cookie Company.
[91]
Now keep in mind this is internal data, but聽
I figured it would serve as a good example.
[97]
So just between you and me, keep it on the聽
down low that I shared this sheet with you.
[102]
To build our dashboard, we're聽
going to create a few pivot tables.
[106]
This table that you see here is聽
currently in a tabular format聽聽
[110]
and this works really well聽
for creating pivot tables.
[114]
If you're new to pivot tables, I've included聽
an overview video in the description.
[119]
Also, even if you're not new to pivot聽
tables, I've also included a link to聽聽
[124]
a video that covers some of the more聽
advanced aspects of pivot tables, and聽聽
[129]
if you think you know pivot tables, trust聽
me, there's always something new to learn.
[133]
I'm learning new things about them all the time.
[135]
As a first step, we need to make sure that our聽
data here is in a table format. To turn it into聽聽
[142]
a table, simply click anywhere in your data and聽
then go up to the top ribbon and click on insert.
[148]
Right here you have the option聽
to turn it into a table.
[151]
You can also press the shortcut key Control + T.
[154]
Let's click on this. In this prompt, it聽
asks me for where my data is, and here it聽聽
[159]
automatically identified all of the different聽
data that I want to bring into this table.
[164]
Here it also asks me if my table has headers,聽
and this is my header right up here, it does,聽聽
[171]
so I'll make sure that I check this box.
[173]
Next, let's click on OK.
[175]
All of my data is now included in a table,聽
and it has this nice table formatting.
[181]
Next, I want to insert a pivot table.
[184]
So once again, I'll click into my table and聽
then up on the top ribbon, let's click on聽聽
[188]
insert and all the way over on the left-hand聽
side, there鈥檚 the option to insert a pivot table.
[194]
When you click on that, that opens up a prompt and聽
it asks us what table or range do we want to use?
[200]
I'll simply select this Table 3.
[202]
This is the table that I just created.
[205]
I'll place my pivot table on a new聽
worksheet, and then I'll click on聽聽
[208]
OK. This now drops me into a new worksheet, sheet聽
1, and I can now start building my pivot table.聽聽
[216]
For my dashboard, I want to聽
have three different charts,聽聽
[219]
so I'm going to need three different pivot聽
tables and right now I only have one.
[225]
If I go down below over to all of my聽
different sheets, I can press the control key,聽聽
[230]
click on sheet 1, and then drag it over.
[233]
This will create another pivot table.
[235]
It's just a copy of sheet one.
[237]
Here I'll press the control聽
key again, click on this sheet,聽聽
[241]
drag it over, and now I have聽
three different pivot tables聽聽
[245]
and I鈥檒l use these three different sheets to聽
pull together all of my views for my dashboard.
[250]
The first view I want to pull together聽
is profit by country and cookie.
[255]
Here I'll right click on this tab,聽聽
[258]
and I'll select rename and let me call this聽
just what it is, profit by country and cookie.
[264]
Now that I've renamed the sheet, I'm ready聽
to pull together my first pivot table,聽聽
[269]
and once again, I want to know聽
profit by country and cookie type.聽聽
[273]
Over on the right-hand side, I have聽
all of my different pivot table fields.
[278]
First, I'll select country and聽
I'll pull that down into rows.聽聽
[282]
Here we can see all of the different countries聽
that we operate in for the Kevin Cookie Company.
[287]
Also, over on the right-hand side,聽
I see a field called product.
[291]
Here I'll drag that down to columns, and聽
here you can see all of the different聽聽
[295]
cookies that we make here, and trust聽
me, they're all extremely delicious.
[299]
Over here I'll select profit, bring it聽
down into values, and here I can see all聽聽
[304]
of our different countries, all of the聽
cookie types, and the associated profit.
[309]
Now that I see all of my data here, I聽
want to make a few formatting changes.
[313]
Right now, you see that it聽
doesn't show up as a currency.
[316]
Here I'll select all of these different values.
[319]
I'll click up on home up above, and here,聽
let me turn on the currency formatting type.
[324]
Also, I don't need all of聽
these different decimals.
[327]
I know, every penny counts, but for this analysis聽
it's not necessary. Here I'll remove the decimals.
[333]
Before I insert a chart to聽
visually show this data,聽聽
[336]
I want to make one more tweak to the pivot table.
[339]
I want to make sure that I show all of聽
the different markets in order of most聽聽
[344]
profitable to least profitable, and I want to聽
do the same for the different cookie types.
[349]
Here I'll zoom out just a little bit and聽
I'll click into the grand total column.
[354]
Here I'll right click, I'll go over to sort,聽
and I'll sort from largest to smallest.
[359]
So here you see that India聽
is our most profitable market聽聽
[362]
and the United States is the least profitable.
[366]
Thank you to all of the Indian聽
viewers of this channel,聽聽
[368]
we've been able to achieve record profits.
[371]
We can now do the same for聽
the different cookie types.
[375]
Over here I'll right click, go down to sort, and聽
I'll sort this from largest to smallest as well.
[381]
So now the markets are sorted from the most聽
profitable to least, and same with the cookies.
[386]
Now that my pivot table is all done,聽聽
[388]
I'm ready to insert a chart and we're聽
going to use this chart on our dashboard.
[393]
To insert a chart, let's go to the top聽
tabs and click on pivot table analyze.
[398]
Over on the right-hand side, there's聽
the option to insert a pivot chart.
[402]
Let's click on that.
[403]
This opens up the insert chart dialog, and right聽
here I'm going to select the stacked column chart.
[410]
Next, let's click on OK.
[412]
And here now you can see a pivot聽
chart representing all of this data.
[417]
Now when we did this sorting here, here聽
you'll see all of the different markets聽聽
[420]
are sorted from the largest over on the left聽
all the way down to the smallest on the right.
[425]
Also, with the stacked bar chart, here聽
you'll notice that the largest items are聽聽
[430]
at the bottom and the smallest items are at the聽
top, so it makes it easier to consume the data.
[436]
Overall this looks pretty good, but聽
I think I need a title on this chart聽聽
[439]
just so when people look at it,聽
they can understand what it is.
[443]
Let's go up to the top tabs, click on design,聽
and all the way over on the left-hand side,聽聽
[448]
click on add chart elements.
[450]
Right here we'll go down to chart title and I'll聽
add it above the chart. For the chart title,聽聽
[456]
I'll simply describe what it is.
[457]
It's profit by market and cookie type.
[460]
Before I bring this chart back to my聽
dashboard, I want to clean up a few聽聽
[464]
things. Here I have all of these different聽
field items included on my chart.聽聽
[469]
Here if I click on this, I can filter my product,聽
but I don't want this cluttering up my chart.聽聽
[474]
Here I could right click on the item,聽
and I'll select to remove or hide聽聽
[478]
all field buttons on this chart, and when聽
I select that, it really helps clean it up.
[483]
I'm now ready to move this chart to my dashboard.聽聽
[486]
Here I'll select the chart聽
and I'll press Control + C.
[490]
Next, I'll click over to my dashboard,聽
and I'll paste it onto this sheet.
[495]
And check that out, I now have聽
my first visual on my dashboard.聽聽
[499]
Here I'll zoom out just a little bit so聽
I can see how it sits on my dashboard.
[504]
Here I can select the chart item, and聽
if I press the alt key at the same time,聽聽
[509]
it'll snap into different positions.
[511]
So, this way I can organize my聽
dashboard a little bit more easily.
[515]
Here I'll position this first item right here聽
and I'll extend it down just a little bit,聽聽
[520]
maybe right down to this point.聽
I think that looks pretty good.
[524]
Next, I want to create two more聽
pivot tables for my dashboard,聽聽
[527]
and I'll do these a little bit more quickly.
[530]
Down below, I'll click on the next sheet, and here聽
I'll rename this, and we'll call this units sold聽聽
[536]
each month. To track units sold each month, here聽
I'll select the date and I'll make this my row,聽聽
[542]
and right up here, I'll select聽
units sold as the values.
[546]
So here I could see by month聽
how many units we sold.聽聽
[549]
To help with the formatting, here聽
I'll highlight all of the numbers,聽聽
[552]
and I'll insert the comma style, and聽
I'll also remove the decimal points.
[558]
Just like we did before, I'll click on聽
pivot table analyze, and here I'll insert聽聽
[562]
a pivot chart. For unit sales over time, I聽
think a line chart will work really well.
[568]
I鈥檒l select this one and then click on OK.
[570]
This now inserts my chart and here I'll聽
update the title to say units sold each month.
[576]
Here I'll remove the legend, and I want to聽
remove the fields just like I did before.
[582]
Here I'll right click, and I鈥檒l聽
hide all field buttons on the chart.
[586]
This now looks really good, so I'll copy聽
it and I'll bring it into my dashboard.
[591]
In my dashboard, I'll press control + V to paste聽聽
[594]
and here I'll position it right near the top,聽
and here I'll reduce the size just a little bit.
[599]
That looks pretty good.
[601]
Lastly, I want to create one more聽
pivot table for my dashboard.
[604]
I'll go down to the bottom tabs and let聽
me rename this one to profit by month.聽聽
[611]
To create a pivot table with profit by month,聽
it's going to be very similar to the last pivot聽聽
[616]
table that we created. Here I'll select聽
months and I'll drag it down into rows.
[622]
Next, I'll select profit and聽
I'll pull it down into values.
[625]
And here we see our profit by month.
[628]
Like I've always said, there is聽
money in the cookie business.
[631]
Next I want to set it so it appears as a currency.
[634]
I'll highlight all of these values and聽
here I鈥檒l select the currency view.
[639]
Also, I'll remove the decimal places. Next聽
I want to insert a chart, so once again,聽聽
[644]
I'll click on the tab titled Pivot Table analyze聽
and right here I'll select a pivot chart.聽聽
[650]
To represent data over time,聽
line charts work very well.
[654]
Here I'll select line and then I'll click on OK.
[657]
This now inserts my chart, and I don't know聽
why profit decreased in November and December.
[663]
Those are the holidays, we聽
should be reaching records.
[665]
I'm sure management will be聽
interested in this. Right up here,聽聽
[669]
I'll click on the title of the chart,聽
and I'll put in profit by month.
[673]
I'll click over on the legend that聽
says total and here I'll delete that,聽聽
[677]
and just like we did before, I want聽
to remove all of the different fields.
[681]
I think that'll make the dashboard look better.
[683]
Once again, I'll right click and聽
select hide all field buttons on chart.
[688]
Next, I want to bring this chart over to my聽
dashboard, so once again, I'll select the chart,聽聽
[693]
press control + C to copy, and聽
then I'll click into my dashboard.
[697]
Here within the dashboard,聽
I'll press control + V to paste聽聽
[700]
and here all position it under units sold聽
each month, and I'll make my best attempt聽聽
[705]
at trying to make it just about the聽
same size. Now just like we did before,聽聽
[709]
I can press the Alt key and then this聽
item will snap to the cells on the page.
[714]
Here I'll do the same down here and now everything聽
lines up nicely. To make sure everything aligns聽聽
[720]
very nicely on this page, I have a few different聽
alignment tools. Here I'll select this chart,聽聽
[725]
I'll select this one, and I'll go up聽
to the top tabs called shape format.
[730]
Over on the right-hand side, here I have聽
my alignment tools and here I'll make聽聽
[734]
sure that I align them to the top and聽
they were already aligned at the top,聽聽
[738]
but if they weren't, that聽
would help me achieve that.
[740]
Next, I'll select these two聽
different charts right down here.
[743]
Once again, I'll go to shape format聽
and let me align them to the left,聽聽
[747]
so these are also in alignment with one another.
[750]
So, everything looks nice and聽
organized. Along with setting聽聽
[753]
alignment, I could also specify the聽
exact dimensions of one of these charts.
[758]
Here also like this chart and聽
I'll go up to format up on top,聽聽
[762]
and over here I can see the聽
precise height and width,聽聽
[766]
so I could adjust these if I want different聽
charts to be the exact same height and width.
[771]
So far, we just have a static dashboard and I want聽
to make sure that people can interact with this聽聽
[777]
dashboard. To make it dynamic, let's select one of聽
the items, and then go up to pivot chart analyze.
[784]
On this ribbon, there's the option to聽
insert slicers and also a timeline.
[789]
First, let's insert a timeline.聽
Within the timeline prompt,聽聽
[793]
I'll select a date and then聽
click on OK. This inserts a聽聽
[796]
timeline slicer. Here I'll select the item,聽
and I'll drag it over to the left-hand side,聽聽
[801]
and here I'll adjust the dimensions, so聽
it sits right alongside different items.
[806]
Next, I want to insert some additional slicers.
[809]
Once again, I'll select this pivot聽
table, I'll go up to pivot chart analyze,聽聽
[814]
and over here, I鈥檒l select insert slicer.
[817]
Within this dialog, I'll select聽
both country and product.
[820]
I want to quickly be able to filter my聽
data by the country and the product.
[825]
Next, I'll click on OK.
[827]
This now inserts two slicers, but before聽
I bring it over to the left-hand side,聽聽
[832]
I want to clean them up a little bit.
[833]
When you look at this list, it's pretty聽
obvious that these are all countries,聽聽
[837]
so I don't need this header that says country.
[840]
Here I'll right click on the聽
item, I'll select slicer settings,聽聽
[843]
and I'll turn off the display聽
header, then I'll click on OK.
[847]
I'll do the same for product. Now that聽
neither of these items have a header,聽聽
[851]
here I'll resize it, so it just聽
fits the different slicer items.
[855]
I'll do the same over here. Now I can聽
drag this slicer over onto the side.
[860]
I'll position it right here and I'll聽
do the same with the product type.
[864]
With this slicers over on the left-hand side,聽聽
[866]
you'll notice that the聽
width is not quite the same.
[868]
Here I can select this first item, I'll click聽
on timeline and here I can see the width.
[873]
I'll set it to two聽聽
[875]
and all select these other items, and聽
all set the same width for them as well.
[879]
Here now you can see that they聽
all have the exact same width.聽聽
[883]
With my slicers now in place, I can very聽
quickly filter the data on my dashboard.
[889]
Let's say for example, I just聽
want to see data for India.
[892]
Here I could select India and you'll聽
notice that my profit only shows India,聽聽
[897]
but my two other views didn't update.
[900]
How can I make sure that聽
these slicers are connected to聽聽
[903]
all of the different pivot tables?聽
Here I'll right click on the slicer,聽聽
[907]
and let's go down to report connections. Within聽
report connections, I can specify what pivot聽聽
[914]
tables this slicer controls, and currently it's聽
only set to the profit by market and cookie type.
[920]
I want to make sure it updates all of my聽
different pivot tables, so here I'll check聽聽
[924]
all of these boxes and then click on OK. I鈥檒l聽
do the same for the other two slicers as well.
[930]
And check this out! When I click on my slicers聽
now, it updates all of my different pivot聽聽
[935]
tables over on this side, so this dashboard is聽
definitely becoming a lot more interactive now.聽聽
[941]
Let's take a look at chocolate chip cookies in the聽
US. Look at that, I can see how much profit for聽聽
[946]
that cookie type. If I want to select multiple聽
items with a slicer, here I can simply click聽聽
[951]
on India and then drag my mouse down and that'll聽
select all of these different markets and here I聽聽
[956]
could do the same for the product, so it's very聽
easy to look at my data how I want to view it.
[963]
This dashboard is working really well,聽聽
[965]
but what new data comes in and we want to聽
make sure that our dashboard reflects it?聽聽
[970]
Well, it's very easy to take care of. Down聽
below, let's click into the new data tab and聽聽
[976]
here you'll see that we have additional data for聽
2020. It鈥檚 formatted in exactly the same format.
[982]
Here let's select all the data from聽
this table and then press control + C.
[987]
Once you copy all of the data,聽
let's click into the data sheet,聽聽
[991]
and go all the way to the bottom of the table.
[994]
This is the table that we used to聽
construct all of our pivot tables,聽聽
[998]
and here simply paste in all of the new data.
[1001]
Because we turned this into a table,聽聽
[1003]
it automatically incorporates this聽
new data into that same table.
[1008]
Next, on the bottom, let's聽
click back into our dashboard,聽聽
[1011]
and we want to make sure that the dashboard聽
now reflects all of the latest data.
[1016]
To do that, let's click into one of these pivot聽
charts and then go up to pivot chart analyze.
[1022]
Within the ribbon here,聽
there's the option to refresh.
[1025]
Let's click on this and then select聽
refresh all. And there you'll see聽聽
[1030]
that your dashboard automatically takes聽
all of the latest data into account.
[1034]
This dashboard now is starting to look pretty聽
nice, but it still has the look and feel of Excel,聽聽
[1040]
and I want it to look more like聽
a proper dashboard. To do that,聽聽
[1044]
let's go up to the view tab up on top, and with聽
the sheets selected right here, you have the聽聽
[1050]
option to turn off the gridlines, so there you聽
don't have those typical cells in Excel. Also,聽聽
[1056]
here I can turn off the headings, so now it's聽
really starting to feel more like a dashboard.
[1061]
Also, down below, we have all聽
of these separate sheets for聽聽
[1065]
all the different pivot tables and the data.
[1068]
Here I could select all of those different sheets,聽聽
[1070]
I could right click, and then I聽
could hide those different sheets.聽聽
[1073]
So now if you share this sheet out, people will聽
only see the dashboard that you pulled together.
[1079]
This dashboard is now starting聽
to look really nice, but maybe聽聽
[1082]
the color scheme doesn't match your organization.
[1085]
Well, that's no problem.
[1086]
We can also change that.聽聽
[1089]
Up on top with the top tabs, click on the one聽
titled page layout and over on the left-hand side,聽聽
[1094]
you can choose from all of these different聽
themes and that'll apply it to your dashboard.
[1100]
Also, within themes, you can even browse聽
for other themes, or you could even save聽聽
[1104]
a theme that you create, so you can customize聽
this to look exactly how you want it to look.聽聽
[1110]
Now that we've created the dashboard and聽
it looks exactly how you want it to look,聽聽
[1114]
you probably want to share it out with聽
other people in your organization.聽聽
[1118]
Up in the top right-hand corner,聽
you can click on the share icon.
[1122]
This opens up the share dialog, and here聽
you could decide whether people can edit聽聽
[1126]
the sheet or if it's only view only. Back聽
here, you can select people you want to聽聽
[1131]
share it with, or you can simply聽
copy a link and then share it out.
[1135]
All right, well, let me know down below in the聽
comments, were you able to successfully create聽聽
[1141]
a dashboard? To see more videos like this, please聽
consider subscribing, and I'll see you next time.
Most Recent Videos:
You can go back to the homepage right here: Homepage





