All language subtitles for 2. Other Types of Data Validation

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
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
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French Download
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranî)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:05,790 --> 00:00:12,690 In the last lesson, we started exploring data validation dropdown lists, and whilst these are probably 2 00:00:12,690 --> 00:00:19,350 the most popular type of data validation in Excel, there are other different types of data validation 3 00:00:19,350 --> 00:00:23,970 that we can use to control the information that's going into our cells. 4 00:00:24,750 --> 00:00:28,920 So in this lesson, I just like to explore a few of the other options. 5 00:00:29,310 --> 00:00:35,130 I'm going to start out by taking a look at data validation using whole numbers. 6 00:00:35,370 --> 00:00:37,680 So we have a very basic example here. 7 00:00:37,680 --> 00:00:43,440 I have the days of the week listed out, and each day of the week has a number assigned to it. 8 00:00:44,160 --> 00:00:50,520 And effectively, what I want to do over here is I want to be able to type in the number and have it 9 00:00:50,520 --> 00:00:54,120 return the day and in-cell F7. 10 00:00:54,120 --> 00:00:58,650 I actually already have an index, a match formula, which is going to do that for me. 11 00:00:58,800 --> 00:01:03,710 So currently, if I type in number two into this cell, it's going to bring back Tuesday. 12 00:01:04,020 --> 00:01:08,400 If I type in number four, it's going to bring back Thursday, so on and so forth. 13 00:01:08,640 --> 00:01:14,220 But what about if I type in something that doesn't fall within that range of one to seven? 14 00:01:14,910 --> 00:01:18,870 If I type in an eight and enter, I'm going to get an an error. 15 00:01:19,530 --> 00:01:25,380 And we actually saw this in one of our earlier modules when we were looking at the EF-S formula. 16 00:01:25,560 --> 00:01:32,790 Now there is an easy way that you can get rid of this narra simply by using the F and a formula and 17 00:01:32,790 --> 00:01:35,040 wrapping it around the index a match. 18 00:01:35,820 --> 00:01:40,960 But we can also use data validation to help us handle situations like this. 19 00:01:41,610 --> 00:01:48,090 And the reason why I like to use data validation for this type of thing is because it gives the user 20 00:01:48,090 --> 00:01:54,210 or whoever is using this spreadsheet instruction and guidance as to what they need to enter into the 21 00:01:54,210 --> 00:01:54,600 cell. 22 00:01:54,720 --> 00:01:56,160 So let me show you what I mean. 23 00:01:56,760 --> 00:01:59,430 I'm just going to put this back to a number that is valid. 24 00:01:59,970 --> 00:02:03,270 Let's click on the cell and go up to data validation. 25 00:02:04,740 --> 00:02:12,720 Now, this time we're going to select whole number, and what we can do is basically define what this 26 00:02:12,720 --> 00:02:20,010 number needs to be, what conditions need to be met for this number to be valid so I could pick a number 27 00:02:20,010 --> 00:02:21,360 between two numbers. 28 00:02:21,480 --> 00:02:27,390 It could be not between or equal to or not equal to or greater than so on and so forth. 29 00:02:28,230 --> 00:02:34,770 So if I want my users to enter in a value between one and seven, I'm going to use the between option 30 00:02:34,980 --> 00:02:40,440 and then I just need to enter in one as my minimum and seven as my maximum. 31 00:02:40,680 --> 00:02:46,860 And what you'll also notice is that I have two additional taps up here for input message and error alert. 32 00:02:47,550 --> 00:02:53,340 So if I want to be really helpful to my users, I can give them a clue as to what they need to type 33 00:02:53,340 --> 00:02:54,390 in to this cell. 34 00:02:55,170 --> 00:03:04,770 So it might be that I add a title here called instruction that says, please enter a number between 35 00:03:04,830 --> 00:03:06,570 one and seven. 36 00:03:06,810 --> 00:03:12,390 And it might be that I want to add an amber alert so that if they do type something in, that's incorrect. 37 00:03:12,390 --> 00:03:14,490 They get a customized error message. 38 00:03:14,700 --> 00:03:22,530 So we're going to say stop number is not between one and seven. 39 00:03:23,520 --> 00:03:25,940 And it's worth noting that you do have some different styles here. 40 00:03:25,960 --> 00:03:27,510 You don't just have the stop style. 41 00:03:27,510 --> 00:03:31,050 You could choose to have that as a warning or information. 42 00:03:31,980 --> 00:03:34,590 Now I'm going to keep mine on stop and click on. 43 00:03:34,860 --> 00:03:38,100 OK, now notice what happens straight away. 44 00:03:38,100 --> 00:03:41,880 As soon as I select that cell, my instruction text is popping up. 45 00:03:42,420 --> 00:03:48,150 So this is really good for anybody using this worksheet because they don't really have to think it just 46 00:03:48,150 --> 00:03:50,070 tells them what they need to enter in. 47 00:03:50,310 --> 00:03:57,630 So if I was to now enter in a number outside of those parameters, I'm going to get that error alerts 48 00:03:57,630 --> 00:03:58,030 as well. 49 00:03:58,050 --> 00:04:00,570 No, is not between one and seven. 50 00:04:01,470 --> 00:04:07,570 So data validation is a great way of adding instruction and guiding people who are using a spreadsheet. 51 00:04:07,590 --> 00:04:11,610 It's a really good thing if you're going to be sharing a spreadsheet with lots of other people. 52 00:04:11,790 --> 00:04:14,550 So that is the whole no option. 53 00:04:14,790 --> 00:04:18,420 Let's take a look at a couple of other ways that we can use data validation. 54 00:04:18,540 --> 00:04:21,030 We can also use it to validate dates. 55 00:04:21,390 --> 00:04:27,540 So it might be that I want people to enter in their date of birth, but they must be over 18. 56 00:04:27,750 --> 00:04:29,020 So let's click on the cell. 57 00:04:29,160 --> 00:04:35,100 Let's got to data validation, and this time we're going to use a date. 58 00:04:36,040 --> 00:04:44,340 And what I'm going to say here is that the date that they enter must be less than or equal to, and 59 00:04:44,340 --> 00:04:53,580 will say, December the 30 first 2000 and full anything before that date basically means that person 60 00:04:53,580 --> 00:04:54,810 is over 18. 61 00:04:55,050 --> 00:04:58,230 So once again, I can add an input message. 62 00:04:59,130 --> 00:05:07,740 Let's say warning must be older than 18 and an error alert, let's say stop. 63 00:05:10,390 --> 00:05:12,580 You are not old enough. 64 00:05:14,990 --> 00:05:20,840 Let's click on, Okay, so I'm getting my instruction just there. 65 00:05:21,060 --> 00:05:24,020 And if I enter my birthday, let's type that in. 66 00:05:24,950 --> 00:05:26,540 That's absolutely fine. 67 00:05:27,020 --> 00:05:34,700 But if I enter that same date, but let's say 2005, I'm going to get that error message because that 68 00:05:34,700 --> 00:05:36,590 means I'm under 18. 69 00:05:36,800 --> 00:05:40,160 So some really cool ways that you can use data validation. 70 00:05:40,280 --> 00:05:43,430 Now, the final example I'm going to show you is text length. 71 00:05:44,060 --> 00:05:49,970 So this is good if you have to have a specific amount of characters going into a cell, for example, 72 00:05:49,970 --> 00:05:53,540 maybe I'm typing in some three character airport codes. 73 00:05:53,540 --> 00:05:59,870 Most airport codes are three characters long, and I want to confine people to only being able to type 74 00:05:59,870 --> 00:06:02,300 in three characters into this cell. 75 00:06:02,480 --> 00:06:04,550 We can jump back up to data validation. 76 00:06:05,030 --> 00:06:09,440 Go to our settings and we have a text length option. 77 00:06:09,650 --> 00:06:15,080 And I'm going to say that this has to be equal to three characters. 78 00:06:15,620 --> 00:06:19,520 And of course, I could add an input message and an error alert as well. 79 00:06:20,000 --> 00:06:22,580 Now, I'm not going to here just to show you what happens. 80 00:06:22,580 --> 00:06:25,530 If you don't add those in, let's click on. 81 00:06:25,550 --> 00:06:26,120 OK. 82 00:06:26,990 --> 00:06:32,000 So if I type in an airport code, that's absolutely fine because it's three characters. 83 00:06:32,330 --> 00:06:37,670 If I type in something like that, it doesn't work. 84 00:06:38,240 --> 00:06:40,640 Now, notice I'm still getting a pop up message. 85 00:06:40,640 --> 00:06:42,320 It's just not a customized one. 86 00:06:42,590 --> 00:06:48,050 So that's the difference if you don't actually specify your own custom error alert. 87 00:06:48,320 --> 00:06:52,040 So now we've covered for data validation options. 88 00:06:52,310 --> 00:06:58,400 We do have a few more in here, but they all work along the same lines, so I'll leave you to have a 89 00:06:58,400 --> 00:06:59,810 little play around with those. 90 00:07:00,350 --> 00:07:03,200 One that we are going to look at is this custom option. 91 00:07:03,470 --> 00:07:05,570 I'm going to look at that in the next lesson. 9334

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