Top Banner
CTS130 Spreadsheet Lesson 8 Rounding and Nesting Functions
18
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: CTS130 Spreadsheet Lesson 8 Rounding and Nesting Functions.

CTS130 Spreadsheet

Lesson 8

Rounding and Nesting Functions

Page 2: CTS130 Spreadsheet Lesson 8 Rounding and Nesting Functions.

INT Function (cont’d) INT stands for “integer.” An integer is a whole number - a number

with no decimal or fractional parts. The INT function shows the nondecimal portion of a number. Excel stores the full number of decimals that are keyed/calculated in a

cell, even if cell is formatted to show fewer decimal places.

Example: If you key in 1.2345 but format the cell for two decimal places, Excel displays 1.23 in the cell. In a calculation, Excel uses the full value, 1.2345, when you see it in the formula bar.

The INT function has one argument, the value or cell to be adjusted.

Page 3: CTS130 Spreadsheet Lesson 8 Rounding and Nesting Functions.

INT Function (cont’d)

Page 4: CTS130 Spreadsheet Lesson 8 Rounding and Nesting Functions.

The ROUND Function The Round function “rounds” a value to a specified digit to the left

or right of the decimal point. “Rounding” means that it is made larger or smaller, a greater or

lesser value. The Round function uses two arguments: the value to be rounded

and the number of digits used for rounding.

Page 5: CTS130 Spreadsheet Lesson 8 Rounding and Nesting Functions.

The ROUND Function (cont’d) If a value referenced in a formula is rounded, the rounded value is used in

the calculation. If a value is formatted in a way that it appears rounded, the precise value is

used in the calculation.

Page 6: CTS130 Spreadsheet Lesson 8 Rounding and Nesting Functions.

The ROUND Function (cont’d)

Page 7: CTS130 Spreadsheet Lesson 8 Rounding and Nesting Functions.

Using Date and Time Arithmeticto Determine Ages

To determine a person’s age, subtract the person’s birthday from today.

The result is a serial number that can be converted to the person’s age.

=today( )

Dividing by 365.25 includes a leap year once every four years.

Page 8: CTS130 Spreadsheet Lesson 8 Rounding and Nesting Functions.

Using Time and Date Arithmetic to Determine Time Worked

Subtract the beginning time from the ending time. Excel shows time as a fraction of a 24-hour day. To convert to hours, multiply the results by 24.

=(C4-B4)*24

# of hours in a day

Page 9: CTS130 Spreadsheet Lesson 8 Rounding and Nesting Functions.

How to Group Worksheets

When you want what you are doing on one worksheet to appear on all the worksheets, you can first group the worksheets.

To group worksheets, hold down the [CTRL] key and click each worksheet’s tab. All the worksheets will be selected.

To ungroup worksheets, click a single worksheet tab or right-click a worksheet tab and select the “Ungroup Sheets” option.

Grouped Worksheets Ungrouped Worksheets

Page 10: CTS130 Spreadsheet Lesson 8 Rounding and Nesting Functions.

How to Hide and Unhide a Worksheet You can hide a worksheet so that you do not see its tab while

the workbook is open. This allows you to hide sheets that include sensitive

information that should not be easily visible.

Format Menu > Sheet > Hide

Format Menu > Sheet > Unhide

A dialog box will appear displaying all the worksheets that are hidden.

Page 11: CTS130 Spreadsheet Lesson 8 Rounding and Nesting Functions.

Nested Functions

A nested function is a function inside another function.

This is an example of a nested round and sum functions.

Function Name box

Function Name box

Formula bar

Formula bar

=ROUND(SUM)(H4:H8)

Page 12: CTS130 Spreadsheet Lesson 8 Rounding and Nesting Functions.

Nested Functions (cont’d)

=IF(B9>400,”Over 400”,IF(B9>375, “Over 375”, Under Quota))

If TRUE If FALSE If TRUE If FALSE

NESTED

Page 13: CTS130 Spreadsheet Lesson 8 Rounding and Nesting Functions.

Nested Functions (cont’d)First IF expressionFirst IF expression

Formula barFormula bar

Nested IF expressionNested IF expression

=IF(B9>400,”Over 400”,IF(B9>375, “Over 375”, Under Quota))

Page 14: CTS130 Spreadsheet Lesson 8 Rounding and Nesting Functions.

Nested Function Examples

Page 15: CTS130 Spreadsheet Lesson 8 Rounding and Nesting Functions.

Creating a Hyperlink A hyperlink is a clickable object or text that, when clicked, displays

another file, opens another program, shows a web page, or displays an email address.

As you insert hyperlinks, Excel keeps a list of the addresses and shows them in the “Insert Hyperlink” dialog box.

You can key a new entry or choose existing name from the list. Ways to insert a hyperlink:

- Click the “Insert Hyperlink” button.

- INSERT Menu > Hyperlink

- CTRL + K

- Right-click > Hyperlink

Page 16: CTS130 Spreadsheet Lesson 8 Rounding and Nesting Functions.

Creating a Hyperlink (cont’d)

Page 17: CTS130 Spreadsheet Lesson 8 Rounding and Nesting Functions.

Creating a Hyperlink (cont’d)

Page 18: CTS130 Spreadsheet Lesson 8 Rounding and Nesting Functions.

Saving a Workbook in Different Format

If you send a workbook to someone who uses a different version of Excel or a different electronic spreadsheet program, you can save the file in an appropriate format for them.

Two popular formats are: WK4 (Lotus) CSV (comma-separated values.