All language subtitles for 3. Controlling Data Input

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:04,850 --> 00:00:11,360 One of the golden rules that we discussed in the first lesson of this section was how we can control 2 00:00:11,390 --> 00:00:17,930 data input because again, if you've spent a lot of time working on a spreadsheet and you've put together 3 00:00:17,930 --> 00:00:24,170 some really nice complex formulas, if you send that out to a group of people who maybe don't have the 4 00:00:24,170 --> 00:00:29,990 level of skill that you do when working with Excel, you might find that it comes back to you full of 5 00:00:29,990 --> 00:00:33,710 errors and all that hard work we put in has been undone. 6 00:00:33,980 --> 00:00:40,790 Or it might be that you send this out to other people and they start entering in invalid information 7 00:00:40,790 --> 00:00:47,480 into the spreadsheet so we can put in some safeguards which will help keep our spreadsheets as error 8 00:00:47,480 --> 00:00:48,560 free as possible. 9 00:00:48,710 --> 00:00:55,610 So the two that I'm going to demonstrate to you in this lesson are data validation and also protection. 10 00:00:55,790 --> 00:00:58,610 So let's take a look at the data that we're going to be using now. 11 00:00:58,610 --> 00:01:01,370 This is just a very simple list of employees. 12 00:01:01,580 --> 00:01:08,180 I have the employee ID, the employee name, the department they work in and then their salary in Column 13 00:01:08,180 --> 00:01:08,600 D. 14 00:01:08,750 --> 00:01:14,180 And what I have over on the right hand side are actually a couple of formulas now. 15 00:01:14,360 --> 00:01:17,210 Currently, these formulas are showing me any errors. 16 00:01:17,300 --> 00:01:18,110 That's okay. 17 00:01:18,110 --> 00:01:19,610 That's going to be fixed in a moment. 18 00:01:19,970 --> 00:01:25,550 But if we click on Cell I for, for example, take a look in the Formula Bar, you can see that I have 19 00:01:25,550 --> 00:01:27,890 an index and match formula in there. 20 00:01:28,310 --> 00:01:34,130 Now, don't worry if you have no clue what this is doing, we are going to cover index and match in 21 00:01:34,310 --> 00:01:35,720 a couple of sections time. 22 00:01:35,960 --> 00:01:38,480 What we're basically doing here is a look up. 23 00:01:38,690 --> 00:01:43,330 So what I want to be able to do is just above here in Cell i3. 24 00:01:43,790 --> 00:01:49,310 I want to be able to have the employee name and then have these index image formulas returned. 25 00:01:49,310 --> 00:01:53,120 The department of that employee works in and also their salary. 26 00:01:53,360 --> 00:01:57,650 So the formula is basically going to look at the information in Cell i3. 27 00:01:58,220 --> 00:02:00,380 It's going to compare it in the table. 28 00:02:00,590 --> 00:02:05,750 It's going to find the employee and then it's going to return the department and the salary for the 29 00:02:05,750 --> 00:02:07,070 employee that we've selected. 30 00:02:07,310 --> 00:02:13,250 Now, if I give this spreadsheet to a colleague and their manager says to them, find out for me, the 31 00:02:13,250 --> 00:02:16,100 department and the salary for Laurie May. 32 00:02:16,340 --> 00:02:24,200 So the employee comes up here, they type in Laurie Mae and hit enter and it doesn't bring anything 33 00:02:24,200 --> 00:02:24,620 back. 34 00:02:24,800 --> 00:02:29,990 Now, the reason why it's not bringing back the correct information is because the employee has spell 35 00:02:29,990 --> 00:02:31,430 Laurie incorrectly. 36 00:02:31,850 --> 00:02:34,310 It should be r i. 37 00:02:34,490 --> 00:02:39,320 So instead of that employee going back to their manager and saying couldn't find any details or the 38 00:02:39,320 --> 00:02:44,810 spreadsheet wasn't working, which could reflect badly on you, if you put the spreadsheet together, 39 00:02:45,170 --> 00:02:48,720 you want to make it so it's impossible for them to select the wrong name. 40 00:02:49,340 --> 00:02:53,540 And we can do that by using a data validation dropdown list. 41 00:02:53,870 --> 00:02:56,750 So what we're going to do here is we're going to click Cancel E3. 42 00:02:57,110 --> 00:03:01,280 Let's go up to the data tab and into the data tools group. 43 00:03:02,150 --> 00:03:08,930 Now, if we click data validation and data validation again, it's going to open up this little dialog 44 00:03:08,930 --> 00:03:12,170 box and we want to be on the Settings tab. 45 00:03:12,380 --> 00:03:18,050 If we click the dropdown underneath allow, you can see that there are a few different options in this 46 00:03:18,050 --> 00:03:18,530 menu. 47 00:03:19,220 --> 00:03:21,020 Now, the one that we want is list. 48 00:03:21,020 --> 00:03:26,180 We want to create a dropdown list of all the employee names so that other people can select them. 49 00:03:26,450 --> 00:03:30,880 Once we've selected list, we then need to provide the source for our list. 50 00:03:30,890 --> 00:03:33,860 So what are the names that are going into this list? 51 00:03:34,160 --> 00:03:39,770 Now my names are listed in Column B in this table and they are all unique names. 52 00:03:39,950 --> 00:03:45,560 Now I'm going to show you how you would do this if your list items weren't unique a bit later on. 53 00:03:45,560 --> 00:03:48,410 But for now, let's not get too far ahead of ourselves. 54 00:03:48,830 --> 00:03:49,880 These are all unique. 55 00:03:50,540 --> 00:03:55,130 So in the source field, I'm simply going to select all of the employee names. 56 00:03:55,130 --> 00:03:59,660 These are going to be in my dropdown list and click on OK. 57 00:04:00,680 --> 00:04:05,810 Now notice that I get an in-cell dropdown, which is listing out all of those names. 58 00:04:06,140 --> 00:04:12,440 So now if the same employee wants to find this information for Laurie, they can simply select them 59 00:04:12,440 --> 00:04:13,340 from the menu. 60 00:04:13,610 --> 00:04:19,910 And now these formulas are set up in such a way that they're going to look at the value in Cell 03 and 61 00:04:19,910 --> 00:04:22,490 return the relevant information from the table. 62 00:04:23,180 --> 00:04:30,020 So simply by adding a dropdown list, we're controlling what's input into this particular cell and ensuring 63 00:04:30,020 --> 00:04:33,120 that our worksheet is a lot less prone to errors. 64 00:04:33,410 --> 00:04:38,480 So dropdown this a fantastic way of controlling what's going into your spreadsheet now. 65 00:04:38,480 --> 00:04:41,270 With all that said, what if I want to go a stage further? 66 00:04:42,020 --> 00:04:45,890 Maybe I need to send this worksheet out to other people. 67 00:04:46,280 --> 00:04:52,790 I want them to be able to select an employee from this list, but I don't want them to be able to edit 68 00:04:52,790 --> 00:04:54,470 any of these formulas. 69 00:04:55,220 --> 00:05:00,500 Currently, anybody can jump in here and start making changes to these index and match formulas. 70 00:05:00,770 --> 00:05:04,320 But I really want to lock them down so that they don't get broken. 71 00:05:04,980 --> 00:05:09,750 Now, before I do that, let's just make this a bit clearer, I'm just going to add an employee into 72 00:05:09,750 --> 00:05:15,390 here and I'm going to use my format painter just to copy across that formatting. 73 00:05:15,390 --> 00:05:17,370 So everything's nice and neat. 74 00:05:17,730 --> 00:05:24,570 So what I'm going to do here is I'm basically going to lock down these two cells so that they can't 75 00:05:24,570 --> 00:05:27,210 be edited and leave everything else on this work. 76 00:05:27,210 --> 00:05:28,770 Sheets editable. 77 00:05:29,070 --> 00:05:31,380 And this is what we call protecting cells. 78 00:05:31,620 --> 00:05:36,480 Now, the thing that I always found slightly confusing about this is that it feels like it works a little 79 00:05:36,480 --> 00:05:37,290 bit backwards. 80 00:05:38,040 --> 00:05:44,670 The concept you have to understand is that by default, in Excel or in a work sheet, every cell is 81 00:05:44,670 --> 00:05:45,120 locked. 82 00:05:45,870 --> 00:05:50,520 Now this is the part which always used to confuse me because I used to think to myself, Well, if every 83 00:05:50,520 --> 00:05:54,390 cell is locked, how can I go into every cell and just start typing? 84 00:05:55,140 --> 00:06:00,900 Well, it's because the locking doesn't take effect until you protect the worksheet. 85 00:06:01,260 --> 00:06:08,610 So the first step here is to select the cells that can be edited and then unlock them. 86 00:06:08,940 --> 00:06:14,900 So it might be that I want this cell to be editable so that people can select employees from the dropdown, 87 00:06:15,330 --> 00:06:18,480 and maybe I want the table information to be editable as well. 88 00:06:19,140 --> 00:06:22,230 So I'm going to select this cell, I'm going to hold down control. 89 00:06:22,240 --> 00:06:28,110 I'm just going to select all of the information in the table, right click the mouse and go into format 90 00:06:28,110 --> 00:06:28,550 cells. 91 00:06:28,560 --> 00:06:31,590 Remember, you can press the shortcut key of control one. 92 00:06:32,550 --> 00:06:36,630 Now in here, we have a protection tab and notice. 93 00:06:36,810 --> 00:06:42,720 By default, locked is checked, and that is because all cells are locked by default. 94 00:06:43,470 --> 00:06:48,300 Now we want to unlock these cells, so let's remove that checkmark and click on OK. 95 00:06:49,230 --> 00:06:53,910 Now, for all of this to take effect, I need to protect my worksheet. 96 00:06:54,690 --> 00:07:01,080 So up to the Review tab into the Protect Group, and we want to select Protect Sheets. 97 00:07:01,470 --> 00:07:05,700 Now I'm going to put a password on this worksheet, but notice underneath. 98 00:07:05,700 --> 00:07:11,340 We have a whole list of basically exceptions to this rule, so I could choose all the things that I 99 00:07:11,340 --> 00:07:13,800 want to allow users to do in this worksheet. 100 00:07:14,460 --> 00:07:19,620 So currently, I'm only going to allow them to select locked and locked cells, meaning they can click 101 00:07:19,620 --> 00:07:20,280 on the cell. 102 00:07:20,700 --> 00:07:21,870 That is absolutely fine. 103 00:07:22,560 --> 00:07:24,030 Now let's put a password on here. 104 00:07:26,440 --> 00:07:28,630 And then we need to confirm that password. 105 00:07:30,610 --> 00:07:37,870 So now what you should find is that I can still do things like select employees from this dropdown list. 106 00:07:38,680 --> 00:07:43,450 I can make changes to cells over here because those are also unlocked. 107 00:07:44,050 --> 00:07:50,320 But if I try and change these formulas, these two cells, I'm going to get this message. 108 00:07:50,530 --> 00:07:54,200 The cell chart you're trying to change is on a protected sheet. 109 00:07:54,370 --> 00:07:59,100 So effectively, I've protected both of those formulas from editing. 110 00:07:59,170 --> 00:08:01,810 And again, this is something that is invaluable. 111 00:08:01,870 --> 00:08:07,180 If you want to keep your spreadsheets as error free as possible, if you want to protect your sheet 112 00:08:07,180 --> 00:08:10,030 once you've protected it, just click the Protect sheet button. 11778

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