Excel
Excel cheat sheet
Keyboard shortcuts, data types, formatting, cell references, operators, common mistakes, and importing and exporting data.
- 14 Sections
- 25 Shortcuts
01
Keyboard shortcuts
Excel for Microsoft 365 on Windows. The shortcuts you will use most often.
Shortcuts that start with Alt (for example Alt, H, O, I) are pressed one key after another, not together. Press Alt to show KeyTips, the small letters on each ribbon button. AutoFit is Alt, H, O, I or a double-click on the right border of the column heading. To fit every column at once, press Ctrl+A first, then Alt, H, O, I.
02
Data types
Excel treats each type of data differently. The wrong type stops formulas from calculating.
Text
Letters, words, or numbers stored as text. Left-aligned by default. Example: Customer Name. A leading apostrophe forces text: '001234 keeps the leading zeros.
Number
Values you can calculate with. Right-aligned by default. Examples: 1234.56, -50, 0.25.
Date and time
Stored as a serial number and displayed as a date. January 1, 1900 is 1. The display order (DD/MM/YYYY or MM/DD/YYYY) follows your Windows regional settings.
Formula
Starts with =. The cell shows the result, and the formula appears in the formula bar. Examples: =A1+B1, =SUM(A1:A10), =IF(B2>100,"OK","Low").
Numbers stored as text are ignored by SUM. Signs: the number is left-aligned and a small green triangle appears in the cell corner. Fix: select the cells, click the warning icon, then Convert to Number. Alternative: Data → Text to Columns → Finish.
03
Number formats
Ctrl+1 opens every option in Format Cells. These shortcuts apply the most common formats.
To apply a format several times, double-click the Format Painter button on the Home tab. It stays on until you press Esc.
04
Workbooks and worksheets
Dashboard data is usually spread across several sheets. Understand the structure first.
Workbook
One Excel file (.xlsx). A workbook can contain many worksheets.
Worksheet
One tab at the bottom of the window. Double-click a tab to rename it.
Refer to another sheet
Write the sheet name, an exclamation mark !, then the cell address: =Sales!B5. Sheet names with spaces need single quotes: ='Jan Sales'!B5.
Total across sheets
=SUM(Jan!B2:B10)+SUM(Feb!B2:B10) adds the same range from two sheets.
Switch sheets
Ctrl+PgDn moves to the next sheet. Ctrl+PgUp moves to the previous sheet.
New sheet
Shift+F11 inserts a new worksheet.
05
Cells, rows, columns, and ranges
How to read a cell address. You need this before writing formulas.
| Term | Written as | Meaning |
|---|---|---|
| Cell | A1 | Column A, row 1. One box. |
| Range | A1:B10 | From A1 to B10: 2 columns × 10 rows = 20 cells. |
| Entire column | A:A | Every row in column A. Many formulas with full-column references can slow down a large workbook. |
| Entire row | 5:5 | Every column in row 5. |
| Several ranges | =SUM(A1:A10,C1:C10) | Separate ranges with a comma to add two separate ranges. |
In some regional settings, the argument separator is a semicolon (;) instead of a comma.
06
Cell references and the $ sign
The $ sign locks the column letter or row number so it does not change when you copy a formula.
| Reference | Type | When the formula is copied | Example |
|---|---|---|---|
A1 | Relative | Column and row both change | =A1+10 filled down becomes =A2+10, =A3+10 |
$A$1 | Absolute | Column and row both stay | =$A$1+10 filled down stays =$A$1+10 |
$A1 | Mixed, column locked | Column stays A, row changes | Filled right it stays $A1. Filled down it becomes $A2. |
A$1 | Mixed, row locked | Row stays 1, column changes | Filled right it becomes B$1. Filled down it stays A$1. |
The $ sign locks the part that follows it. Mixed references are useful in two-way tables, such as a multiplication table.
07
Switch reference types with F4
The quickest way to add or remove $ signs.
How
While editing a formula, place the cursor in a cell reference or select it. Then press F4.
Cycle
A1 → $A$1 → A$1 → $A1 → back to A1. Each press moves to the next type.
Example: tax rate
The tax rate is in B1. In C4, type =A4*$B$1 and fill down. The A4 reference follows each row, while B1 stays fixed.
On many laptops you need to hold the Fn key with F4. Outside edit mode, F4 repeats your last action.
08
Math operators
Excel uses keyboard symbols, not handwritten math symbols.
| Symbol | Operation | Example | Result |
|---|---|---|---|
+ | Addition | =5+3 | 8 |
- | Subtraction | =10-4 | 6 |
* | Multiplication (asterisk) | =6*7 | 42 |
/ | Division (forward slash) | =20/4 | 5 |
^ | Exponent | =5^2 | 25 |
% | Percent | =200*10% | 20 |
& | Join text | =A1&" "&B1 | First name, space, last name |
Common beginner mistakes: typing the letter x to multiply (=5x3) or the ÷ symbol to divide. Neither is valid. Use * and /. Every formula must start with =. Without it, Excel stores the entry as text.
09
Order of operations (BODMAS)
Excel calculates in this order, from top to bottom. Operators on the same level are calculated from left to right.
| Order | Operator | Meaning |
|---|---|---|
| 1 | ( ) | Parentheses. Anything inside is calculated first. |
| 2 | - | Negation, for example -5 |
| 3 | % | Percent |
| 4 | ^ | Exponent |
| 5 | * / | Multiplication and division |
| 6 | + - | Addition and subtraction |
| 7 | & | Join text |
| 8 | = < > <= >= <> | Comparison |
=2+3*4 returns 14 because multiplication comes first (3×4 = 12, then 2+12). =(2+3)*4 returns 20 because parentheses come first. Watch out for =-2^2: the result is 4, not -4, because negation is applied before the exponent. Write =-(2^2) to get -4.
10
Comparison operators
The result is TRUE or FALSE. Used in IF, COUNTIF, SUMIF, and other conditional functions.
| Operator | Meaning | Example (A1 = 80) | Result |
|---|---|---|---|
= | Equal to | =A1=80 | TRUE |
<> | Not equal to | =A1<>80 | FALSE |
> | Greater than | =A1>90 | FALSE |
< | Less than | =A1<90 | TRUE |
>= | Greater than or equal to | =A1>=80 | TRUE |
<= | Less than or equal to | =A1<=79 | FALSE |
Excel uses a single = for equality, not ==. In COUNTIF and SUMIF, put the comparison criteria in quotes: =COUNTIF(B2:B20,">=80").
11
Typing comparison operators
Key positions for a US keyboard layout.
Greater than or equal to
Press Shift + period (.) for >, then press =. The result is >=.
Less than or equal to
Press Shift + comma (,) for <, then press =. The result is <=.
Two characters, not one symbol
>= and <= are two characters typed in sequence. Excel does not accept the math symbols ≥ or ≤ as operators.
Character order
The = sign always comes second. >= and <= are valid. => and =< are not valid operators.
Example in IF
=IF(A1>=80,"Pass","Fail") shows Pass when A1 is 80 or more, and Fail when it is below 80.
12
Common mistakes
Avoid these so your dashboards and reports show the right numbers.
Good practice
- Convert ranges into Excel tables (Ctrl+T). Tables expand when you add data, have a name, and support structured references.
- Keep constants such as tax rates and exchange rates on one dedicated sheet, for example "Inputs".
- Use a consistent color code: input cells yellow, formula cells white, output cells green.
- Explain complex formulas with a comment or note on the cell.
13
Importing data
Bring data into Excel from files and other sources.
| Source | How | Notes |
|---|---|---|
| Data → Get Data → From File → From PDF | Excel detects tables in the PDF. Microsoft 365. | |
| Word | Copy the table in Word, then paste it into Excel (Ctrl+V) | The simplest method. If the data comes out jumbled, save the Word document as .txt first and import it as text. |
| CSV / TXT | Open the file directly, or Data → From Text/CSV | Choose the delimiter (comma, tab, semicolon) and the encoding. Use UTF-8 for special characters. |
| Web | Data → From Web, then paste the URL | Excel reads tables on the web page. Refresh to update the data. |
| Picture | Data → From Picture, from a file or the clipboard | Excel reads table data from an image. Check the result before you use it. Microsoft 365. |
| Database | Data → Get Data → From Database (SQL Server, Access, and others) | For large data sets. The connection can be refreshed without copying the data again. |
Dates and number formats sometimes change when you import from CSV or text. Check a few rows after importing.
14
Saving and exporting
Save a workbook in another format to share or report it.
| Format | How | When to use |
|---|---|---|
.xlsx | Save (Ctrl+S), the default format | Everyday work. Formulas, charts, and formatting are kept. |
.csv | File → Save As → CSV UTF-8 (Comma delimited) or CSV (Comma delimited) | Share raw data or import it into databases and other systems. Choose UTF-8 if there are special characters. |
.pdf | File → Export → Create PDF/XPS Document | Final reports for clients or managers. Not easy to edit again. |
.xls | File → Save As → Excel 97-2003 Workbook | For recipients still on old versions of Excel. Rarely needed. |
.xlsb | File → Save As → Excel Binary Workbook | Large files with a lot of data. Smaller file size and faster to open. |
| Ctrl+P | Paper copies. Set the Print Area first (Page Layout → Print Area → Set Print Area). |
CSV saves only the values of the active sheet. Formulas, formatting, charts, and other sheets are lost, so save an .xlsx copy first. PDF follows the Print Area and Page Setup. Set both before exporting so tables are not split across many pages. A PDF cannot be converted back to Excel cleanly, so always keep the original .xlsx file. To share formulas, send the .xlsx. To share data only, a .csv opens in almost any software.
Have a specific question?
The AI tutor answers questions about Excel in English or Malay.