All language subtitles for 3. Changing Case and Removing Spaces

af Afrikaans
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bn Bengali
bs Bosnian
bg Bulgarian
ca Catalan
ceb Cebuano
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
tl Filipino
fi Finnish
fr French Download
fy Frisian
gl Galician
ka Georgian
de German
el Greek
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
km Khmer
ko Korean
ku Kurdish (Kurmanji)
ky Kyrgyz
lo Lao
la Latin
lv Latvian
lt Lithuanian
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mn Mongolian
my Myanmar (Burmese)
ne Nepali
no Norwegian
ps Pashto
fa Persian
pl Polish
pt Portuguese
pa Punjabi
ro Romanian
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
st Sesotho
sn Shona
sd Sindhi
si Sinhala
sk Slovak
sl Slovenian
so Somali
es Spanish
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
te Telugu
th Thai
tr Turkish
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
or Odia (Oriya)
rw Kinyarwanda
tk Turkmen
tt Tatar
ug Uyghur
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:05,310 --> 00:00:10,290 In this lesson, we're going to continue cleaning Excel spreadsheets, and I'm going to show you how 2 00:00:10,290 --> 00:00:18,000 you can use text functions to help you fix some of the errors that we have in Column B now if we take 3 00:00:18,000 --> 00:00:20,580 a closer look at Column B, the product column. 4 00:00:20,940 --> 00:00:23,220 What do you think is wrong with this column? 5 00:00:24,090 --> 00:00:24,270 One. 6 00:00:24,270 --> 00:00:27,970 If you said the text inside this column is inconsistent. 7 00:00:27,990 --> 00:00:34,230 You would be correct if you noticed that some of the words in this column are in uppercase. 8 00:00:34,560 --> 00:00:42,000 Some of them are in lowercase, such as Royal Oak in Cell B eight, and some of them are in what we 9 00:00:42,000 --> 00:00:49,410 call proper case and proper case just means that the first letters of each word are capitalized. 10 00:00:50,220 --> 00:00:54,720 Now, proper case is how I want everything to look in this column. 11 00:00:54,900 --> 00:01:01,550 But what I don't want to do is have to go through each and every row changing all of these words to 12 00:01:01,560 --> 00:01:02,250 proper case. 13 00:01:02,580 --> 00:01:08,130 Something else that's wrong in this column is that I can see I have some weird spacing and this is something 14 00:01:08,130 --> 00:01:09,780 which can easily be missed. 15 00:01:10,110 --> 00:01:13,740 I think it's just because I've spent many years staring at Excel spreadsheets. 16 00:01:14,010 --> 00:01:20,910 I have a really keen eye as to how far away from the edge of the cell text should be, and I can see 17 00:01:20,910 --> 00:01:28,050 that in Column B. If we take a look at the word Kensington, the gap between the first letter and the 18 00:01:28,050 --> 00:01:31,410 edge of the cell is actually a bit wider than it normally is. 19 00:01:31,410 --> 00:01:37,290 If you compare that to column a Japan is a lot closer than Kensington is. 20 00:01:37,530 --> 00:01:42,420 So I know that I have some kind of space at the start of this cell. 21 00:01:43,290 --> 00:01:49,920 I can also see that for some of these, I have double spaces in between the words also, and it might 22 00:01:49,920 --> 00:01:54,390 be that I have training spaces after these words that I can't even see. 23 00:01:55,050 --> 00:01:56,790 Now, why is that a problem? 24 00:01:57,540 --> 00:02:02,430 Well, again, if I was going to put this information into some kind of pivot table, or even if I was 25 00:02:02,430 --> 00:02:08,190 to use a filter, it could mean that that is listed twice in the filter as opposed to once. 26 00:02:08,430 --> 00:02:14,100 It also could throw up some unexpected results when we're putting together our pivot table. 27 00:02:14,760 --> 00:02:21,420 So what I'm trying to say here is it's always best to make your data consistent across your spreadsheet. 28 00:02:21,630 --> 00:02:26,580 So we're going to spend this lesson tidying up Column B using text functions. 29 00:02:26,820 --> 00:02:30,120 Now, before we start working on this column, what am I actually going to do? 30 00:02:30,120 --> 00:02:36,480 Just to make this super easy to understand is I'm going to take this data out of this table because 31 00:02:36,480 --> 00:02:40,650 this table was automatically created when I imported this text file. 32 00:02:41,340 --> 00:02:47,070 Now, if you want to remove data from a table or you need to do is jump up to table design. 33 00:02:47,580 --> 00:02:50,640 And in the tools group, select convert to range. 34 00:02:51,990 --> 00:02:53,040 Click on OK. 35 00:02:53,070 --> 00:02:56,100 And now the data is no longer in a table. 36 00:02:56,580 --> 00:03:02,340 Notice that when I'm collecting this data, I no longer get the table design contextual ribbon. 37 00:03:02,610 --> 00:03:05,100 So now I just have bog standard data. 38 00:03:05,430 --> 00:03:11,730 I'm going to insert a new column and I'm going to use the keyboard shortcut control shift plus. 39 00:03:12,000 --> 00:03:18,780 Now this is what I'm going to call for now my helper column, and I'm going to use this column to tidy 40 00:03:18,780 --> 00:03:25,500 up the text that we have in Column B. So the first thing that I want to do here is I want to change 41 00:03:25,500 --> 00:03:27,870 everything to proper case. 42 00:03:28,650 --> 00:03:34,110 So the function that we need to use for that is, as you might expect, a function called prop.. 43 00:03:34,590 --> 00:03:37,620 And this is one of the text functions in Excel. 44 00:03:37,740 --> 00:03:40,740 There's only one argument for this particular function. 45 00:03:41,190 --> 00:03:48,300 So that is the text that we want to change to proper case B to control, enter, to stay in the same 46 00:03:48,300 --> 00:03:51,960 cell, and then I can double click to copy that down. 47 00:03:52,680 --> 00:03:56,460 And like magic, all of my text is now consistent. 48 00:03:56,560 --> 00:04:02,280 He's also worth noting that if you wanted to change everything to uppercase, you could replace proper 49 00:04:03,510 --> 00:04:04,290 with upper. 50 00:04:04,950 --> 00:04:11,040 And if you wanted to change everything to lowercase, you guessed it, you can just replace it with 51 00:04:11,040 --> 00:04:11,460 lower. 52 00:04:11,700 --> 00:04:15,000 So three really helpful little functions just that. 53 00:04:15,180 --> 00:04:17,430 Now it's changed everything to proper case. 54 00:04:17,430 --> 00:04:22,410 But what it hasn't done is remove these weird spacing issues that I have going on. 55 00:04:22,620 --> 00:04:29,670 Now, if you want to remove what we call erroneous spaces from a text string, we use the trim command. 56 00:04:30,390 --> 00:04:31,350 So what I'm going to do? 57 00:04:31,620 --> 00:04:32,630 Control, shift down. 58 00:04:32,640 --> 00:04:33,780 It's delete everything out. 59 00:04:34,110 --> 00:04:36,570 And let's take a look at the trim function on its own. 60 00:04:37,230 --> 00:04:39,240 So equals trim. 61 00:04:40,170 --> 00:04:43,800 Again, it just requires the text that we want to trim. 62 00:04:45,750 --> 00:04:47,340 Now, can you see the difference there? 63 00:04:47,340 --> 00:04:53,700 If I drag this down a few Kensington now that we've trimmed those spaces is a lot closer to the edge 64 00:04:53,700 --> 00:04:56,400 of the cell boundary than it is over here. 65 00:04:56,790 --> 00:05:01,560 So those spaces at the beginning have been removed simply by using that trim function. 66 00:05:01,740 --> 00:05:07,890 It's also worth noting that there is another text function called clean, which will remove things like 67 00:05:07,890 --> 00:05:10,680 manual line breaks and non printing characters. 68 00:05:11,340 --> 00:05:18,000 So, for example, if I had a line break in between these two words, let's put in a manual line break 69 00:05:18,000 --> 00:05:18,450 out. 70 00:05:18,450 --> 00:05:21,900 Enter, if I wanted to remove that line break. 71 00:05:21,990 --> 00:05:26,650 I would use the clean function again. 72 00:05:26,670 --> 00:05:30,810 We just have one argument let's say enter. 73 00:05:31,470 --> 00:05:34,860 And we should notice this when we go past Royal Oak. 74 00:05:35,160 --> 00:05:39,270 And yes, now you can see the Royal Oak is all on the same line. 75 00:05:39,280 --> 00:05:41,520 It's removed that line break. 76 00:05:41,550 --> 00:05:44,850 Now I'm just going to undo a few just to get rid of that line break. 77 00:05:45,780 --> 00:05:49,770 So we have three functions that proper trim and clean. 78 00:05:50,490 --> 00:05:57,150 Now I want to apply all three to call him B. So what I can do is I can combine them all together. 79 00:05:57,660 --> 00:05:58,920 We're going to start with proper. 80 00:05:59,010 --> 00:06:00,210 We're going to open a bracket. 81 00:06:00,900 --> 00:06:02,970 We're going to go straight into trim. 82 00:06:03,420 --> 00:06:04,590 We're going to open a bracket. 83 00:06:04,890 --> 00:06:08,160 We're going to go straight into clean and open a bracket. 84 00:06:09,060 --> 00:06:13,380 We then just need to select the text that we want to apply all of this to. 85 00:06:13,920 --> 00:06:17,820 And then we need to close off as many brackets as we've opened. 86 00:06:18,210 --> 00:06:23,370 So close of clean close of trim, close of proper hit enter. 87 00:06:24,060 --> 00:06:27,120 And then I can double click to copy that down. 88 00:06:27,120 --> 00:06:31,380 And I've applied three text cleaning functions all in one go. 89 00:06:31,590 --> 00:06:34,200 And it looks absolutely beautiful. 90 00:06:34,320 --> 00:06:40,020 So now I have a clean column, column C. And I have what I'm going to label for want of a better term, 91 00:06:40,020 --> 00:06:42,270 a dirty column in Column B.. 92 00:06:42,480 --> 00:06:48,420 Now you might think that you can just go in here and right click and delete Column B. But if you do 93 00:06:48,420 --> 00:06:56,190 that, you're going to get these reference errors because we have formulas in Column C that refer to 94 00:06:56,190 --> 00:06:56,880 Column B.. 95 00:06:57,510 --> 00:07:00,990 So if we delete that column, it effectively breaks that formula. 96 00:07:01,710 --> 00:07:07,770 So how can we keep the text that we have in here but just remove those underlying formulas? 97 00:07:08,550 --> 00:07:12,210 Well, what we can do is we can use paste special to help us do that. 98 00:07:12,420 --> 00:07:18,150 So what I'm going to do is I'm going to select Column C. The column that contains the formulas control 99 00:07:18,300 --> 00:07:19,680 C to copy. 100 00:07:20,490 --> 00:07:27,360 I'm going to go to the home tab, go to paste and I'm going to say paste values and I'm going to paste 101 00:07:27,360 --> 00:07:30,540 just the cell values directly over the top. 102 00:07:30,690 --> 00:07:36,870 And what that does is it just keeps the text that you can see and it throws away the underlying formulas. 103 00:07:37,560 --> 00:07:43,680 So now that I've done that, I can simply delete the dirty column and I'm not going to get any errors. 104 00:07:43,890 --> 00:07:45,630 I need to change this column heading as well. 105 00:07:45,630 --> 00:07:50,280 So this needs to be product again, but that is a nice, clean column. 106 00:07:50,400 --> 00:07:51,010 So I would. 107 00:07:51,180 --> 00:07:56,070 Why that type of thing to any column that I can see has issues, for example. 108 00:07:56,280 --> 00:07:58,300 I think all of these are pretty much OK. 109 00:07:58,320 --> 00:08:05,250 Apart from this month name column, I can see that that has what we call erroneous spaces at the beginning 110 00:08:05,250 --> 00:08:05,910 there as well. 111 00:08:06,360 --> 00:08:09,300 So I'm going to do the same thing that's insert a column. 112 00:08:09,600 --> 00:08:11,340 This time I'm just going to do a trim. 113 00:08:12,360 --> 00:08:18,660 Let's select the text control enter and then I can double click to copy down. 114 00:08:19,080 --> 00:08:23,430 I want to throw away the underlying formulas that control C to copy. 115 00:08:24,330 --> 00:08:31,410 Paste and paste values escape, and then I can simply move. 116 00:08:32,750 --> 00:08:40,370 This heading across and then delete Colin Powell, and whilst we're here, I'm going to apply some no 117 00:08:40,370 --> 00:08:42,680 formatting, two columns which don't have it. 118 00:08:43,220 --> 00:08:51,230 So I can see here that manufacturing price, sales price, all of this to here needs to have accounting 119 00:08:51,230 --> 00:08:52,160 formats applied. 120 00:08:52,340 --> 00:08:58,190 So control shift down Arrow to select all of those cells and let's click on accounting. 121 00:08:58,220 --> 00:08:59,960 And there we go. 122 00:09:00,200 --> 00:09:03,590 So we're now ready to move on to our next stage of cleaning. 12448

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.