
What You’ll Learn
Array formulas CSE in Excel are the kind of thing most people stumble into rather than intentionally learn. You are in someone else’s spreadsheet, you click a cell, and the formula bar shows something like {=SUM((A2:A100="North")*(B2:B100>5000)*B2:B100)}. Curly braces. Weird syntax. No idea what you are looking at.
Or maybe you tried to write a formula, it gave you a completely wrong number, and a colleague leaned over and said “did you use Ctrl+Shift+Enter?” You hadn’t. You didn’t even know that was a thing.
Either way, you are here now. By the end of this guide, you will know exactly what array formulas are, why that three-key shortcut matters, how to write and edit them confidently, and how to avoid the mistakes that silently break your calculations.
Start with the basics. An array in Excel is just a collection of values — a row, a column, or a grid of cells. Normal formulas work with one value at a time. Array formulas work with an entire collection at once.
Here is a simple way to think about it. A regular formula is like a single worker at a counter checking one item. An array formula is the whole production line running simultaneously, checking every item at the same time and returning the result at the end. Same job, massively different speed and capability.
Take =A1+B1. Excel looks at A1, gets a number, looks at B1, gets another number, adds them. One value in, one value out, done.
Now imagine you want to sum only the values in column B where column A says “North” and the value is above 5000. A standard formula cannot do that in one step. You would need a helper column, or a long nested formula, or a separate SUMIFS. This is exactly the gap that array formulas exist to fill.
When Excel runs an array formula, it processes every element in the range one by one, does the operation on each, and then delivers either a single summarised result or a full set of individual results — all in one go.
No helper column. No extra steps. One formula, the whole job.
Here is the thing — the most confusing part of all this is not the formula itself. It is the way you enter it. When you have your array formula typed in and ready, you do not press Enter. You press Ctrl+Shift+Enter, all three keys at the same time. This is why these are called CSE formulas. The shortcut is literally baked into the name.
If you press Enter alone, Excel treats your formula as a normal formula. It will attempt to calculate something, but it will not run it as an array operation. In most cases you either get a wrong result or an error, and the frustrating part is that the formula syntax looks perfectly fine. The problem is not the formula — it is the entry method.
Pressing Ctrl+Shift+Enter is your way of telling Excel: run this across the whole range, not just one row.
After you press Ctrl+Shift+Enter, look at the formula bar. You will see your formula wrapped in curly braces:
Excel CSE Formula — Syntax Example
{=SUM((A2:A201="North")*(B2:B201>5000)*B2:B201)}Those braces are Excel confirming the instruction was received. Think of it as a status light turning green. The braces are not part of the formula — they are a signal that array mode is active.
You’ve probably seen the braces and thought: can I just type them myself? You cannot. Typing { before a formula does nothing. Excel ignores manually typed curly braces entirely. The braces only appear when Excel puts them there via Ctrl+Shift+Enter. If you type them yourself, your formula will not work as an array formula — it will either throw an error or return nonsense.
This trips up a surprising number of people. Do not be one of them.
Not all array formulas behave the same way. There are two distinct types and you need to understand both.
This type processes a range of values but delivers one result into one cell. It is the most common type and the one you will use most often. You select one cell, type your formula, press Ctrl+Shift+Enter, and the result appears in that one cell. The conditional sum example is a single-cell array — many values go in, one total comes out.
Advertisement-X
This type processes values and returns multiple results spread across multiple cells. Before entering this type, you have to select the entire output range first. Then type the formula and press Ctrl+Shift+Enter. Excel fills every selected cell with the corresponding output values all at once.
For example, to multiply each value in A2:A10 by the corresponding value in B2:B10 and show all ten results in C2:C10 — select C2:C10, type =A2:A10*B2:B10, and press Ctrl+Shift+Enter. All ten results appear simultaneously.
Multi-cell arrays are powerful but have specific rules around editing and deletion — which we will cover shortly.
Enough theory. Let us look at three real situations where array formulas CSE in Excel solve problems that would otherwise take you several extra steps.
| Example | Use Case | Array Type | Key Function |
|---|---|---|---|
| 1 | Conditional sales sum | Single-cell | SUM + IF logic |
| 2 | Max salary by department | Single-cell | MAX + IF |
| 3 | Return multiple matches | Multi-cell | INDEX + SMALL + IF |
You are a sales analyst. You have 200 orders. Column A has the region. Column B has the order value. You need the total for all North region orders above 5,000.
Excel Array Formula Example — Conditional Sum
{=SUM((A2:A201="North")*(B2:B201>5000)*B2:B201)}Excel checks each row: is it “North”? True = 1, False = 0. Is the value above 5000? Again, 1 or 0. It multiplies both results by the actual value. Rows where both conditions are true keep their value. Rows where either fails become zero. SUM adds everything up. One cell, no helper column.
You work in HR. Column A has employee names, column B has departments, column C has salaries. You need the highest salary in Finance only.
Excel CSE Formula — MAX by Category
{=MAX(IF(B2:B100="Finance",C2:C100))}Excel checks every row. If column B says Finance, it keeps the salary value. If not, the IF returns FALSE and MAX ignores it. The result: highest Finance salary, one cell, no filtering required.
You manage inventory. Column A has supplier names, column B has product names. You want every product from Supplier X listed vertically starting at E2. Select E2:E20, then enter:
Multi-Cell Array Excel Formula — Extract Matching Values
{=IFERROR(INDEX($B$2:$B$100,SMALL(IF($A$2:$A$100="Supplier X",
ROW($A$2:$A$100)-ROW($A$2)+1),ROW(A1))),"")}
This extracts and lists every matching value dynamically across your selected output range — no VBA, no helper columns, one Ctrl+Shift+Enter.
This is where people run into trouble after their array formulas are in place. The rules are a little different from normal formulas.
In a multi-cell array, every cell in the output range is locked together as one unit. If you try to delete a single cell from within that range, Excel will stop you with an error: “You cannot change part of an array.”
This is not a bug. It is Excel protecting the formula from being partially destroyed. You cannot have half an array — the whole thing works together or it does not work at all.
How to Edit an Array Formula Safely
{ }.To delete the entire array formula, select the complete output range first, then press Delete.
A #VALUE! error inside an array formula almost always means Excel hit a text value where it expected a number somewhere in your range. Check for numbers stored as text, blank cells, or stray characters. Clean the data first and the error usually disappears.
Trust me on this — forgetting Ctrl+Shift+Enter is the single most common issue with CSE formulas and it is completely invisible unless you know where to look.
If you enter an array formula with just Enter, one of two things happens. Either Excel returns a result that looks plausible but is only calculated for the first row. Or it throws an error that makes no sense because the formula syntax is actually correct.
The giveaway is always the formula bar. If there are no curly braces around your formula, it is not running as a CSE formula — no matter how right the formula looks.
⚠️ Common Mistake
If you edit an array formula and accidentally press Enter instead of Ctrl+Shift+Enter when you are done, you will silently convert it from an array formula to a regular formula. The curly braces vanish. Your results quietly become wrong. Always glance at the formula bar after editing to confirm the braces came back. This one habit will save you a lot of confusion.
If you try to delete some but not all of the cells in a multi-cell array, Excel will block you. The fix is always the same: select the entire array range first. If you are not sure which cells belong to the array, click any cell inside it and press Ctrl + / — Excel will highlight the full range for you.
Here is something a lot of older tutorials skip entirely — and it matters more now than ever.
If you are on Excel 365 or Excel 2021, Microsoft has introduced dynamic array functions — FILTER, UNIQUE, SORT, SEQUENCE, and others. These functions spill results automatically into adjacent cells without any Ctrl+Shift+Enter. No locked ranges. No partial-deletion errors. Much easier to edit.
For example, instead of that complex multi-cell CSE formula to return matching items from a supplier, you can write:
Excel 365 Dynamic Array Alternative
=FILTER(B2:B100,A2:A100="Supplier X")That is it. No CSE required. It spills automatically.
Even if you are on an older version, SUMPRODUCT is often a cleaner alternative to CSE for conditional calculations. It gives you the same result without Ctrl+Shift+Enter:
SUMPRODUCT — No CSE Required
=SUMPRODUCT((A2:A201="North")*(B2:B201>5000)*B2:B201)SUMPRODUCT handles arrays natively. It is easier to edit, less prone to accidental conversion, and works in every version of Excel. For a deeper look, check out the XplorExcel lesson on SUMPRODUCT — it covers this function in full detail and pairs naturally with everything you are learning here.
Go to File → Account → About Excel. The version is listed there. Microsoft 365 means you have dynamic arrays. Excel 2019 or earlier means CSE is still your primary tool.
You’ve probably seen the curly braces in someone’s formula and wondered what they meant. Here is the short answer.
Definition: What Is an Excel Curly Braces Formula?
An Excel curly braces formula is an array formula. The braces { } appear automatically in the formula bar after you press Ctrl+Shift+Enter. They tell you — and Excel — that this formula is running in array mode, processing multiple values simultaneously rather than a single value. You cannot type them manually. They only appear when Excel applies them via the Ctrl+Shift+Enter shortcut.
How to Enter an Array Formula in Excel
{ } braces around your formula.💡 Pro Tip
Before reaching for a CSE formula, ask yourself: can SUMPRODUCT do this? For conditional sums and counts, SUMPRODUCT is almost always easier to write, edit, and maintain. Reserve CSE for situations where you specifically need multi-cell array output, or where the logic is too complex for SUMPRODUCT to handle.
For more on building advanced conditional logic, the XplorExcel lesson on the advanced IF function is worth reading alongside this one — the patterns overlap heavily.
🧪 Try It Yourself
Open a blank workbook and set this up:
Column A (rows 2–11): North, South, North, East, North, South, East, North, West, North
Column B (rows 2–11): 3000, 7000, 8000, 4500, 6000, 5500, 2000, 9000, 3500, 7500
In cell D2, type this formula and press Ctrl+Shift+Enter:
=SUM((A2:A11="North")*(B2:B11>5000)*B2:B11)The correct answer is 30500. Qualifying rows: row 3 (8000), row 5 (6000), row 8 (9000), row 10 (7500).
Confirm the curly braces appear in the formula bar. If your result is different, check whether you pressed Ctrl+Shift+Enter or just Enter.
Bonus: Press F2, change “North” to “South” and 5000 to 4000, then press Ctrl+Shift+Enter. The answer should be 12500.
📚 External Resources
The authoritative Microsoft reference covering array formula rules, version behaviour, and technical guidelines.
Visual breakdowns and worked examples of array formula patterns — excellent companion reading for this lesson.
← Previous Lesson
Advanced Pivot Tables in ExcelNext Lesson →
Financial Functions in ExcelAdvertisement-X