


How to Use Parentheses, Square Brackets, and Curly Braces in Microsoft Excel
Jun 19, 2025 am 03:03 AMQuick Links
- Parentheses: Controlling the Order of Operations
- Square Brackets: Referencing Column Headers in Tables
- Curly Braces: Defining Array Formulas and Simplifying Logical Arguments
Formulas in Microsoft Excel can contain a wide range of symbols, such as the asterisk (*), the question mark (?), and the "at" (@) sign. Among the most important are parentheses, square brackets, and curly braces, and in this guide, I'll explain how each of these works.
Parentheses: Controlling the Order of Operations
Parentheses—or rounded brackets—are used in Excel to define the order in which calculations are performed.
Think back to your math lessons in school when you were told that equations had to follow a particular order to work correctly. Because Excel essentially acts as an advanced calculator, it follows a specific order when evaluating your formulas.
Your Calculator App Can Be Replaced By Microsoft Excel
A spreadsheet can do much more.
4At its most basic level, Excel follows the PEMDAS order—parentheses, then exponents (also known as indices), then multiplication and division, and finally, addition and subtraction.
Forget VLOOKUP in Excel: Here's Why I Use XLOOKUPOut with the old, and in with the new.
5Finally, parentheses are used in Excel to nest functions. In this example, the SUM function is nested within the IFERROR function so that if the result returns an error, a blank cell is displayed:
=IFERROR(SUM(B2/C2),"")
Square Brackets: Referencing Column Headers in Tables
Square brackets are used in Excel formulas to reference a header in a formatted table.
Everything You Need to Know About Excel Tables (And Why You Should Always Use Them)
This could totally change how you work in Excel.
2Let's say you've been sent this table (called Fruit_Sales), and your aim is to work out the turnover for each item in column F.
To do this, you'll need to multiply the values in column C (RetailPrice) by the values in column E (UnitsSold) for each row.
Starting in cell F2, much like when you create a formula in an unformatted dataset, type the equal (=) sign, and then click the first cell you want to include in your formula. In this case, it's cell C2.
However, notice that as soon as you click this cell, rather than adding the cell reference C2 to the formula, Excel places the column header inside square brackets—also known as a structured reference:
=[@RetailPrice]
Structured references offer several benefits in Excel. Specifically, they make formulas easier to read and understand, they save you from having to remember cell references, and they adjust dynamically to any changes you make to the table's structure or column headers.
Everything You Need to Know About Structured References in Excel
Use table and column names instead of cell references.
You'll also see that an @ symbol (also known as the intersection operator) has been added to the structured reference, which means that Excel will treat each row in this column individually, rather than adding all the values in this column together in the formula.
Next, add the asterisk (*) symbol to create the multiplication, and click cell E2 to insert the second argument. Again, Excel inputs a structured reference to the column header:
=[@RetailPrice]*[@UnitsSold]
When you press Enter, Excel automatically applies the formula to the remaining cells in the column, saving you the effort of doing this manually.
Structured references with square brackets don't just apply to formulas within the table itself.
For example, let's say you want to calculate the total turnover by summing all the values in column F. While you could add a total row to the bottom of the table, you prefer to have the total at the top of the spreadsheet, so that you don't have to scroll down to see it.
In this case, in cell I2, type:
=SUM(
and then hover over the column header until you see a small, black arrow. When you do, click once to select all the cells in that column of the table.
Take a moment to review the reference that has been added to the formula. Notice how, this time, the structured reference with square brackets follows the table name. This is because the formula is outside the table, so Excel needs to add an extra signpost that directs it to the correct table:
=SUM(Fruit_Sales[Turnover]
If You Don’t Rename Tables in Excel, Today’s the Day to Start
What's in a name? Well, quite a lot.
Finally, close the rounded parentheses to complete the formula, and press Enter.
Curly Braces: Defining Array Formulas and Simplifying Logical Arguments
Curly braces in Excel are primarily used to return an array, rather than a single result.
Some functions in Excel return dynamic, spilled arrays by default. For example, here, typing:
=SORT(A1:A3)
into cell C1 returns a result that starts in cell C1, and spills over to cells C2 and C3, as indicated by the blue line surrounding the cells.
However, you can also use this principle to force a function that doesn't automatically produce a dynamic array to generate more than one result.
Let's say you receive bonus payments on the 20th day of every other month, and you want to record these in a spreadsheet.
Rather than type the dates individually in column A, you can use a dynamic array formula with curly braces.
First, select column A by clicking the column header, and in the Number group of the Home tab on the ribbon, select "Date" from the drop-down list.
Excel's 12 Number Format Options and How They Affect Your Data
Adjust your cells' number formats to match their data type.
Then, in cell A2, type:
=DATE(2025,{2;4;6;8;10;12},20)
where 2025 is the year, the numbers in the curly braces represent the months, and 20 is the day.
When you press Enter, Excel returns a result that spills from cell A2 to A7.
Make Excel evaluate your data.
2However, typing each logical argument individually can be time-consuming. Instead, enclosing the criteria within curly braces refines the logical formula and returns the same result:
=IF(OR(A1={5,6,7,8}),"YES","NO")
Other important symbols in Microsoft Excel formulas include the dollar ($) sign, which turns a relative reference into an absolute or mixed reference, the hash (#) sign, which acts as a spilled range operator, and the period (.), which when used in a reference to a range, trims blank cells from the result.
The above is the detailed content of How to Use Parentheses, Square Brackets, and Curly Braces in Microsoft Excel. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undress AI Tool
Undress images for free

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Quick Links Parentheses: Controlling the Order of Opera

This guide will walk you through how to customize, move, hide, and show the Quick Access Toolbar, helping you shape your Outlook workspace to fit your daily routine and preferences. The Quick Access Toolbar in Microsoft Outlook is a usefu

Want to insert dates quickly in Outlook? Whether you're composing a one-off email, meeting invite, or reusable template, this guide shows you how to add a clickable date picker that saves you time. Adding a calendar popup to Outlook email

Whether you've secured a data-focused job promotion or recently picked up some new Microsoft Excel techniques, challenge yourself with the How-To Geek Intermediate Excel Test to evaluate your proficiency!This is the second in a three-part series. The

Quick LinksWhy Deleting Filtered Rows Crashes ExcelSort the Data First to Prevent Excel From CrashingRemoving rows from a large filtered range in Microsoft Excel can be time-consuming, cause the program to temporarily become unresponsive, or even lea

More and more users are enabling dark mode on their devices, particularly in apps like Excel that feature a lot of white elements. If your eyes are sensitive to bright screens, you spend long hours working in Excel, or you often work after dark, swit

Whether you've landed a job interview for a role that requires basic Microsoft Excel skills or you're looking to solve a real-world problem, take the How-To Geek Beginner Excel Test to verify that you understand the fundamentals of this popular sprea

Ever played the "just one quick copy-paste" game with Google Sheets... and lost an hour of your life? What starts as a simple data transfer quickly snowballs into a nightmare when working with dynamic information. Those "quick fixes&qu
