Presentation is loading. Please wait.

Presentation is loading. Please wait.

Open Office Calc Session 03 Math and Text Functions.

Similar presentations


Presentation on theme: "Open Office Calc Session 03 Math and Text Functions."— Presentation transcript:

1 Open Office Calc Session 03 Math and Text Functions

2 Contents 1.The Paradise Hotel Cost Problem 2.Solution 3.Other Requirements

3 1. The Paradise Hotel Cost Problem Create an Open Office Calc file named ParadiseHotelCost.ods and then input data as shown in the following table:

4 Format the worksheet appropriately Enter the appropriate function in column F to compute the number of Weeks. Similarly, compute the number of remaining Days in column G. The Total Cost is calculated by adding cost in weeks, cost in days and services. Round the Total Cost numbers to three decimal places to the left of the decimal point. The Total in cell I15 is the sum of all numbers in the Total Cost column.

5 2. Solution 2.1. Create the Worksheet. 2.2. Format the Worksheet. 2.3. Calculate Number of Weeks 2.4. Calculate Number of Days 2.5. Calculate the Total Cost 2.6. Round the Total Cost 2.7. Calculate the Total

6 2.1. Create the Worksheet Create an Open Office Calc file named: ParadiseHotelCost.ods Input the raw data

7 2.2. Format the Worksheet Change the background color for the range A1:I5 to Light Blue. Align Centered for column headers. Apply Borders for the range A5:I13

8 2.3. Calculate Number of Weeks INT Function rounds a number down to the nearest integer. − Syntax: INT(number)‏ =INT((E6-D6)/7)‏

9 2.4. Calculate Number of Days MOD function returns the remainder after number is divided by divisor. - Syntax: MOD(Dividend; Divisor)‏ =MOD((E6-D6); 7)‏

10 2.5. Calculate the Total Cost = F6*$H$4+G6*$I$4+H6

11 2.6. Round the Total Cost ROUND function rounds a number to a certain number of decimal places. - Syntax: ROUND(number; count)‏ = ROUND(F6*$H$4+G6*$I$4+H6; -3)‏

12 2.7. Calculate the Total = SUM(I6:I13)‏ SUM function adds all the numbers in a range of cells – Syntax: SUM(number1; number 2;...)‏ or SUM(range)‏

13 3. Other Requirements Insert three columns between C and D. Type Floor, Room and Room Type as column headers. In the column of Floor, enter a function to get the floor based on the first letter of the Room ID. Similarly, use the appropriate functions to input the room number based on numbers in the middle of Room ID. Finally, enter a function to input the Room Type based on the last letter of the Room ID (the character D stands for double room and the character S is single room)..

14 Solution 3.1. Insert New Columns 3.2. Get the Floor 3.3. Get the Room Number 3.4. Get the Room Type

15 3.1. Insert New Columns

16 3.2. Get the Floor LEFT function returns the first character or characters of a text, based on the number of characters you specify. - Syntax: LEFT(text; number)‏ = LEFT(C6; 1)‏

17 3.3. Get the Room Number MID function returns a specific number of characters from a text, based on starting position and the number of characters you specify. - Syntax: MID(text; start; number)‏ LEN function returns the length of a string including spaces. - Syntax: LEN(text)

18 = MID(C6; 2; LEN(C6) - 2)‏

19 3.4. Get the Room Type RIGHT function returns the last character or characters of a text. - Syntax: RIGHT(text; number) =RIGHT(C3;1)‏

20 Q&A


Download ppt "Open Office Calc Session 03 Math and Text Functions."

Similar presentations


Ads by Google