Array formulas in Excel - Tutorials and examples
An array formula is a formula that can perform multiple calculations of one or more items in an array. Array formulas can return multiple values or a single result. Today Dexterity Software will introduce readers to some common array formulas that are used often.
Example of a multi-cell array formula
You have a detailed list of quantity and unit prices of some items sold in the month:
To calculate the total sales, you must calculate the sales of each item, then add up.
Instead of the above, replace it with the above = SUM (C4: C13 * D4: D13) and press Ctrl + Shif + Enter .
Note: For an array formula, you must use Ctrl + Shift + Enter to end the formula otherwise it will produce an error.
Example of array formulas to create constants
You create the array constant by entering the list of items, then enclosing the list in curly braces. For example, you need to enter the list of Apple, Lemon, Orange. You choose cell A3: C3. In the formula bar, type = {"Apple", "Lemon", "Orange"}. Then press Ctrl + Shif + Enter .
And this is the result:
Some other examples use array formulas
In addition to the SUM function example as above, you can use array formulas with other functions like Left, Right, Mid, Max, Min, If .
LEFT, RIGHT, MID and array formulas
Consider the following example for the data array:
The MAX function uses an array of data
To find the maximum value of AB in the example below:
You must perform two calculations, first you calculate the difference of points A and B, then find the maximum value.
Instead of having to do the above two steps, you use the array formula = MAX (B4: B12-C4: C12) and press Ctrl + Shiff + Enter .
Above Software Tips showed you how to use array formulas in Excel. Good luck!
You should read it
- MS Excel - Lesson 5: Excel formulas and functions
- Guidelines for importing Chemistry formulas in Excel
- Instructions on how to copy formulas in Excel
- How to create an Excel formula in Notepad ++
- How to color formula cells in Excel automatically
- How to delete quick recipe on Excel
- Array (Array) in C #
- Array (Array) in C / C ++
May be interested
- How to fix font jump error in Wordwhat do you do when the copy process, the data you want to copy encounter error correction. read the following article of tipsmake.com to know how to fix font jump errors in word.
- PMT function in Excel - Usage and examplesthe pmt function is one of the built-in financial functions of the excel software used to calculate the payment for a loan based on regular payments and a constant interest rate. the pmt function is not only useful for businesses, but also very practical for users if you want to calculate a loan.
- Primary font, practice writing beautiful fontprimary font, practice writing beautiful font. the handwriting strokes of the students are always the most beautiful handwriting of each of us because then we are honed and molded the handwriting carefully from teachers and teachers. if you loved the handwriting, but couldn't write as well as a kid.
- What is WordPad? Compare the differences between Notepad, WordPad and Wordwhat is wordpad? compare the differences between notepad, wordpad and word. on windows operating systems there are many different editing tools for users. but not everyone knows all those drafting tools on windows. the three main drafting tools on windows are notepad, wordpad and word.
- Adding 1 or more blank lines in Excel is extremely fastadding one or more blank lines in excel is a simple trick every excel user should know to be able to use this office software better. because of that, tipsmake.com we have written this tutorial for all interested readers.
- Page numbering in Excel does not start from 1excel does not split separate pages like in word, but when printed, they will need to be broken down into individual pages. and you can also number the page for excel like word, can optionally number the page from one or page numbering in excel does not start from 1.