All language subtitles for 2. Tracing Precedents and Formula Auditing

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,530 --> 00:00:12,180 Tracing presidents and dependents can be really helpful when you're trying to troubleshoot a formula 2 00:00:12,430 --> 00:00:18,130 sometimes, particularly with more complex formulas where you have cells referenced across multiple 3 00:00:18,130 --> 00:00:24,460 different worksheets trying to pinpoint exactly where the error in the formula lies can be quite difficult. 4 00:00:25,060 --> 00:00:30,250 So you want to make sure that we know all of the tools that we have available to help us work out where 5 00:00:30,250 --> 00:00:31,300 the issue is. 6 00:00:31,990 --> 00:00:36,190 And one of those tools is tracing presidents and dependents. 7 00:00:36,460 --> 00:00:43,540 Now, as you can see, I've opened the dashboards workbook that we were using in the previous section. 8 00:00:44,140 --> 00:00:49,330 And the reason why I'm using this is because on the calculations page, we have lots of calculations 9 00:00:49,330 --> 00:00:55,390 which refer to cells all over the place on different worksheets and in different columns, so on and 10 00:00:55,390 --> 00:00:56,050 so forth. 11 00:00:56,170 --> 00:01:01,240 So this is a pretty good worksheet to demonstrate tracing presidents and dependents. 12 00:01:01,420 --> 00:01:05,260 So let's make sure that we collect in a cell that contains a formula. 13 00:01:05,320 --> 00:01:10,570 And if we take a look, we do have a some ifs formula in this cell, which references different tables 14 00:01:10,570 --> 00:01:12,040 and different columns. 15 00:01:12,130 --> 00:01:15,160 Now, let's say that I had a problem with this formula. 16 00:01:15,250 --> 00:01:21,520 I want to make some sense of this formula and work out, which sells my formula is referring to one. 17 00:01:21,520 --> 00:01:24,790 An easy way to do that is to jump up to the Formulas tab. 18 00:01:25,270 --> 00:01:31,600 And we have a formula auditing group over here, and this group is really useful when you're troubleshooting 19 00:01:31,600 --> 00:01:32,200 formulas. 20 00:01:33,130 --> 00:01:36,580 So the first thing that we have on here is trace presidents. 21 00:01:37,210 --> 00:01:43,180 And if we look at the screen tape, it says it's going to show arrows that indicate which cells affect 22 00:01:43,180 --> 00:01:45,670 the value of the current selected cell. 23 00:01:45,850 --> 00:01:50,410 So if we click Trace President's notice that I get a whole bunch of arrows. 24 00:01:50,710 --> 00:01:58,540 So this is basically showing me the cells that this formula in cell D6 relies on to perform the calculation. 25 00:01:58,750 --> 00:02:05,020 So I have an arrow from Cell A 15, and if I look at my formula in the formula bar right at the end 26 00:02:05,020 --> 00:02:10,810 here, I can see, yes, I need the value in Cell A15 for this formula. 27 00:02:10,990 --> 00:02:15,700 He's also telling me that it needs the value in Cell C six. 28 00:02:15,970 --> 00:02:20,040 And again, if I take a look at my formula, I can see just here right in the middle. 29 00:02:20,050 --> 00:02:24,760 Yes, I need the value in Cell C six in order to perform this calculation. 30 00:02:24,970 --> 00:02:28,390 And then the final arrow that I have is a little bit different to the others. 31 00:02:28,630 --> 00:02:35,080 It has a little spreadsheet icon just here, and that basically tells me that the other cells that I'm 32 00:02:35,080 --> 00:02:38,440 referencing in this formula are on a different worksheet. 33 00:02:39,070 --> 00:02:44,560 And that would be correct because if you take a look at my formula, you can see that a lot of the other 34 00:02:44,710 --> 00:02:48,160 cells that I'm referring to are on that product sales worksheet. 35 00:02:48,310 --> 00:02:53,230 And what you're normally find is that if you do have some kind of error in your formula and you trace 36 00:02:53,230 --> 00:02:58,480 the presidents, you might find that you're actually referencing the wrong cell or maybe even the wrong 37 00:02:58,480 --> 00:02:59,110 worksheet. 38 00:02:59,620 --> 00:03:01,390 So this can be really useful. 39 00:03:01,510 --> 00:03:06,700 Now, once you've finished tracing your presidents, you're probably gonna want to remove these arrows 40 00:03:06,700 --> 00:03:07,540 from your worksheet. 41 00:03:08,110 --> 00:03:11,680 And if we go to the Formula Auditing Group, we have a Remove Arrows button. 42 00:03:11,980 --> 00:03:13,480 Now what about trace dependence? 43 00:03:13,480 --> 00:03:14,410 What does that do? 44 00:03:14,530 --> 00:03:17,720 Well, for this particular formula, there are no dependents. 45 00:03:17,770 --> 00:03:25,090 And the difference between dependents and presidents is that dependence means what cells rely on the 46 00:03:25,090 --> 00:03:26,580 value in D6. 47 00:03:26,830 --> 00:03:30,220 And for this cell, no other cells rely on this value. 48 00:03:31,120 --> 00:03:36,190 What about if I click over here in cell IE6 and click on Trace Dependence? 49 00:03:36,430 --> 00:03:39,910 Well, yes, it looks like this one does have some dependence. 50 00:03:40,480 --> 00:03:46,900 And if I go down here and click on this formula, this is doing a max of I six to IE11. 51 00:03:47,920 --> 00:03:52,570 So yes, this formula refers to the cells over here. 52 00:03:52,720 --> 00:03:59,350 The same thing with the one underneath this one is doing an index, a match of cells six to IE11. 53 00:03:59,590 --> 00:04:05,110 And if I was to click on this cell just here and do trace dependence, you're going to find that this 54 00:04:05,110 --> 00:04:07,120 formula has dependents as well. 55 00:04:07,390 --> 00:04:14,020 So these two calculations depend on this calculation being that I once again, if you're finding that 56 00:04:14,020 --> 00:04:17,980 you've got errors, clicking trace dependence can be really useful. 57 00:04:18,130 --> 00:04:20,920 So let's remove those arrows as well. 58 00:04:21,130 --> 00:04:25,840 Now, another couple of things that you can do on this formula, or timber, is you can choose to show 59 00:04:25,870 --> 00:04:27,850 all formulas on your worksheet. 60 00:04:28,510 --> 00:04:33,760 So if you just want to see all of the underlying formulas on your worksheet, you can click this button 61 00:04:33,760 --> 00:04:36,400 and you can see them all listed out just here. 62 00:04:36,910 --> 00:04:41,950 And sometimes again, that can be super useful if you're trying to read through different formulas or 63 00:04:41,950 --> 00:04:47,410 compare formulas with other formulas to hide those formulas, just click the button again. 64 00:04:47,530 --> 00:04:53,650 We also have an error checking button underneath, so this is going to check your entire worksheet for 65 00:04:53,650 --> 00:04:55,060 any common errors. 66 00:04:55,630 --> 00:04:58,230 So if I click this one, would you look at that? 67 00:04:58,240 --> 00:05:00,820 I don't have any errors on my worksheet. 68 00:05:01,030 --> 00:05:04,330 Now what about if I was to delete this column over here? 69 00:05:05,260 --> 00:05:11,200 And then if I click error checking, it's telling me that I have an error in Celle de 22. 70 00:05:11,830 --> 00:05:13,830 And yes, I do take a look. 71 00:05:13,840 --> 00:05:15,960 I now have those reference errors. 72 00:05:15,970 --> 00:05:21,280 Do you remember in the last lesson when we were looking at the different error types that you can receive, 73 00:05:21,490 --> 00:05:23,320 one of them was a reference error. 74 00:05:23,800 --> 00:05:28,180 And as I said, that normally means that you've deleted a column that this formula relies on. 75 00:05:28,870 --> 00:05:33,940 So yes, I can see here it's telling me it's trying to do a max, but the values I'm trying to find 76 00:05:33,940 --> 00:05:35,920 the max solve are no longer there. 77 00:05:36,040 --> 00:05:37,840 And then I have various different options. 78 00:05:37,840 --> 00:05:39,430 I can get some help on this error. 79 00:05:39,820 --> 00:05:44,550 I can show the calculation steps, which is going to allow me to step through the error. 80 00:05:44,560 --> 00:05:48,610 I can ignore the error or I can edit the formula in the formula bar. 81 00:05:48,700 --> 00:05:53,410 Now I'm going to undo just to pull that column back again, which will fix that error. 82 00:05:53,650 --> 00:05:57,460 And then finally, we have an evaluate formula button just here. 83 00:05:57,970 --> 00:06:04,030 And this is really useful if you're trying to debug a complex formula because it allows you to evaluate 84 00:06:04,300 --> 00:06:09,430 each part of that formula in order to pinpoint exactly where the error lies. 85 00:06:09,610 --> 00:06:16,030 So if I select this formula just here and click on Evaluate Formula, it's going to bring up the entire 86 00:06:16,030 --> 00:06:22,570 formula in this little evaluation window and I can go through and evaluate each different part of this 87 00:06:22,570 --> 00:06:23,140 formula. 88 00:06:24,370 --> 00:06:28,660 So currently, I'm evaluating whatever has an underlying underneath it. 89 00:06:28,900 --> 00:06:30,850 So product sales units sold. 90 00:06:31,150 --> 00:06:37,540 So if I click Evaluate, it's going to reveal exactly what that part of the formula is referencing. 91 00:06:38,080 --> 00:06:44,440 So I can see here it's referencing the Pivot Tables worksheet, which we have down here sells see two 92 00:06:44,860 --> 00:06:48,630 to see one two two nine, and that all looks pretty good. 93 00:06:48,640 --> 00:06:50,860 I'm not seeing any underlying errors. 94 00:06:51,610 --> 00:06:55,540 Notice that the line has now moved across to the next part of the formula. 95 00:06:55,960 --> 00:07:02,110 So I can then choose evaluate again, and it's going to evaluate that parts of the formula as well. 96 00:07:02,410 --> 00:07:05,860 And I can carry on going evaluating each part of the formula. 97 00:07:05,920 --> 00:07:06,880 Now notice there. 98 00:07:06,880 --> 00:07:09,520 When I do the evaluation, it changes to Japan. 99 00:07:09,520 --> 00:07:15,310 So it's basically taken a look at the sell reference in the formula and it said, OK, this refers to 100 00:07:15,310 --> 00:07:16,450 the word Japan. 101 00:07:16,690 --> 00:07:21,370 And if you get to any particular part, the formula and you decide you want to step into it, you can 102 00:07:21,370 --> 00:07:22,870 click the step in button. 103 00:07:23,080 --> 00:07:26,290 And again, it's going to show you exactly what that formula is doing. 104 00:07:26,950 --> 00:07:33,040 So if you do have any errors in your formula, you're going to see exactly which parts of the formula 105 00:07:33,040 --> 00:07:36,970 the error is occurring, which is going to help you troubleshoot that formula. 106 00:07:37,210 --> 00:07:43,660 So all of these options in the Formula Auditing Group are super useful when you're working with complex 107 00:07:43,660 --> 00:07:44,380 formulas. 11428

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