In Excel: in Microsoft 365 just type the formula and press Enter — it spills automatically; in older versions the same formula needs Ctrl+Shift+Enter, which is what the surrounding braces mean.
On this page7
Write the formula against whole ranges rather than single cells.
On Microsoft 365 press Enter — a multi-value result spills into the cells below or beside it.
On Excel 2019 and earlier press Ctrl+Shift+Enter, and never type the braces yourself.
To refer to a whole spilled range elsewhere, use the top-left cell followed by # — D2#.
On #SPILL!, inspect the error indicator and intended range before changing cells; a blocked range is only one possible cause.
To edit a legacy CSE array you must select its whole block; Excel refuses to change part of one.
What this does
An array formula operates on whole ranges at once instead of a cell at a time. =SUM(B2:B100*C2:C100) multiplies each pair and totals the results in one step, with no helper column. The history matters because it explains almost every problem people hit: before Microsoft 365, such a formula had to be committed with Ctrl+Shift+Enter, and Excel showed it wrapped in braces {…} that you must never type yourself. Microsoft 365 replaced that with dynamic arrays: a formula returning several values simply SPILLS into the neighbouring cells, marked by a blue border, and the top-left cell is referenced elsewhere as B2# with a hash. If a multi-value result cannot spill, Excel may show #SPILL!; inspect its error indicator to distinguish a blocked range from other causes. Old CSE formulas keep working in 365, and legacy files opened in 365 keep their braces. The same idea underpins a lot of everyday Excel work, so the few minutes spent getting it right here pay back across every sheet you build afterwards. Treat it as a pattern, not a one-off, and it stops being something you look up and starts being something you reach for. Treat “array formula excel mac” as a small repeatable workflow rather than a one-off click you hope to remember next time. Use a small test block before the live file, so any surprise in the affected formula shows up while it is still harmless. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. That turns a workflow that saves repeating the same clicks every week into a method you can reuse, explain, and defend when the workbook leaves your screen.
A worked example
Quantities in B2:B100 and unit prices in C2:C100, and you want the order total without a line-total column. =SUM(B2:B100*C2:C100) — press Enter on Microsoft 365, or Ctrl+Shift+Enter on Excel 2016, where it appears as {=SUM(B2:B100*C2:C100)}. On 365, =SORT(UNIQUE(A2:A500)) typed into one cell spills the whole distinct sorted list down the column; referring to it elsewhere as D2# keeps up as the list grows or shrinks. Dynamic arrays removed the single most confusing keystroke in Excel, and knowing which era a formula came from explains most of what looks broken about it. Check the referenced cells, argument order and result type in your workbook. Start with the worked example before changing an input, then compare the changed result with the calculation you expected. An error value or a result of a different type is a reason to inspect the inputs and arguments.
In Google Sheets
The standard worksheet functions used by this example are listed in Google Sheets. Check the cell references, argument separators and input types in the target spreadsheet, then compare the worked result. This formula-availability check does not establish identical menus, keyboard shortcuts or workbook features, and it is not a product execution test. Nothing on this page is behind a login or a download: the exact answer is at the top, and the detail below it is there for when you need it. That is the whole promise here — the answer first, and just enough context to make it stick. For “array formula excel mac”, keep the input cells and the result visible while you check the formula in Excel. Follow the worked example and change one input at a time. The steps explain the workbook calculation; this page does not run a live calculator for that task.
Common mistakes
- Typing the braces by hand — that makes it text, not an array formula.
- Pressing Enter on a pre-365 array formula, which usually returns just the first value with no error.
- Applying an array formula to entire columns (
B:B*C:C) and calculating a million rows for a hundred of data. - Assuming every
#SPILL!means blocked cells; Excel can also report a Table formula, merged cells, sheet-edge overflow, or unstable output size. - Inserting a row inside a spill range and being surprised the result moves — the range belongs to the formula, not to the cells.
Frequently asked questions
What is an array formula?
One that works on whole ranges at once rather than a single cell, such as =SUM(B2:B100*C2:C100), which pairs up the values and totals the products with no helper column.
Do I still need Ctrl+Shift+Enter?
Not in Microsoft 365, where array formulas spill on plain Enter. In Excel 2019 and earlier, yes — the braces Excel shows are the sign it was committed that way.
What does #SPILL! mean?
Excel cannot place a multi-value result in the grid. Select the formula cell and read the error indicator: the cause may be occupied cells or another spill constraint. See the linked #SPILL! diagnostic guide for the matching fix.
What does the # after a cell reference mean?
It refers to the whole spilled range starting at that cell — D2# is every cell the formula in D2 produced, however many that turns out to be.
Other ways people ask this
This is also commonly searched as “excel array formula”, “excel array formulas”, “excel arrays in formulas” and “excel formula array”. They describe the identical operation, so you are in the right place no matter how you phrased it.
Why do people search for this in so many different ways?
Because the same task has many names. “excel array formula”, “excel array formulas”, “excel arrays in formulas” all point at the one operation explained on this page, which is why they all lead here.