excel_course

Excel course

Basic topics

Change language

Using Excel in English is a good idea because it’s easier to find help online. To change the language, go to File > Options > Language and set the Display Language to English. Then restart Excel.

Change language

Select a range of cells

In order to select all cells in the current sheet, press the small square button in the top left corner of the sheet, between the column and row headers.

💡 TIP: You can also use the keyboard shortcut Ctrl + A.

To select entire rows or columns, click on the row or column header. To select multiple rows or columns, click on the first row or column header and drag the mouse until satisfied.

To select a range of cells, click on the first cell and drag the mouse to the last cell. To select multiple ranges of cells, hold the Ctrl key while selecting the ranges.

💡 TIP: To expand or shrink the selection, press and hold the Shift key while using the arrow keys. Use Ctrl + Shift + Arrow to expand the selection to the last non-empty cell.

Select a range of cells

Resize rows and columns

To resize rows and columns, hover the mouse on their borders, then click and drag the border to the desired size.

💡 TIP: If you select multiple rows or columns and resize them, they will all be resized to the same size.

Auto-resize rows and columns

To auto-resize columns, double-click on the right border of the column header. You can also select multiple columns and double-click the border of any of them to resize all.

The same applies to rows.

Auto-resize rows and columns

Add a new line in a cell

To add a new line in a cell, simply press Alt + Enter. To facilitate writing, you can also expand the text box by pressing the arrow on the right side of it. Then drag the lower border to expand vertically.

Add a new line in a cell

Wrap text

If you have a long text inside a cell and you want it to be wrapped according to the cell width, you can use the Wrap Text button in the Home tab.

Wrap text

Freeze panes

There are 3 ways to freeze panes:

To access these options, go to View > Freeze Panes. Options are: Freeze Panes, Freeze Top Row, and Freeze First Column.

Two of the options are self-explanatory. To freeze a custom range instead, select the first cell of the sheet that you want to move. Now click on View > Freeze Panes > Freeze Panes. This will freeze all rows and columns above and to the left of the selected cell.

Freeze panes

Once frozen, go to View > Freeze Panes again, and notice that a new option is available: Unfreeze Panes.

Merge cells

To merge cells, select the cells you want to merge and click on Home > Merge & Center. Click it again to unmerge the cells.

Cell types

There are multiple cell types, each type influences how the cell is displayed to the user. Changing the cell type never changes the value of the cell, what changes is how the value is displayed.

The main cell types are:

💡 TIP: Many of the above formats have a number of possible customizations. Click More Number Formats from the cell type dropdown to access them.

Advanced copy paste

When copy-pasting cells, you can choose what to paste.

To access the advanced paste menu, right-click on the cell that you want to fill.

Advanced copy-paste

Options, going left to right, are:

The Paste Special menu contains other less common options.

💡 TIP: To copy formatting, you can also select the source cells and click Format Painter from the Home tab. Then, select the cells to paste the formatting to.

Format Painter

Clear cells

To clear cells, select the cells you want to clear and click on Home > Clear. Options are:

Formulas

The main purpose of Excel is to perform calculations based on the data in the cells. This is done via formulas.

To create a formula, select a cell and type =. From now on, the cell will execute the formula rather than showing what you typed.

A simple example is =1+1. This formula will show 2 in the cell.

You can also reference other cells. For example, if you type =A1, the cell will show the value of the cell A1. If you type =A1+A2, the cell will show the sum of the values of the cells A1 and A2.

💡 TIP: You can also reference cells from other sheets. For example, if you type =Sheet2!A1, the cell will show the value of the cell A1 in the sheet Sheet2.

Basic operators

To operate on values, you can use the following symbols:

Operators work on specific types of values. For example, the math operators work on numbers, the & on text. Other operators such as =, >, <, and <> work on logical values and output TRUE or FALSE. For example, =2<5 outputs TRUE.


Throubleshooting

Having “#####” inside a cell

This happens when the cell is too short to display the value. To fix it, simply resize the cell.

Unexpected numbers when copy-pasting dates

Dates are internally represented via numbers. Therefore, when copy-pasting dates, if an unexpected number shows up, the problem is probably that the destination cell doesn’t have the correct cell type.

See also the Cell types section.

Unexpected warning “There’s already data here. Do you want to replace it?” or “This operation will cause some merged cells to unmerge”

This might happen when you try to move a range of cells partially over themselves. To avoid the error, first move the selection to an empty space and only then move it to the desired location.