00:00If you want to calculate inventory balance in Excel, we will need to add up all incoming units
00:05and subtract it with a total of outgoing unit like this. As you can see, I'm already breaking
00:11sweat entering formulas for just 20 days worth of inventory. Well, that's a much, much more
00:18efficient way to handle it. And here's how you do it. We're going to start off with sum if function
00:23to add all the incoming inventory. We're going to say sum if. And the first argument on sum if
00:30will be a criteria range, which is going to be the whole row of in and out like this here.
00:36I'm going
00:36to press F4 to make both row and column absolute. And then the second argument in there would be
00:43the condition itself. Well, we're looking for incoming. We're going to say in. And the third
00:48argument is your summing range, which is going to be this row here for my pencils inventory here.
00:55So technically what this does is that it's going to sum up only numbers that are under the in column
01:01like this. And as you have guessed it, for the outgoing, we're going to use sum if again. The
01:09first argument is your criteria range, which is going to be in and out. And the condition for that
01:14would be out like this, because we're looking for outgoing inventory here. And then the third
01:20argument, which is a summing range, would be this entire row for pencils again. So what this function
01:27does, the second sum if function does, is basically add up all these outgoing numbers here, like 42, 40,
01:33and 15, and so on. So after that hit enter, you can see that it produces the same value as
01:39the
01:39previously manually entered summing function here. So after that, apply the same formula for the
01:44rest of the row and job is complete.