Chapter 5 Basic Functions Copyright 2005 Radian Publishing Co.

Slides:



Advertisements
Similar presentations
Benchmark Series Microsoft Excel 2010 Level 1
Advertisements

Formulas, Ranges, and Functions. Formulas n Formulas perform operations such as addition, multiplication, and comparison on worksheet values. n Formulas.
© Paradigm Publishing, Inc Excel 2013 Level 2 Unit 1Advanced Formatting, Formulas, and Data Management Chapter 2Advanced Functions and Formulas.
Maths & Trig, Statistical functions. ABS Returns the absolute value of a number The absolute value of a number is the number without its sign Syntax ◦
MS-Excel XP Lesson 2. Handling Worksheets 1.Bottom of the every workbook you can get worksheets. 2.No of sheets for a book is three. But you can add,
Microsoft Office Illustrated Fundamentals Unit H: Using Complex Formulas, Functions, and Tables.
Computer Science & Engineering 2111 Text Functions 1CSE 2111 Lecture-Text Functions.
33 CHAPTER BASIC APPLICATION SOFTWARE. © 2005 The McGraw-Hill Companies, Inc. All Rights Reserved. 1-2 Announcement: QUIZ#02 In Lecture Session # 9 (5.
1Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Excel 2010 by Robert Grauer, Keith Mulbery, and Mary.
1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Excel 2010 by Robert Grauer, Keith Mulbery, and Mary.
Pasewark & Pasewark 1 Excel Lesson 5 Using Functions Microsoft Office 2007: Introductory.
Copyright 2003, Paradigm Publishing Inc. CHAPTER 3 BACKNEXTEND 3-1 LINKS TO OBJECTIVES AutoSum Button Mathematical Operators Mathematical Operators Formula.
Chapter 7 Data Management. Agenda Database concept Import data Input and edit data Sort data Function Filter data Create range name Calculate subtotal.
1 Excel Lesson 5 Using Functions Microsoft Office 2010 Introductory Pasewark & Pasewark.
1 Excel Lesson 5 Using Functions Microsoft Office 2010 Introductory Pasewark & Pasewark.
End Show Introduction to Electronic Spreadsheets Unit 3.
Entering Data in Excel. Entering numbers, text, a date, or a time n 1Click the cell where you want to enter data. n 2Type the data and press ENTER or.
Copyright 2007, Paradigm Publishing Inc. EXCEL 2007 Chapter 2 BACKNEXTEND 2-1 LINKS TO OBJECTIVES Mathematical OperatorsMathematical Operators Formula.
Chapter 6 Advanced Functions Copyright 2005 Radian Publishing Co.
Excel Lesson 5 Using Functions
Lesson 5 MICROSOFT EXCEL PART 2 by Nguyễn Thanh Tùng Web:
Pasewark & Pasewark Microsoft Office 2003: Introductory 1 INTRODUCTORY MICROSOFT EXCEL Lesson 5 – Function Formulas.
Computer Science 1000 Spreadsheets II Permission to redistribute these slides is strictly prohibited without permission.
Excel – Lesson 1 Pasewark & PasewarkMicrosoft Office 2007: Introductory 1 Entering a Formula (continued) Formulas can include more than one operator. The.
Computer Literacy BASICS
Excel chapter 2.
ACOT Intro/Copyright Succeeding in Business with Microsoft Excel 2010: Chapter1.
Pasewark & Pasewark 1 Excel Lesson 5 Using Functions Microsoft Office 2007: Introductory.
Microsoft Excel Diane M. Coyle Spring 2009 CS 105.
Syntax MROUND(number,multiple) Number is the value to round. Multiple is the multiple to which you want to round number. Remark MROUND rounds up, away.
Advanced Excel for Finance Professionals A self study material from South Asian Management Technologies Foundation.
Using Excel Biostatistics 212 Lecture 4. Housekeeping Questions about Lab 3? Final Project Dataset! –Check in.
ME 142 Engineering Computation I Excel Functions.
With Microsoft Excel 2007 Comprehensive 1e© 2008 Pearson Prentice Hall1 Chapter 5: PowerPoint Presentation GO! with Microsoft Excel ® 2007 Comprehensive.
AGB 260: AGRIBUSINESS INFORMATION TECHNOLOGY BASIC OPERATORS AND FUNCTIONS.
DAY 5: MICROSOFT EXCEL – CHAPTER 2 Aliya Farheen January 27,2015.
Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 1 by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric.
Revision Function in Spreadsheet. AVERAGE Returns the average (arithmetic mean) of the arguments. Syntax AVERAGE(number1,number2,...) Number1, number2,...
Unit 4, Lesson 4 Using Function Formulas. Objectives Understand function formulas. Understand function formulas. Use the Average and Sum functions. Use.
Copyright © 2012 Pearson Education, Inc. Publishing as Pearson Addison-Wesley C H A P T E R 2 Input, Processing, and Output.
Functions. Types of Functions Built-in functions: –Financial –Date & time –Math & statistical –Database –Lookup –Logical –Information:IsBlank, IsNumber,
AGB 260: AGRIBUSINESS INFORMATION TECHNOLOGY BASIC OPERATORS AND FUNCTIONS.
The Function. Functions are prewritten formulas. Functions differ from regular formulas in that you supply the value but not the operators, such as +,
Using Dates in Excel Stored as a “serial number” which represents the number of days that have taken place since the beginning of the year 1900 – 1/1/1900=1.
Chapter 2:Excel. Determining Results with the if Function =IF(logical_test, value_if_true,value_if_false) The IF function has three arguments: – A condition.
IENG 423 Design of Decision Support Systems Modeling with Excel Excel Basics More on Functions, trouble shooting formulas.
1 Excel Lesson 3 Using Functions Microsoft Office 2010 Introductory Pasewark & Pasewark.
Excel Text Functions 1. LEFT(text, [num_chars])) Returns the number of characters specified starting from the beginning of the text string Syntax Text:
Microsoft ® Excel ® 2013 Enhanced Excel Tutorial 3 Calculating Data with Formulas and Functions.
Functions BUS 782. What are functions? Functions are prewritten formulas. We use functions to perform calculations. Enclose arguments within parentheses.
DAY 5: EXCEL CHAPTER 2 Sravanthi Lakkimsetty Feb 1, 2016.
DAY 6: MICROSOFT EXCEL –CHAPTER 2,3 Aliya Farheen January 28,2016.
Pasewark & Pasewark 1 Excel Lesson 5 Using Functions Microsoft Office 2007: Introductory.
Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Programming Logic & Design Third Edition by Tony Gaddis.
Open Office Calc Session 03 Math and Text Functions.
Introduction to Spreadsheets –
Excel AVERAGEIF Function
Excel Lesson 5 Using Functions
Descriptive Statistics
AGB 260: Agribusiness Data Literacy
Spreadsheet Review.
Excel Functions.
Excel Functions.
Lesson 4: Introduction to Functions
Functions BUS 782.
Microsoft Excel chapters 1 & 2
Introduction to Spreadsheets –
REACH Computer Resource Center
in Excel Instructor: Zhe He Department of Computer Science
Presentation transcript:

