Hi. In this Excel tutorial, we'll go over what an array formula is in Excel, how to use one and end with some tips to keep in mind when
using array formulas. First, in Excel an array refers to a group of values – they could be in a row, column or both. An array formula is a
formula that will perform calculations on the array. This probably sounds weird given that the purpose of all formulas is to calculate
something, so, let's take a quick look. On my screen is some sales data by month. So, let's say I want to figure out the total dollars sold in
that month. I could multiply the data in each row separately or I could use an array formula.
To do this, we first need to highlight all the cells where we want the array formula to be in, then type the equal sign,
and highlight the first column that we want to multiply -
and I'm using columns here, but you can just as easily do this for rows – then, we'll do an * to multiply, and highlight the next column we
want to multiply by, and then press Ctrl+Shift+Enter. And, FYI, to create an array formula,
you have to press Ctrl+Shift+Enter. Otherwise, you'll just create a regular formula.
You'll know you created an array formula when you see these curly brackets.
And notice how our data is multiplied for each month. And then, to cross check it, you can just multiply your quantity sold by your average
dollar sold. And notice that's exactly what the array formula did, except with less strokes. Let's delete this.
Ok, so, why is this helpful to use when, really, we could have just multiplied and copied the formulas down? Well, for starters, you're using
only one formula instead of 12. So, each time you add a formula to your spreadsheet it uses up just a little bit more memory. And if
you're working with a large data set this can affect how much time your spreadsheet will need to recalculate and refresh.
And, because you are typing just one formula, this can save you time as you're working. And, by the way, if you find this tutorial helpful
please make sure to click Like and subscribe to the channel so you catch new tutorials right as they come out.
We can also use other functions in array formulas. So, we just input an array formula across multiple cells to get the total sold
by month, but what if we need to figure out the total for the year?
This involves multiplying each row and then summing the totals...OR we can combine these calculations by using an array formula.
...let's come down here... And, to do that, we'll type =SUM( and we'll select all the quantity sold,
multiply
by all the average dollars per sale,
and then press Ctrl+Shift+Enter again.
And this gives us our total dollars sold for the year. ...just format all these...
So, what's important to keep in mind when working with array formulas? Well, first Ctrl+Shift+Enter is important. If you don't
press it to exit your formula, you will not have an array formula. 2. If you step into your formula, like when using F2, and don't press
Ctrl+Shift+Enter to exit, you will erase the array formula.
In the case that your calculation is in a single cell, like in our total here, and you accidentally exit without pressing Ctrl+Shift+Enter, all you
need to do is just step back into the formula and press Ctrl+Shift+Enter to exit and this will fix it.
3. When you're applying an array formula across multiple cells, like we did here to figure out the dollars by month, you can't edit just one
cell. Notice an error if I try to step into a cell and make an edit.
Now, what you can do is edit the range, ...let's get out of this... making sure to press Ctrl+Shift+Enter
when you're done.
And notice that this changed the range for all of them, giving us an error down here because this is now outside of the range.
Let's undo this. 4. To delete an array formula in multiple cells, you'll need to select all of the cells that contain that array formula and
click Delete. And let's undo this. 5. In case you're curious, no, you can't just use the keyboard to type curly brackets,
you have to press Ctrl+Shift+Enter. And, lastly, consider your audience. If you'll be sharing your spreadsheet with others who may want to
make edits to it, consider whether or not they're familiar with and know how to use array formulas -
and you can always just send them a link to this tutorial - but if they do not know what they are, they may accidentally break the formula,
affecting results displayed for the data. If you enjoyed this tutorial on how to use array formulas in Microsoft Excel, please make sure
to Like the video and don't forget to subscribe to this channel. Thanks!



For more infomation >> What is the Lawyer's Role When Working For the Seller? - Duration: 2:20. 
Không có nhận xét nào:
Đăng nhận xét