All language subtitles for 7. Error Handling with IFERROR and IFNA

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
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

Original subtitles

I just want to finish off this section on logical functions, and if statements by talking a little

bit about how you can use IFS to handle errors in your spreadsheets.

Now if we take a look at this example just here, we're fairly familiar with this data.

This is that bonus spreadsheet we were looking at previously.

Now in this bonus column, if we take a look at the first formula, I've basically set up a formula

to work out the bonus only for people who have a job rating of five or four.

And so you can see that reflected in this column.

So where they have a job rating of four or five, we have the bonus amount, anything under four.

So one, two or three, we have an NSA error in the cell.

And that's because I haven't accounted for job ratings one, two and three in this particular formula.

Now it might be that you are happy to leave your spreadsheet looking like this.

What I will say is that if you do have a spreadsheet that has lots of errors contained within cells,

even if those errors are correctly there, which they are, in this case, it makes your spreadsheet

not only look a little bit messy.

If you were to send this to somebody else who's maybe not familiar with the data, they might think

that these are actual errors that need to be fixed.

What would be much better here would be to add some meaning to these errors.

So maybe instead of and I wanted to say no bonus, which makes it a lot clearer.

Now we can do this by using error handling formulas.

And if we jump up to the Formulas tab in this logical group, you're going to find the two that we're

going to use in this lesson in here.

We're going to take a look at if error and if any.

Now let's start out with if and now what if any will do is it will help you deal with any, any errors

that you have in your spreadsheet.

Now, Anna isn't the only type of error that you might see in sales.

You might see a div. error or a value error or a name error.

And all of these different errors mean different things.

But if you specifically have an any error in a cell, you can use the if and a function to assign meaning

to that.

Now, as we do have an error, we're going to use that function.

Now what I want to do here is let's select the first cell that contains a formula.

Let's jump up and edit this in the formula bar.

Now what we're going to do is we're going to type in F and a that's the formula we're going to use.

Now, notice underneath this particular function has two arguments value and value if an a.

So in other words, value if we find an NA in the cell.

Now the first argument, the value, while the value in this cell is generated by that if s formula.

So effectively, the IFS formula is our first argument is our value so we can click on the end press

coma.

And now all we need to do is simply specify what we want to say in the cell.

If it comes across in an error?

Well, I wanted to say no bonus.

We need to add this in quote marks and close the bracket.

So we've wrapped an infant, a formula around if.

S formula.

Enter and take a look at that.

Now, if I copy this down, I've replaced all of those and Arar's with something that is a lot more

meaningful.

A text string that says no bonus.

Now the if any formula can only be used when you have any errors in your spreadsheet.

And as I said, there are lots of different types of errors that you can get in a cell.

And for any other error, you can't use a fancy to assign any meaning.

That is where we would use the second error handling formula if error if error works in a very similar

way to, if any.

But it will handle all types of errors, not just in errors.

So let's take a look at this in action as well.

If we jump across to the if error spreadsheet, if you recall, we put together a little formula here

and again, it's an effect formula which gave us the day of the week when we enter in a day number.

And what I said was that if somebody enters a day that isn't one to seven, so for example, eight,

it's going to produce an error because the formula doesn't account for that.

Now, in this case, I am getting an error again, so I could effectively use the if and error handling.

But we're going to do this in a different way and we're going to use if error instead.

So if error we can use for any type of error and we edit the formula in exactly the same way.

So we're going to Typekit if error at the beginning, we have the same two arguments value and value.

If error, the value again is going to.

Generated by our IFS formulas, we can go right to the end.

Press coma and then we can enter in what we want it to say.

Now in this case, I wanted to say, please enter a number between one and seven.

So what I'm doing here is basically giving the user a little bit of guidance if they enter an incorrect

value.

So let's hit enter.

And there we have that piece of text, and if I choose a different day, it doesn't come up.

If I put in number 10, I'm going to get that piece of text.

So using error handling in this way can really help you keep your spreadsheets consistent, meaningful

and easy to understand for anybody who might be using them.

The only takeaways here are if you have any errors in the cell you can use, if any, or if error if

you have any other type of error, you can only use if error.

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