Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:05,440 --> 00:00:10,510
So let's start assembling this really cool, interactive dashboard.
2
00:00:10,630 --> 00:00:17,260
Now, just to make things a little bit quicker, I've already done parts of the dashboard design.
3
00:00:17,890 --> 00:00:22,300
Now the way that I've done this is just basically using shapes and text boxes.
4
00:00:22,750 --> 00:00:25,090
So this green background is just a rectangle shape.
5
00:00:25,120 --> 00:00:31,090
This is another rectangle shape, and all of these labels are just text boxes, and I've just formatted
6
00:00:31,090 --> 00:00:32,170
the text inside.
7
00:00:32,350 --> 00:00:37,120
So I will say that before you start to build your interactive dashboard, it's always good to have a
8
00:00:37,120 --> 00:00:37,630
plan.
9
00:00:38,230 --> 00:00:43,900
Think about the kind of information that you want to display on that dashboard before you even start
10
00:00:43,900 --> 00:00:46,510
to do calculations and put together charts.
11
00:00:47,230 --> 00:00:50,050
So we've established the information that I'm interested in.
12
00:00:50,290 --> 00:00:52,480
I've got those headings on my dashboard.
13
00:00:52,720 --> 00:00:57,310
And the only other thing I've really done here is that I've turned off the grid lines, so I have a
14
00:00:57,310 --> 00:00:58,990
nice, clean page.
15
00:00:59,170 --> 00:01:04,240
The rest of these tabs, I've pretty much removed everything that I had on the so I can show you how
16
00:01:04,240 --> 00:01:04,870
to build them.
17
00:01:05,500 --> 00:01:09,180
And on the calculations page, I don't have any of the calculations in here.
18
00:01:09,190 --> 00:01:10,990
I just have these headings.
19
00:01:11,290 --> 00:01:15,370
And of course, on the pivot tables page, there is +source data.
20
00:01:15,580 --> 00:01:21,340
So if we jump back to the dashboard, the first thing I'm going to add onto here is that little combo
21
00:01:21,340 --> 00:01:22,360
box dropdown.
22
00:01:22,870 --> 00:01:29,560
And this is key to this entire dashboard because depending on the year that we select in that dropdown,
23
00:01:29,830 --> 00:01:32,500
that is going to determine the data that we see.
24
00:01:32,710 --> 00:01:35,290
Now this is something we haven't covered in this course.
25
00:01:35,560 --> 00:01:41,590
And if you choose to go through the advanced course, there is a lot more on form controls.
26
00:01:41,800 --> 00:01:45,760
But let me just give you a little sneak peek as to what these can help you with.
27
00:01:45,910 --> 00:01:50,860
Now, form controls, you're going to find them on the developer ribbon now.
28
00:01:50,890 --> 00:01:54,730
By default, you may not have your developer ribbon turned on.
29
00:01:55,330 --> 00:02:01,600
If you don't jump into file, go down to options and then on Customize Ribbon.
30
00:02:01,840 --> 00:02:06,280
Just make sure you have a check next to developer, and let's click on.
31
00:02:06,550 --> 00:02:09,990
OK, so now I have my developer ribbon.
32
00:02:10,000 --> 00:02:17,530
I want to insert a form control, and the one that we want to use here is this one, the combo box dropdown.
33
00:02:17,860 --> 00:02:18,670
So let's click.
34
00:02:19,630 --> 00:02:25,540
Notice that my car has changed to a small cross and I can now draw my little combo box control.
35
00:02:27,030 --> 00:02:30,180
Like so, so I guess drop down, Arrow.
36
00:02:30,210 --> 00:02:34,860
Currently, it's not showing me anything because I haven't specified what I want to put in there.
37
00:02:35,610 --> 00:02:37,100
So what do I need to go in here?
38
00:02:37,110 --> 00:02:44,820
I need the years to go in that and in my dataset, we basically have three different years 2018, 2019
39
00:02:44,820 --> 00:02:46,050
and 2020.
40
00:02:46,860 --> 00:02:50,190
And this combo box needs to get that information from somewhere.
41
00:02:50,910 --> 00:02:54,060
So this is where we're going to go across to our calculation sheets.
42
00:02:55,080 --> 00:03:01,830
Now, the first thing I'm going to do here is I'm going to get a unique list of the year's contained
43
00:03:01,830 --> 00:03:03,150
within my data source.
44
00:03:03,810 --> 00:03:11,280
Now for this, we can use an Excel function that I use all the time called unique or we need to do is
45
00:03:11,280 --> 00:03:18,420
jump across to the pivot tables worksheets and select the column that we want to extract unique values
46
00:03:18,420 --> 00:03:18,780
from.
47
00:03:19,380 --> 00:03:27,420
So that is Column M the year column control shift down Arrow to select the entire range to enter.
48
00:03:27,690 --> 00:03:28,830
And would you take a look at that?
49
00:03:28,830 --> 00:03:31,050
We now have our unique list of yes.
50
00:03:31,740 --> 00:03:34,490
If you have a fairly small list, you can also just type them in.
51
00:03:34,500 --> 00:03:36,900
I could have done that, but I chose to use unique.
52
00:03:37,770 --> 00:03:42,840
Now with this, you don't really want to have that unique formula sitting in the background.
53
00:03:42,840 --> 00:03:46,290
So I'm going to do my little copy and paste values trick.
54
00:03:46,980 --> 00:03:55,080
So let's highlight the values control, see, go up to pay special and just paste those values, and
55
00:03:55,080 --> 00:03:58,650
that will effectively throw away the underlying unique formula.
56
00:03:58,830 --> 00:04:05,340
Now I actually want to sort this year, so 2018 is at the top, so let's right click go to sort and
57
00:04:05,340 --> 00:04:07,200
do smallest to largest.
58
00:04:08,280 --> 00:04:13,080
Now what I'm going to do is down here in selected year, I'm going to do an index formula.
59
00:04:13,830 --> 00:04:15,870
So we're going to type in index.
60
00:04:16,410 --> 00:04:20,850
We're going to index this array just here for too long.
61
00:04:21,360 --> 00:04:24,300
And the next argument we need here is the row number.
62
00:04:24,930 --> 00:04:32,670
Now the row number is going to be in-cell a 12 f for close the bracket enter.
63
00:04:33,510 --> 00:04:39,510
Now, if I type in number one into here, it's going to tell me that 2018 is number one in that list.
64
00:04:40,050 --> 00:04:41,800
Number two is 2019.
65
00:04:41,940 --> 00:04:43,740
Number three is 2020.
66
00:04:44,280 --> 00:04:46,350
So this is how we want this to function.
67
00:04:46,590 --> 00:04:52,950
Now that we have our years, we can use this unique list to populate the combo box on the dashboard.
68
00:04:53,550 --> 00:04:55,180
So let's go back to the dashboard.
69
00:04:55,200 --> 00:04:57,000
Let's select our control.
70
00:04:57,420 --> 00:05:01,950
And then on the developer ribbon, we're going to open up the properties for this control.
71
00:05:02,640 --> 00:05:06,720
And this is where we can select our input range and our cell link.
72
00:05:07,620 --> 00:05:13,350
So our input range, which is basically where are the values we want to populate this combo box?
73
00:05:13,890 --> 00:05:18,870
Well, our input range is on our calculations, worksheets, and it's this range just here.
74
00:05:20,160 --> 00:05:21,390
What about the cell link?
75
00:05:21,660 --> 00:05:29,250
Well, again, on the calculations page, this is going to be selling a 12 and click on.
76
00:05:29,590 --> 00:05:35,700
OK, so now if I go to this dropdown, I have my different years in here.
77
00:05:36,360 --> 00:05:42,300
So if I select 2018 and take a look at the calculations page, you can see that there.
78
00:05:42,300 --> 00:05:45,960
The selected year is 2018 and the selection is number one.
79
00:05:46,740 --> 00:05:53,550
If I change this to 2019 and take a look at my calculations page, you can see that all of these formulas
80
00:05:53,550 --> 00:05:54,900
are updating correctly.
81
00:05:55,470 --> 00:06:01,740
And this is really the key to this entire dashboard, so make sure that you get this combo box dropdown
82
00:06:01,740 --> 00:06:02,280
correct.
83
00:06:02,460 --> 00:06:08,600
The next thing I'm going to do is I'm going to prepare the data that I'm going to use in my column charts,
84
00:06:08,850 --> 00:06:14,640
and my Clonshaugh is basically going to display the units sold by country.
85
00:06:15,330 --> 00:06:20,970
Now this is where we need to use a some ifs formula, another skill that we've practiced in this course.
86
00:06:21,720 --> 00:06:28,650
What I want to do is basically look at my source data and say some together the units sold whenever
87
00:06:28,650 --> 00:06:33,840
you find the country Japan, India, United Kingdom, so on and so forth.
88
00:06:34,050 --> 00:06:39,630
But we have an additional piece of criteria because we want this also to relate through to whatever
89
00:06:39,630 --> 00:06:40,830
year is selected.
90
00:06:41,430 --> 00:06:48,480
Because on the dashboard, if we've selected 2019, we only want to see the amount of units sold for
91
00:06:48,480 --> 00:06:49,710
2019.
92
00:06:50,340 --> 00:06:55,020
So that is why we use some ifs because we have two pieces of criteria to add.
93
00:06:56,130 --> 00:06:57,440
So what is our summer range?
94
00:06:57,450 --> 00:06:59,250
Well, it's the units sold.
95
00:06:59,560 --> 00:07:06,030
So let's go across two pivot tables and let's go all the way to the top and find our units sold.
96
00:07:06,030 --> 00:07:11,240
Column control shift down arrow to select comma.
97
00:07:12,090 --> 00:07:15,750
And next argument is criteria range one.
98
00:07:16,470 --> 00:07:19,380
Well, we're breaking this down by the country.
99
00:07:19,920 --> 00:07:25,890
So my criteria range is going to be the country control shift down.
100
00:07:25,900 --> 00:07:26,190
Narrow.
101
00:07:27,440 --> 00:07:30,470
Comma, what is my first piece of criteria?
102
00:07:31,220 --> 00:07:36,830
Well, if we jump back to the calculations tab, we wanted to pick up the values for Japan.
103
00:07:37,900 --> 00:07:41,830
Comma, we can now specify criteria range two.
104
00:07:41,860 --> 00:07:50,170
So our second piece of criteria is that we only want to see the units sold for Japan for whatever year
105
00:07:50,200 --> 00:07:51,070
is selected.
106
00:07:52,000 --> 00:07:54,880
So criteria range two is going to be the year.
107
00:07:55,270 --> 00:07:57,070
So we go back to pivot tables.
108
00:07:57,370 --> 00:08:07,270
Let's select our year column control, shift down arrow comma and our criteria is going to be whatever
109
00:08:07,270 --> 00:08:09,820
is the selected year down here.
110
00:08:10,240 --> 00:08:18,520
Remember, this changes depending on what we've selected in that combo box F4 to lock close the bracket
111
00:08:18,790 --> 00:08:19,540
hit enter.
112
00:08:19,840 --> 00:08:26,860
And now I can copy this formula down so everything is set up so far to link through.
113
00:08:27,400 --> 00:08:33,310
Notice the top value here two three eight five six nine If I go to the dashboard and change this to
114
00:08:33,310 --> 00:08:38,110
2020, you can see that these values have completely updated.
115
00:08:38,350 --> 00:08:41,380
Now we're going to do something similar for the other chart.
116
00:08:41,380 --> 00:08:48,010
So this is one table that is basically going to provide us with the number of orders by product chart
117
00:08:48,010 --> 00:08:49,930
and also the cost vs. profit.
118
00:08:50,170 --> 00:08:56,800
Now this time the breakdown is by the product, but we still want to pick out the data not only by the
119
00:08:56,800 --> 00:09:00,070
product, but also by whatever year has been selected.
120
00:09:00,820 --> 00:09:06,310
So when we're looking at number of orders this time we want to do a count ifs because again, we have
121
00:09:06,310 --> 00:09:07,930
two pieces of criteria.
122
00:09:08,200 --> 00:09:10,330
What is our first criteria range?
123
00:09:10,930 --> 00:09:13,300
Well, our criteria is going to be the product.
124
00:09:13,300 --> 00:09:16,780
So our criteria range is also going to be the product.
125
00:09:17,050 --> 00:09:27,700
So let's select the product range control shift down arrow comma and our product is going to be Kensington
126
00:09:28,360 --> 00:09:30,820
Comma Criteria Range two.
127
00:09:31,390 --> 00:09:37,240
Well, that is going to be the year control shift down arrow comma.
128
00:09:38,810 --> 00:09:43,640
And the year is going to be determined by whatever is incel a 15.
129
00:09:45,270 --> 00:09:46,390
F4 to lock.
130
00:09:47,130 --> 00:09:53,070
Close the bracket, enter, and there we have our results, let's copy this down now we're going to
131
00:09:53,070 --> 00:09:58,860
do the same for cogs and profit, and both of these are going to be some IFS calculations, so pretty
132
00:09:58,860 --> 00:10:00,870
much the same as what we've done here.
133
00:10:01,500 --> 00:10:06,780
The only difference is that instead of selecting the country column, we're going to select the product
134
00:10:06,780 --> 00:10:07,260
column.
135
00:10:07,440 --> 00:10:09,810
So let's type in equals some ifs.
136
00:10:10,470 --> 00:10:13,960
What is some range, while this time with some in the COGS?
137
00:10:14,550 --> 00:10:19,260
So we're going to go back to pivot tables and we're going to choose the COGS column.
138
00:10:19,650 --> 00:10:24,080
Control shift down arrow to select all comma.
139
00:10:24,300 --> 00:10:26,340
What is our first criteria range?
140
00:10:26,370 --> 00:10:33,780
Well, our criteria range is going to be the product control shift down arrow to select that range.
141
00:10:34,740 --> 00:10:44,160
The criteria we go back to calculations is the product criteria range to, well, that is going to be
142
00:10:44,160 --> 00:10:45,180
the year again.
143
00:10:45,690 --> 00:10:51,990
So back to pivot tables, select the control shift down arrow comma.
144
00:10:53,100 --> 00:10:54,480
What is the criteria?
145
00:10:55,260 --> 00:10:59,760
Well, the criteria is going to be generated by sell a 15.
146
00:11:01,230 --> 00:11:10,350
EF four, to lock close the bracket, enter and then we can copy that down, and we're going to do exactly
147
00:11:10,350 --> 00:11:11,700
the same for the profit.
148
00:11:11,910 --> 00:11:18,360
It's the same some ifs calculation, but the sum range is just the profit column as opposed to the Cox
149
00:11:18,360 --> 00:11:18,840
column.
150
00:11:19,080 --> 00:11:24,180
So I'm going to leave you to do that and have a little practice, and I will join you in the next lesson
151
00:11:24,180 --> 00:11:25,680
to continue this dashboard.
15236
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.