Chapter 5 Basic Functions Copyright 2005 Radian Publishing Co.

2/22 Contents Chapter 5 Basic Functions 5.1 Introduction to Functions 5.1 A. Concept about Functions 5.1 B. Entering a Function 5.2 Mathematical Functions 5.3 Statistical Functions 5.4 Date and Time Functions 5.5 Text Functions

Copyright 2005 Radian Publishing Co.3/22 Chapter 5 Basic Functions The Excel built-in functions are classified into eight categories: Financial, Date and Time Mathematical and trigonometry Statistical Lookup and Reference Database Text Logical and Information

Copyright 2005 Radian Publishing Co.4/ Introduction to Functions To make use of the computing power of your spreadsheet software, you should be familiar with certain basic functions.

Copyright 2005 Radian Publishing Co.5/ A. Concept about Functions (1/2) A function is placed inside a formula and consists of a function name and one or more arguments. An argument is an input data which may be a value, a cell reference, reference to a range of cells, or another function. A function carries out operations based on the argument(s) and, in general, returns a single result. In general, a function returns a value, but some functions may return multiple values. An array function returns multiple values.

Copyright 2005 Radian Publishing Co.6/ A. Concept about Functions (2/2) Fig.5.1 A function accepts input and returns a single result

Copyright 2005 Radian Publishing Co.7/ B. Entering a Function You may insert a function by using keyboard or using Insert Function dialog box. Fig.5.3 Insert Function dialog box

Copyright 2005 Radian Publishing Co.8/ Mathematical Functions (1/3) The mathematical functions that you have learnt are: 1.TRUNC(numbernumber) removes the integral part of a real number. 2.INT(numbernumber) rounds a number down to the nearest integer taking into account the sign. 3.ROUNDDOWN(m, n) rounds down the magnitude of the number m to n digits. 4.ROUND(m, n) rounds a number m to n digits. 5.ROUNDUP(m, n) rounds up the magnitude of the number m to n digits.

Copyright 2005 Radian Publishing Co.9/ Mathematical Functions (2/3) 6.RAND() returns a random number between 0 and 1 (not including 1). The formula for generating random real numbers between a and b (not including b) is =RAND()*(b - a ) + a. The formula to produce a random integer in the range from p to q inclusively is =INT(RAND()*(q - p + 1)) + p. The formula to generate a random date between two date, D1 and D2 (D1<D2), is =INT(RAND()*(D2-D1+1))+D1.

Copyright 2005 Radian Publishing Co.10/ Mathematical Functions (3/3) 7.MOD(x, y) returns the remainder after x is divided by y and has the same sign as the divisor. =MOD(x,yx,y) is equivalent to =x - INT(x/yx/y)*y. 8.QUOTIENT(x, yx, y) returns the integral part after x is divided by y and is equivalent to =TRUNC(x/yx/y). 9.ABS(number) returns the absolute value of a number. The absolute value of a number is the number without its sign. 10.SQRT(number) returns the square root of a number.

Copyright 2005 Radian Publishing Co.11/ Statistical Functions (1/5) The statistical functions that you have learnt are: 1.SUM(range) adds all the values in the arguments. The arguments may be numbers or be names, or references that contain numbers. Non-numerical arguments in cells are ignored. But, non-numerical arguments used directly will be translated. 2.AVERAGE(range) returns the average (mean) of the arguments. 3.COUNT(range) counts the number of cells that contain numbers. Non-numerical data will be ignored.

Copyright 2005 Radian Publishing Co.12/ Statistical Functions (2/5) 4.COUNTA(range) counts the number of cells that are not empty. 5.COUNTBLANK(range) counts the number of empty cells in a specified range. 6.MAX(range) returns the largest value in a set of values. 7.MIN(range) returns the smallest value in a set of values. 8.LARGE(range, k) returns the k th largest value in a data set, where k is 1, 2, 3, … 9. SMALL(range, k) returns the k th smallest value in a data set, where k is1, 2, 3, …

Copyright 2005 Radian Publishing Co.13/ Statistical Functions (3/5) 10.RANK(number, reference, ordernumber, reference, order) returns the rank of a number in a list of numbers. If order is 0 or omitted, Excel ranks the highest score as 1 (i.e. descending order). Otherwise, Excel ranks the lowest score as 1 (i.e. ascending order). If two numbers in the list are equal, they will have the same rank. The succeeding rank will be skipped.

Copyright 2005 Radian Publishing Co.14/ Statistical Functions (4/5) 11.MEDIAN(range) returns the median of the given numbers. If the number of data in the set is even, then MEDIAN calculates theaverage of the two numbers in the middle. 12.MODE(range) returns the most frequently occurring, or repetitive, value in an array or range of data.

Copyright 2005 Radian Publishing Co.15/ Statistical Functions (5/5) AVERAGE(range) can be implemented by SUM(range)/COUNT(range). LARGE(range, 1) is the same as MAX(range, 1). SMALL(range, 1) is the same as MIN(range, 1).

Copyright 2005 Radian Publishing Co.16/ Date and Time Functions (1/4) The date and time functions that you have learnt are: 1.NOW() returns the serial number of the current date and time. 2.TODAY() returns the serial number of the current date. 3.DATE(year, month, day) returns the serial number that represents a particular date. 4.DAY(date), MONTH(date) and YEAR(date) return the day, month and year of a date respectively. YEAR(date) returns an integer ranging from 1900 to 9999.

Copyright 2005 Radian Publishing Co.17/ Date and Time Functions (2/4) 5. WEEKDAY(date) returns the day of the week corresponding to a date. The result 1 represents Sunday, 2 Monday and 7 Saturday, by default.

Copyright 2005 Radian Publishing Co.18/ Date and Time Functions (3/4) The formula to find the date after a given number of years (C3), months (C4) and days (C5) of a given date (C2) is =DATE(YEAR(C2)+C3,MONTH(C2)+C4,DAY(C2)+C5) The formula to find the number of days in a given year (B2) is =DATE(B2+1,1,1)-DATE(B2,1,1) The formula to convert a weekday (of a date A3) into its English form is =TEXT(WEEKDAY(A3),"ddd").

Copyright 2005 Radian Publishing Co.19/ Date and Time Functions (4/4) Suppose D1 stores the date of birth of a person and D2 stores the current date. The formula to calculate the age of the person is =IF(DATE(1900,MONTH(D1),DAY(D1)) <= DATE(1900,MONTH(D2),DAY(D2)), YEAR(D2)-YEAR(D1), YEAR(D2)-YEAR(D1)-1) or, =IF(OR(MONTH(D1)<MONTH(D2),AND(MONTH(D1)=MONTH(D2),DAY (D1)<= DAY(D2))), YEAR(D2)-YEAR(D1), YEAR(D2)-YEAR(D1)-1)

Copyright 2005 Radian Publishing Co.20/ Text Functions (1/3) The text functions that you have learnt are: 1.LEN(text) returns the number of characters in a text string. 2.LOWER(text) converts text to lowercase. 3.UPPER(text) converts text to uppercase. 4.PROPER(text) capitalizes the first letter in each word of a text value. 5.TRIM(text) removes all spaces from text except for single spaces between words.

Copyright 2005 Radian Publishing Co.21/ Text Functions (2/3) 6.CODE(text) returns the numeric ASCII code for the first character in a text string. 7.CHAR(number) returns the character corresponding to the code number. 8.LEFT(text, n) returns the first n character(s) in a text string. 9.RIGHT(text, n) returns the last n character(s) in a text string. 10.MID(text, m, n) returns n characters from a text string starting at position m.

Copyright 2005 Radian Publishing Co.22/ Text Functions (3/3) 11.TEXT(value, format_text) converts a value to text according to a specified number format. 12.VALUE(text) converts a text string that represents a number to a number. 13.REPT(text, n) repeats text a for n times. LEFT(x, n) is equivalent to MID(x, 1, n). RIGHT(x, n) is equivalent to MID(x, LEN(x) -n + 1, n).