Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:05,910 --> 00:00:12,120
It's time now for us to do exercise five and what we're going to do here is we're going to practice
2
00:00:12,120 --> 00:00:14,550
preparing data for analysis.
3
00:00:15,360 --> 00:00:19,730
And there's quite a few different steps that I'd like you to take him.
4
00:00:20,400 --> 00:00:26,610
So using this data, I would first like you to remove all blank rows.
5
00:00:27,720 --> 00:00:31,210
I then like you to remove any duplicate records.
6
00:00:32,520 --> 00:00:38,460
I'd like you to apply the correct number formatting to each column, so check every single column and
7
00:00:38,460 --> 00:00:41,370
make sure you have the correct number formatting applied.
8
00:00:42,150 --> 00:00:49,560
And then I'd like you to add a new column to the right of Column E and Name Region Code.
9
00:00:49,890 --> 00:00:58,590
And then in that column, using functions, I'd like you to combine the store code and the country fields
10
00:00:58,890 --> 00:01:03,420
so that the format is AB de Dash UK.
11
00:01:03,870 --> 00:01:12,490
And then finally, I'd like you to put all of this data into a table and name the table store underscore
12
00:01:12,600 --> 00:01:13,230
sales.
13
00:01:13,560 --> 00:01:15,470
So quite a bit to do there.
14
00:01:15,480 --> 00:01:20,910
We have covered all of this throughout this course, so hopefully you won't have too many problems there.
15
00:01:21,420 --> 00:01:27,060
Now is the time to pause the video, but if you'd like to see my answer, then please keep watching.
16
00:01:27,570 --> 00:01:33,780
So the first thing I'm going to do here is we're going to remove all of the blank rows from data set.
17
00:01:34,290 --> 00:01:41,390
So let's select our dataset on the home river and we're going to go up to find and select and into go
18
00:01:41,400 --> 00:01:42,360
to special.
19
00:01:43,380 --> 00:01:46,380
And from here, we're going to select blanks.
20
00:01:47,040 --> 00:01:48,330
Click on OK.
21
00:01:48,600 --> 00:01:54,660
Once we have all of those blank was selected, we can simply jump up to delete and choose to delete
22
00:01:54,660 --> 00:01:55,860
sheet rows.
23
00:01:57,210 --> 00:02:03,450
Now, the second thing I asked you to do was to remove any duplicate records from your dataset, and
24
00:02:03,450 --> 00:02:10,500
we have a specific button on the data tab to do this for us, and that is called remove duplicates.
25
00:02:11,400 --> 00:02:12,390
So let's click it.
26
00:02:13,140 --> 00:02:15,540
I'm checking for exact duplicates.
27
00:02:15,570 --> 00:02:20,010
So where the information is exactly the same in every single column?
28
00:02:20,880 --> 00:02:27,180
Let's click on OK, and it's found two duplicates in my data, and it's removed them for me.
29
00:02:27,420 --> 00:02:31,890
The next thing I asked you to do was to apply the correct number formatting to each column.
30
00:02:32,640 --> 00:02:37,740
So if I take a look at Column A, I can see that I don't have the correct formatting applied here,
31
00:02:38,400 --> 00:02:45,240
so I'm going to control shift down Arrow to select all of the data from the home tablet's click the
32
00:02:45,240 --> 00:02:48,540
dropdown and choose the short date format.
33
00:02:49,590 --> 00:02:52,250
Now, looking across everything else looks pretty good.
34
00:02:52,260 --> 00:02:57,810
The only thing I would probably do here is apply some currency formatting to this sales column.
35
00:02:58,470 --> 00:03:02,820
So control shift down Arrow, and I'm going to jump up to the dropdown.
36
00:03:03,360 --> 00:03:09,000
Let's select currency and I'm going to take this decimal places down to zero.
37
00:03:09,270 --> 00:03:15,900
The next thing I asked you to do was to add a new column to the right of Column E and name it region
38
00:03:15,900 --> 00:03:16,380
code.
39
00:03:17,250 --> 00:03:23,190
So let's click to the right of Column E, right click and insert a brand new column.
40
00:03:24,090 --> 00:03:26,670
Now this needs the heading of region.
41
00:03:26,790 --> 00:03:27,360
Oops!
42
00:03:28,350 --> 00:03:34,710
Region code I'm going to double click just to make that column a little bit wider.
43
00:03:36,030 --> 00:03:41,520
Now what I asked you to do here was to use functions to combine the store code, which we have just
44
00:03:41,520 --> 00:03:43,590
here with the country code.
45
00:03:44,160 --> 00:03:48,480
And these two need to be separated with a space dash space.
46
00:03:49,290 --> 00:03:51,530
Now there are a few different ways that you can do this.
47
00:03:51,540 --> 00:03:57,690
You could use the contacts function or you can simply use ampersand, and that's how I'm going to do
48
00:03:57,690 --> 00:03:58,680
it this time round.
49
00:03:59,520 --> 00:04:01,020
So let's type in equals.
50
00:04:01,770 --> 00:04:10,140
We're going to select the store code and we want to join it with so ampersand sign space dash space.
51
00:04:10,710 --> 00:04:16,350
Now, as that is text, it needs to go in quote marks space dash space.
52
00:04:16,980 --> 00:04:22,350
Quote Mark Ampersand again because we want to join that to.
53
00:04:24,640 --> 00:04:30,940
The country value her answer, and we should get the format that we're looking for.
54
00:04:31,690 --> 00:04:33,340
Now if you used Conker.
55
00:04:33,370 --> 00:04:38,800
Let me just show you how that would work if you were using canned cat instead of Amazon's.
56
00:04:39,610 --> 00:04:44,710
This time we want text one, which is the store code comma text two.
57
00:04:44,800 --> 00:04:46,990
It's going to be as space dash space.
58
00:04:47,500 --> 00:04:55,750
So in quote marks space dash space, close quote marks comma, and then we want our next piece of text.
59
00:04:56,290 --> 00:04:59,350
So whichever method you use, it's entirely up to you.
60
00:05:00,130 --> 00:05:04,060
Let's answer, and then we can double click to copy that down.
61
00:05:04,630 --> 00:05:10,570
Now, the final thing I asked you to do here was to put this new clean data set into an Excel table
62
00:05:10,870 --> 00:05:14,260
and then name the table store underscore sales.
63
00:05:15,040 --> 00:05:17,280
So a quick way to create a table control.
64
00:05:17,590 --> 00:05:20,790
T yes, my table has headers.
65
00:05:20,800 --> 00:05:21,640
Let's click on.
66
00:05:21,850 --> 00:05:22,540
OK.
67
00:05:23,440 --> 00:05:27,520
And of course, you can change this color, which is exactly what I'm going to do right now.
68
00:05:27,730 --> 00:05:28,840
Let's make that green.
69
00:05:30,760 --> 00:05:35,420
And on the table, design ribbon in the properties group where we have table one.
70
00:05:35,440 --> 00:05:41,110
I'm just going to rename this to stool, underscore sales and hit enter.
7094
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.