Members-only tutorial
Watch the video and get the practice sheet with membership.
About this Tutorial
Video Transcript
<div> Hi. In this video we're gonna be talking about two formulas that I think are really important when showing data Learn about data types and how they impact your formulas and calculations. Opens in new tab , especially with money or really with anything. So I've created this little basically test here. We're showing revenue every single month, expenses profit. Nice little summary page.<br><br>But two things that perhaps might be of used to. Understanding, what each of these numbers means is we'd like to know each month, what is a profit margin? What percentage are we making above our revenue or from expenses, right?
And also we'd like to understand on a rolling basis, month to month from the start of the year, how much are we making per month, right?<br><br>So just I wanna know. I already see a trend right here with this number Understand number formatting and its importance in data presentation. Opens in new tab , but I wanna see an average, right? We're making so much in January, and then down a little bit and up and down. And if these numbers are up and down so much, I wanna see a rolling average to really see is our work paying off?<br><br>So I wanna see a rolling number Understand number formatting and its importance in data presentation. Opens in new tab here, but there's two problems with these formulas. So let me do these formulas and I'll show you the problems.
So the profit margin, It'd be pretty simple profit divided by revenue. And I don't want to have to come here. Oh, I wanna make that a percentage, right? I don't really wanna come back here and have to fill out this column every single month, or even if you're doing this like week by week, that's 52, 12 times a year isn't so bad, but 52 times, or if you're doing daily you just saving.<br><br>Having to do this one formula Get familiar with the syntax rules for writing formulas in spreadsheets. Opens in new tab every single day you'll wanna just, quickly copy and paste this, right?
But you have this very ugly divide by zero problem because we've, we haven't gotten to August yet, right? Maybe you're even creating this chart Explore how to visualize your data effectively using charts. Opens in new tab with nothing. If you haven't, if you're starting creating this in December and you're just gonna have all these divide by zero, very ugly numbers to.<br><br>So if error Find out how to handle errors in your sheets for cleaner data. Opens in new tab helps us here. So we wrap Discover how to wrap text in cells for better readability. Opens in new tab this in an if error Find out how to handle errors in your sheets for cleaner data. Opens in new tab parenthesis. And you see here it says if error Find out how to handle errors in your sheets for cleaner data. Opens in new tab , value, and value of error Find out how to handle errors in your sheets for cleaner data. Opens in new tab . So just wrap Discover how to wrap text in cells for better readability. Opens in new tab this and we say, okay, comma and what we're gonna do is we're not gonna fill out anything. You could put a message here. No numbers.
And see, it doesn't change the ones that have an issue, but it does have these, this text, and this text is just needless it's unnecessary.<br><br>So what I prefer to do actually, is to just do nothing here. Just click, enter, copy and paste this down. And now we have blanks. Now if we go and fill this information out, let's say we had a really good month and we had we had a lot of expenses. But our problem margin, oh, 31 pretty damn good, right?<br><br>And it automatically fills it out once you have this information because now there's no error Find out how to handle errors in your sheets for cleaner data. Opens in new tab .
And if there's an error Find out how to handle errors in your sheets for cleaner data. Opens in new tab , it's just gonna be blank. And this is really good if you do not need to know that there's an error Find out how to handle errors in your sheets for cleaner data. Opens in new tab . If there's gonna be an error Find out how to handle errors in your sheets for cleaner data. Opens in new tab and you wanna just get rid of it, then this is, if error Find out how to handle errors in your sheets for cleaner data. Opens in new tab is probably the best thing to wrap Discover how to wrap text in cells for better readability. Opens in new tab your formula Get familiar with the syntax rules for writing formulas in spreadsheets. Opens in new tab around.<br><br>But sometimes there are numbers. and we just don't wanna see the numbers until we have something filled out. So that happens when we wanna see revenue per month.
So revenue per month formula Get familiar with the syntax rules for writing formulas in spreadsheets. Opens in new tab is gonna be equals let's say it's at least some of this, so the end of this, but we wanna do it month to month.<br><br>So we just want to do at least happens b2. For January, we are, we're just taking January. We're dividing it by, let's say count all. Cause we'll eventually have some count. This is, guess just gonna be one and we're gonna do the same B2 to b2. Now, as we copy and paste this, we want the second part of this these ranges Learn about ranges and how to use them in your formulas. Opens in new tab to increase.<br><br>We don't want this one to increase, so we'll just say, we'll hook we'll put the dollar.
In front of this first two to make sure that stays. And then see now we have a rolling average. So now this average is going to be this added up divided by th divided by the count number Understand number formatting and its importance in data presentation. Opens in new tab . So it's gonna be nine.<br><br>Thousand plus 12,000 divided by two. And see each one. The second number Understand number formatting and its importance in data presentation. Opens in new tab is increasing. And we're getting a nice ruling. Yeah. We know we're going down cause we're not doing much revenue, but we're gonna come back up pretty damn soon. And now we're doing really well. But what happens is when we get down to month, we have not done yet.<br><br>It's the same.
And so we may want to do this, we wanna may want to set this up. Again, December, and these will all be zeros and that's okay, right? Like it, it's fine to have this number Understand number formatting and its importance in data presentation. Opens in new tab , but it's unnecessary because this number Understand number formatting and its importance in data presentation. Opens in new tab doesn't tell you any information. We'd rather have a blank here until we have these filled out.<br><br>So that's where Understand how to filter data using the query where clause. Opens in new tab if is blank comes in really handy. So you go, if is blank and if and is blank is a formula Get familiar with the syntax rules for writing formulas in spreadsheets. Opens in new tab and we wanna. Let's say we don't want to know until we get this number Understand number formatting and its importance in data presentation. Opens in new tab B 10 and if it's blank.
So what's gonna happen is we'll put in, if it's blank, we'll put in something and if it's false, if this actually is not blank, it'll do this formula Get familiar with the syntax rules for writing formulas in spreadsheets. Opens in new tab .<br><br>So again, here I like to do nothing, so don't put in value there and it's blank again. You can say, you can put any message need a revenue number Understand number formatting and its importance in data presentation. Opens in new tab .<br><br>And now you'll have a message. And once we have a revenue number Understand number formatting and its importance in data presentation. Opens in new tab there, we got a number Understand number formatting and its importance in data presentation. Opens in new tab . But really, here's a funny thing, right? We have this number Understand number formatting and its importance in data presentation. Opens in new tab now, but we don't have expenses. If this number Understand number formatting and its importance in data presentation. Opens in new tab were say, profit per month or expenses per month, you wanted to add more and more.
Right now we only need to have revenue, so we just need that.<br><br>But if you want to say, okay, I want revenue and expenses. Or revenue and profit say, what you can do is wrap Discover how to wrap text in cells for better readability. Opens in new tab it again. So you can say if, do another if is blank. And put in here, say the expenses column. And now again, I'm gonna do a little comma, comma. And we have. Oh, and now we just need to wrap Discover how to wrap text in cells for better readability. Opens in new tab this, I think.<br><br>And oh, that's why. Cuz it's D . That's D See there, now it's blank, right? And now it's gonna be blank until we put in a number Understand number formatting and its importance in data presentation. Opens in new tab here. So it needs both of these. Need revenue number Understand number formatting and its importance in data presentation. Opens in new tab so you can even do.
A little bit. If you know what order they have to go in, you can say something like, need expense need expenses.<br><br>So you can go, okay, we're going to, we know we're gonna know our expenses before we know our revenue. Oh, now we need our revenue. Okay. That's why truly, I don't want any of these numbers cause I know I'm gonna, I'm gonna put in those numbers. So I really want nothing. So I just want these messages to go away.<br><br>Oops. Just want the messages to go away. I'm gonna leave 'em blank.
And so now they're just blanks and these numbers will magically appear when October rolls around and I put in a number Understand number formatting and its importance in data presentation. Opens in new tab . , I put in this number Understand number formatting and its importance in data presentation. Opens in new tab . Boom. We have it right. We just put in any old numbers here and we have these rolling out revenue per month.<br><br>We can see we started the year with $12,000 a month. We ended the year at $15,000 a month. Fantastic. Great. Oh, we got need some more numbers here. Even better.
21,000 Great year. and so this is, shows you how, if you have, if you know you're gonna get an error Find out how to handle errors in your sheets for cleaner data. Opens in new tab , you can use if error Find out how to handle errors in your sheets for cleaner data. Opens in new tab formula Get familiar with the syntax rules for writing formulas in spreadsheets. Opens in new tab to keep 'em blank until you have those numbers or if you know you're gonna have a number Understand number formatting and its importance in data presentation. Opens in new tab and that number Understand number formatting and its importance in data presentation. Opens in new tab doesn't matter.<br><br>You can use if is blank and the if is blank is actually two formulas together. It's the is blank, which is a true false and an if. And the true and false, depending on if is blank, is true or false. It'll either be the first one if it's it is blank. True, or it'll be the second argument Get to know what arguments are and how they work in functions. Opens in new tab .
, or sorry, the second, third argument Get to know what arguments are and how they work in functions. Opens in new tab , if it's true and you just put your formula Get familiar with the syntax rules for writing formulas in spreadsheets. Opens in new tab there, keep your formula Get familiar with the syntax rules for writing formulas in spreadsheets. Opens in new tab there, and now you have a really, what looks like a complicated if statement if heuristic, but it helps you very nicely keep all of this information neat.<br><br>If we were just starting in, January and had all of this this looks terrible. . Yes. Looks great. And now these numbers will magically appear once you fill out revenue and expenses and profit. Hope that helps you figure out and make your sheets better and more aesthetically pleasing.<br><br>In advance. Thanks. Bye bye.</div>