Pinterest Pixel

Excel Array Formulas Explained

An Array Formula performs an Excel operation (math, comparative, join or function argument) on an array or range of... read more

Download Excel Workbook
John Michaloudis
Posted on

Overview

An Array Formula performs an Excel operation (math, comparative, join or function argument) on an array or range of data.  This could be a range of cells, a worksheet reference or a defined name.

An Array contains more than one cell, so you cannot perform an Array Formula on a single cell.

To turn your formula into an Array Formula, you will need to press CTRL+SHIFT+ENTER which will put the squiggly brackets {} outside the formula:

{=MAX(D13:D16C13:C16)}

Let’s break down the different Excel operations that you can use to create an Array Formula:

MATH: +-*/()

COMPARATIVE: =<>

JOIN: &

FUNCTIONS: MAX, MIN, IF, INDEX, VLOOKUP etc


Let’s do an example of an Array Formula that calculates the maximum stock value change over a four day period:

Excel Array Formulas Explained | MyExcelOnline
Download excel workbookArray-Formulas-Intro.xlsx

STEP 1: Enter the MAX formula =MAX(

STEP 2: Subtract one array/range of data from another array/range of data =MAX(D13:D16C13:C16)

See also  Advanced SUMPRODUCT Function: Count

Excel Array Formulas Explained

STEP 3: Instead of pressing ENTER to evaluate the formula, you need to press CTRL+SHIFT+ENTER to turn the formula into an Array Formula which will look like this: {=MAX(D13:D16C13:C16)}

Excel Array Formulas Explained

STEP 4: By pressing F9 on the selected formula array will give you the resulting array of numbers (press CTRL+Z to get out of this mode when you are done checking the formula results):

Excel Array Formulas Explained

Excel Array Formulas Explained

If we had to get the above result using a non-Array Formula we would have to create a helper column which subtracts the Open & Close cells and then enter the MAX formula to reference these results.  This is double the work!

Have a look at the following tutorial on the two methods:

 

 

 

If you like this Excel tip, please share itEmail this to someone

email

Pin on Pinterest

Pinterest

Share on Facebook

Facebook

Tweet about this on Twitter

Twitter

Share on LinkedIn

Linkedin

See also  Excel Pro Tip: Master FORMULATEXT Function in Excel in Minutes!
Founder & Chief Inspirational Officer at MyExcelOnline.com

John Michaloudis is a former accountant and finance analyst at General Electric, a Microsoft MVP since 2020, an Amazon #1 bestselling author of 4 Microsoft Excel books and teacher of Microsoft Excel & Office over at his flagship Academy Online Course.

Get Video Training

Advance your Microsoft Excel & Office Skills with the MyExcelOnline Academy!

Dramatically Reduce Repetition, Stress, and Overtime!
Exponentially Increase Your Chances of a Promotion, Pay Raise or New Job!

Learn in as little as 5 minutes a day or on your schedule.

Learn More!