Microsoft 365 Excel For Dummies
Microsoft 365 Excel For Dummies book cover
Explore Book
Microsoft 365 Excel For Dummies
Microsoft 365 Excel For Dummies book coverExplore Book

So, you’re working your way through Microsoft 365 Excel All-in-One For Dummies? That’s a great choice for getting more out of your powerful spreadsheet app. Use this handy Cheat Sheet to keep key Excel information at your fingertips as you build your worksheets and formulas and as you write Visual Basic for Applications (VBA) code in the Visual Basic Editor.

Absolute, relative, and mixed references in Excel formulas

In Excel formulas, you can refer to cells and ranges either relatively or absolutely. You can also create mixed references. Here’s a guide:

  • Relative references: Relative references change when you copy or fill the formula to another cell. For example, say you enter the formula =A1 in cell B1. If you copy the formula to cell C2, Excel changes it to =B2, so the formula still refers to the cell immediately to the left of the cell that contains it.
  • Absolute references: Absolute references stay the same when you copy or fill the formula to another cell. So, if you enter the formula =$A$1 in cell B1, and then copy the formula to cell C2, the formula remains =$A$1. Here, the $ signs indicate absoluteness: $A indicates that column A is absolute, and $1 indicates that row 1 is absolute.
  • Mixed references: Mixed references are either absolute in column and relative in row (such as $A1) or relative in column and absolute in row (such as A$1).

Order of operations in Excel formulas

To make your formulas come out right, you need to know the order in which Excel calculates mathematical operators and syntax in them:

  1. Parentheses
  2. Exponents
  3. Multiplication and division
  4. Addition and subtraction

The initial letters make the acronym PEMDAS. To remember the acronym, use whichever of the following mnemonics you prefer:

  • Please Excuse My Dear Aunt Sally
  • Penguins Enjoy Math During Arctic Summers
  • Purple Elephants March Down A Street

10 essential Excel functions

Which functions you’ll use most in Excel will depend on the type of data you’re crunching and your goals in crunching it. But many worksheets will feature some — or perhaps even all — of these ten essential functions.

Function What It Does
SUM Calculates the sum of a group of values
AVERAGE Calculates the mean of a group of values
COUNT Counts the number of cells in a range that contains numbers
INT Removes the decimal portion of a number, leaving just the integer portion
ROUND Rounds a number to a specified number of decimal places or digit positions
IF Tests for a true or false condition and then returns one value or another
NOW Returns the system date and time
TODAY Returns the system date, without the time
SUMIF Calculates a sum from a group of values, but just of values that are included because a condition is met
COUNTIF Counts the number of cells in a range that match the specified criterion

Building comparison expressions in Excel

A comparison expression— also known as a logical expression or a Boolean expression — is an expression where you compare the items in a range or table column with a value you specify. In Excel, you use comparison expressions to create advanced filters for a table, as well as in functions that require criteria, such as COUNTIF, SUMIF, and AVERAGEIF.

To construct a comparison expression, you enter a comparison operator from the following table below, followed by the value you want to use for the comparison.

Operator Name Example What It Matches
= Equals =100 Cells that contain the value 100
<> Not equal to <>0 Cells that contain a value other than 0
> Greater than >1000 Cells that contain a value greater than 1,000
>= Greater than or equal to >=25 Cells that contain a value equal to or greater than 25
< Less than <0 Cells that contain a negative value
<= Less than or equal to <=927 Cells that contain a value equal to or less than 927

Visual Basic Editor shortcut keys

To work quickly in the Visual Basic Editor, make sure you know the most useful keyboard shortcuts.

Keyboard Shortcut What It Does
Alt+F11 Toggles between the Visual Basic Editor window and the Excel window
Ctrl+R Opens the Project Explorer
F4 Opens the Properties window
F2 Opens the Object Browser
F1 Opens VBA Help
F7 Opens or activates the code window for the selected object or module
F5 Runs the current procedure or continues after pausing
Ctrl+Break Halts the currently running procedure
F8 Steps into the active code, executing one statement at a time
Ctrl+F8 Executes code up until the cursor position
Shift+F8 Steps over another procedure without stepping into it
Ctrl+Shift+F8 Steps out of the current procedure — finishes running it without stepping through every line
F9 Toggles a breakpoint for the selected statement
Ctrl+Shift+F9 Clears all breakpoints from the active procedure
Alt+D, L Compiles the current Visual Basic project

20 Excel for Mac keyboard shortcuts

In Excel, as in many other apps, pressing a keyboard shortcut is often the quickest way to take an action. If you’re using Excel for Mac, make sure you’re familiar with the following 20 essential keyboard shortcuts.

Keyboard Shortcut What It Does
⌘+N Creates a new, blank workbook
⌘+Shift+P Opens the Microsoft Excel dialog box and displays the New pane
⌘+Shift+O Opens the Microsoft Excel dialog box and displays the Recent pane
⌘+S Saves changes to the active workbook
⌘+Shift+S Opens the Save As dialog box
⌘+W Closes the active window
⌘+M Minimizes the active window
⌘+Option+M Minimizes all windows
⌘+Q Quits Excel
⌘+Z Undoes the last action
⌘+Y Redoes the last undone action or repeats the last action
⌘+C Copies the current selection to the Clipboard
⌘+X Cuts the current selection to the Clipboard
⌘+V Pastes the current contents of the Clipboard
⌘+Control+V Opens the Paste Special dialog box
⌘+Option+R Toggles the display of the Ribbon
Shift+F11 Inserts a new worksheet
⌘+K Opens the Insert Hyperlink dialog box
⌘+1 Opens the Format Cells dialog box
⌘+Shift+R Opens the Sort dialog box

About This Article

This article is from the book: 

About the book author:

David H. Ringstrom, CPA, is president of Accounting Advisors, Inc., a spreadsheet and database consulting firm. He is a sought-after speaker on the subject of Microsoft Excel, QuickBooks, and QuickBooks Online. He is also the co-author of the previous edition of QuickBooks Online For Dummies and two previous accounting reference books.

Michael Alexander is a senior consultant at Slalom Consulting with more than 15 years’ experience in data management and reporting. He is the author of more than a dozen books on business analysis using Microsoft Excel, and has been named Microsoft Excel MVP for his contributions to the Excel community.

Dick Kusleika has been helping users get the most out of Microsoft Office products for more than 25 years through online forums, blogging, books, and conferences.

Paul McFedries is a Google® Workspace administrator, a thankless job if ever there was one. Paul is also a full-time technical writer who has somehow found the time to write more than 100 books that have sold more than four million copies worldwide.

Ken Bluttman is a veteran software and web developer specializing in Excel/VBA and database-centric web applications. He has written articles and books on topics like Office/VBA development, XML, SQL Server, and InfoPath. Ken is the author of Excel Charts For Dummies and all previous editions of Excel Formulas & Functions For Dummies.