Range Formulas and Functions: Microsoft Excel
Range Formulas and Functions: Microsoft Excel
Range Formulas and Functions: Microsoft Excel
Microsoft Excel is one of the most used software applications of all time.
Hundreds of millions of people around the world use Microsoft Excel. You can
use Excel to enter all sorts of data and perform financial, mathematical or
statistical calculations.
1 Range: A range in Excel is a collection of two or more cells. This chapter gives
an overview of some very important range operations.
2 Formulas and Functions: A formula is an expression which calculates the value
of a cell. Functions are predefined formulas and are already available in Excel.
Ribbon
The tabs on the ribbon are: File, Home, Insert, Page layout, Formulas, Data,
Review and View. Excel selects the ribbon's Home tab when you open a
workbook.
Customize the Ribbon
You can easily create your own tab and add commands to it.
1. Right click anywhere on the ribbon, and then click Customize the Ribbon.
Note: you can also add new groups to existing tabs. To hide a tab, uncheck the
corresponding check box. Click Reset, Reset all customizations, to delete all
Ribbon and Quick Access Toolbar customizations.
Collapse the Ribbon
You can collapse the ribbon to get extra space on the screen. Right click
anywhere on the ribbon, and then click Collapse the Ribbon (or press CTRL +
F1).
Workbook
A workbook is another word for your Excel file. When you start Excel, click Blank
workbook to create an Excel workbook from scratch.
Worksheet
A worksheet is a collection of cells where you keep and manipulate the data.
Each Excel workbook can contain multiple worksheets.
Select a Worksheet
When you open an Excel workbook, Excel automatically selects Sheet1 for you.
The name of the worksheet appears on its sheet tab at the bottom of the
document window.
Insert a Worksheet
You can insert as many worksheets as you want. To quickly insert a
new worksheet, click the plus sign at the bottom of the document window.
Result:
Rename a Worksheet
To give a worksheet a more specific name, execute the following steps.
1. Right click on the sheet tab of Sheet1.
2. Choose Rename.
Result:
Delete a Worksheet
To delete a worksheet, right click on a sheet tab and choose Delete.
1. For example, delete Sheet2.
Result:
Copy a Worksheet
Imagine, you have got the sales for 2016 ready and want to create the exact
same sheet for 2017, but with different data. You can recreate the worksheet, but
this is time-consuming. It's a lot easier to copy the entire worksheet and only
change the numbers.
1. Right click on the sheet tab of Sales 2016.
2. Choose Move or Copy.
The 'Move or Copy' dialog box appears.
3. Select (move to end) and check Create a copy.
4. Click OK.
Result:
Note: you can even copy a worksheet to another Excel workbook by selecting the
specific workbook from the drop-down list (see the dialog box shown earlier).
Format Cells
Note: Excel gives you a life preview of how the number will be formatted (under
Sample).
5. Click OK.
Cell B2 still contains the number 0.8. We only changed the appearance of this
number. The most frequently used formatting commands are available on the
Home tab.
6. On the Home tab, in the Number group, click the percentage symbol to apply a
Percentage format.
8. On the Home tab, in the Font group, add outside borders and change the font
color to blue.
Result:
You can use Excel's Find and Replace feature to quickly find specific text and
replace it with other text. You can use Excel's Go To Special feature to quickly
select all cells with formulas, comments, conditional formatting, constants, data
validation, etc.
Find
To quickly find specific text, execute the following steps.
1. On the Home tab, in the Editing group, click Find & Select.
2. Click Find.
Replace
To quickly find specific text and replace it with other text, execute the following
steps.
1. On the Home tab, in the Editing group, click Find & Select.
2. Click Replace.
The 'Find and Replace' dialog box appears (with the Replace tab selected).
3. Type the text you want to find (Veneno) and replace it with (Diablo).
4. Click 'Find Next'.
Excel selects the first occurrence. No replacement has been made yet.
5. Click 'Replace' to make a single replacement.
3. Click Go To Special.
Note: Formulas, Comments, Conditional formatting, Constants and Data
Validation are shortcuts. They can also be found under Go To Special.
4. Select Formulas and click OK.
Note: you can search for cells with formulas that return Numbers, Text, Logicals
(TRUE and FALSE) and Errors. These check boxes are also available if you
select Constants.
Excel selects all cells with formulas.
General note: if you select a single cell before you click Find, Replace or Go To
Special, Excel searches the entire worksheet. To search a range of cells, first
select a range of cells.
Keyboard Shortcuts
Keyboard shortcuts allow you to do things with your keyboard instead of your
mouse to increase your speed.
Basic
Select cell B2.
1. To select the entire range, press CTRL + a (if you press CTRL + a one more
time Excel selects the entire sheet).
2. To copy the range, press CTRL + c (to cut a range, press CTRL + x).
3. Select cell A6 and press CTRL + v to paste this range.
1. To quickly move to the bottom of the range, hold down CTRL and press
2. To quickly move to the right of the range, hold down CTRL and press
Try it yourself. Hold down CTRL and press the arrow keys to move from edge to
edge.
Selecting
Select cell A1.
1. To select cells while moving down, hold down SHIFT and press a few times.
2. To select cells while moving to the right, hold down SHIFT and press a few
times.
Formulas
Select cell F2.
1. To quickly insert the SUM function, press ATL + =, and press Enter.
2. Select cell F2, hold down SHIFT and press two times.
3. To fill a formula down, press CTRL + d (down).
Note: in a similar way, you can fill a formula right by pressing CTRL + r (right).
Formatting
Select the range B2:F4.
4. Press Enter.
Result: