Download presentation
Presentation is loading. Please wait.
1
REACH Computer Resource Center
CIS 300 Test 3 Review- EXCEL REACH Computer Resource Center
2
Excel Functions COUNTIFS, SUMIFS, and AVERAGEIFS INDEX and MATCH
Date/Time Functions Text Manipulations
3
COUNTIFS(criteria_range1, criteria1, [criteria_range2, criteria2]…)
The COUNTIFs function Syntax: COUNTIFS(criteria_range1, criteria1, [criteria_range2, criteria2]…) Arguments: criteria_range1 Required. The first range in which to evaluate the associated criteria. criteria1 Required. The criteria in the form of a number, expression, cell reference, or text that define which cells will be counted. For example, criteria can be expressed as 32, ">32", B4, "apples", or "32". criteria_range2, criteria2, ... Optional. Additional ranges and their associated criteria. Up to 127 range/criteria pairs are allowed. IMPORTANT Each additional range must have the same number of rows and columns as the criteria_range1argument. The ranges do not have to be adjacent to each other.
4
The COUNTIFs function Description: Remarks: Errors:
Applies criteria to cells across multiple ranges and counts the number of times all criteria are met. Remarks: Each range's criteria is applied one cell at a time. If all of the first cells meet their associated criteria, the count increases by 1. If all of the second cells meet their associated criteria, the count increases by 1 again, and so on until all of the cells are evaluated. If the criteria argument is a reference to an empty cell, the COUNTIFS function treats the empty cell as a 0 value. You can use the wildcard characters— the question mark (?) and asterisk (*) — in criteria. A question mark matches any single character, and an asterisk matches any sequence of characters. If you want to find an actual question mark or asterisk, type a tilde (~) before the character. Errors: None
5
The COUNTIFs function
6
The SUMIFs function Syntax:
SUMIFS(sum_range, criteria_range1, criteria1, [criteria_range2, criteria2], ...) Arguments: sum_range Required. One or more cells to sum, including numbers or names, ranges, or cell references that contain numbers. Blank and text values are ignored. criteria_range1 Required. The first range in which to evaluate the associated criteria. criteria1 Required. The criteria in the form of a number, expression, cell reference, or text that define which cells in the criteria_range1 argument will be added. For example, criteria can be expressed as 32, ">32", B4, "apples", or "32." criteria_range2, criteria2, … Optional. Additional ranges and their associated criteria. Up to 127 range/criteria pairs are allowed.
7
The SUMIFs function Description:
Adds the cells in a range that meet multiple criteria. For example, if you want to sum the numbers in the range A1:A20 only if the corresponding numbers in B1:B20 are greater than zero (0) and the corresponding numbers in C1:C20 are less than 10, you can use the following formula: =SUMIFS(A1:A20, B1:B20, ">0", C1:C20, "<10") IMPORTANT The order of arguments differ between the SUMIFS and SUMIF functions. In particular, thesum_range argument is the first argument in SUMIFS, but it is the third argument in SUMIF. If you are copying and editing these similar functions, make sure you put the arguments in the correct order
8
The SUMIFs function Remarks:
Each cell in the sum_range argument is summed only if all of the corresponding criteria specified are true for that cell. For example, suppose that a formula contains two criteria_range arguments. If the first cell ofcriteria_range1 meets criteria1, and the first cell of criteria_range2 meets critera2, the first cell ofsum_range is added to the sum, and so on, for the remaining cells in the specified ranges. Cells in the sum_range argument that contain TRUE evaluate to 1; cells in sum_range that contain FALSE evaluate to 0 (zero). Unlike the range and criteria arguments in the SUMIF function, in the SUMIFS function, each criteria_rangeargument must contain the same number of rows and columns as the sum_range argument. You can use the wildcard characters — the question mark (?) and asterisk (*) — in criteria. A question mark matches any single character; an asterisk matches any sequence of characters. If you want to find an actual question mark or asterisk, type a tilde (~) before the character. Errors: None
9
The SUMIFs function
10
The AVERAGEIFs function
Syntax: AVERAGEIFS(average_range, criteria_range1, criteria1, [criteria_range2, criteria2], ...) Arguments: Average_range Required. One or more cells to average, including numbers or names, arrays, or references that contain numbers. Criteria_range1, criteria_range2, … Criteria_range1 is required, subsequent criteria_ranges are optional. 1 to 127 ranges in which to evaluate the associated criteria. Criteria1, criteria2, Criteria1 is required, subsequent criteria are optional. 1 to 127 criteria in the form of a number, expression, cell reference, or text that define which cells will be averaged. For example, criteria can be expressed as 32, "32", ">32", "apples", or B4.
11
The AVERAGEIFs function
Description: Returns the average (arithmetic mean) of all cells that meet multiple criteria. Remarks: If average_range is a blank or text value, AVERAGEIFS returns the #DIV0! error value. If a cell in a criteria range is empty, AVERAGEIFS treats it as a 0 value. Cells in range that contain TRUE evaluate as 1; cells in range that contain FALSE evaluate as 0 (zero). Each cell in average_range is used in the average calculation only if all of the corresponding criteria specified are true for that cell. Unlike the range and criteria arguments in the AVERAGEIF function, in AVERAGEIFS each criteria_range must be the same size and shape as sum_range. If cells in average_range cannot be translated into numbers, AVERAGEIFS returns the #DIV0! error value. If there are no cells that meet all the criteria, AVERAGEIFS returns the #DIV/0! error value. You can use the wildcard characters, question mark (?) and asterisk (*), in criteria. A question mark matches any single character; an asterisk matches any sequence of characters. If you want to find an actual question mark or asterisk, type a tilde (~) before the character. Errors: None.
12
The AVERAGEIFs function
13
The INDEX function Syntax: =INDEX(array,row_num,[column_num])
Arguments: array Required A range of cells or an array constant. row_num Optional Selects the row in array from which to return a value. If row_num is omitted, column_num is required. column_num Optional Selects the column in array from which to return a value. If column_num is omitted, row_num is required. Description: Returns the value of an element in a table or an array, selected by the row and column number indexes. Microsoft® Excel® Lookup Functions Return to Excel Functions
14
The MATCH function Syntax:
=MATCH(lookup_value, lookup_array, [match_type]) Arguments: lookup_value Required The value that you want to match in lookup_array. lookup_array Required The range of cells being searched. match_type Optional Specifies how Excel matches lookup_value with values in lookup_array. The number -1, 0, or 1 Description: Searches for a specified item in a range of cells, and then returns the relative position of that item in the range Microsoft® Excel® Lookup Functions Return to Excel Functions
15
The DATE function Syntax: =DATE(year,month,day) Arguments:
year Required The value of the year argument can include one to four digits. month Required A positive or negative integer representing the month of the year from 1 to 12 (January to December). day Required A positive or negative integer representing the day of the month from 1 to 31.
16
The DATE function Description: Remarks: Errors:
Returns the sequential serial number that represents a particular date. Remarks: If the cell format was General before the function was entered, the result is formatted as a date instead of a number. Excel interprets the year argument according to the date system your computer is using. By default, Microsoft Excel for Windows uses the 1900 date system; Microsoft Excel for the Macintosh uses the 1904 date system. Excel stores dates as sequential serial numbers so that they can be used in calculations. Errors: None
17
The DATE function What is the serial date for the date in A2:C2, using the 1900 date system? =DATE(A2,B2,C2) =39448
18
The DATE function What is the result of evaluating =DATE(119,2,19)?
Answer: 2/19/2019
19
The NOW function Syntax: =NOW() Arguments: None
20
The NOW function Description: Remarks: Errors:
Returns the serial number of the current date and time. Remarks: If the cell format was General before the function was entered, Excel changes the cell format to the same date and time format that is specified in the regional date and time settings in Control Panel. The NOW function is useful when you need to display the current date and time on a worksheet or calculate a value based on the current date and time, and have that value updated each time you open the worksheet. Numbers to the right of the decimal point in the serial number represent the time; numbers to the left represent the date. The results of the NOW function change only when the worksheet is calculated or when a macro that contains the function is run. It is not updated continuously. Errors: None
21
The NOW function =NOW()
22
The NOW function =NOW()
23
The TODAY function Syntax: =TODAY() Arguments: None
24
The TODAY function Description: Remarks: Errors:
Returns the serial number of the current date. Remarks: If the cell format was General before the function was entered, Excel changes the cell format to Date. If you want to view the serial number, you must change the cell format to General or Number. The TODAY function is useful when you need to have the current date displayed on a worksheet, regardless of when you open the workbook. The TODAY function is dependent on your computer’s system clock being correct. Errors: None
25
The TODAY function =TODAY()
26
The TODAY function =TODAY()
27
The TODAY function What is the result of this function? =TODAY()=NOW() Answer: False, except for one moment of the day where the answer will be true Why is that the case?
28
=YEAR(serial_number)
The YEAR function Syntax: =YEAR(serial_number) Arguments: serial_number Required The date of the year you want to find.
29
The YEAR function Description: Remarks: Errors:
Returns the year corresponding to a date. Remarks: The year is returned as an integer in the range Dates should be entered by using the DATE function, or as results of other formulas or functions. For example, use DATE(2008,5,23) for the 23rd day of May, 2008. Problems can occur if dates are entered as text. Errors: None
30
The YEAR function A nested function uses a function as one of the arguments. What is the result of this nested function? =YEAR(TODAY()) Answer: 2019 This function will return the current year
31
The YEAR function =YEAR(A2)
32
The YEAR function =YEAR(A2) =2008
33
The YEARFRAC function Syntax: =YEARFRAC(start_date,end_date,[basis])
Arguments: start_date Required A date that represents the start date. end_date Required A date that represents the end date. basis Optional The type of day count basis to use. Description: Calculates the fraction of the year represented by the number of whole days between two dates (the start_date and the end_date). Microsoft® Excel® Date Functions Return to Excel Functions
34
The YEARFRAC function Example:
35
The DATEDIF function Syntax: =DATEDIF(startdate,enddate,interval)
Arguments: startdate Required A date that represents the start date. enddate Required A date that represents the end date. interval Required The type of day count basis to use. Microsoft® Excel® Date Functions Return to Excel Functions
36
Return to Excel Functions
The DATEDIF function Arguments: interval Required The type of day count basis to use. Description: Computes the difference between two dates in a variety of different intervals. Microsoft® Excel® Date Functions Return to Excel Functions
37
=HOUR(serial_number)
The HOUR function Syntax: =HOUR(serial_number) Arguments: serial_number Required The time that contains the hour you want to find. Description: Returns the hour of a time value. Microsoft® Excel® Time Functions
38
The MINUTE function Syntax: =MINUTE(serial_number) Arguments:
serial_number Required The time that contains the minute you want to find. Description: Returns the minutes of a time value. Microsoft® Excel® Time Functions Return to Excel Functions
39
The SECOND function Syntax: =SECOND(serial_number) Arguments:
serial_number Required The time that contains the seconds you want to find. Description: Returns the seconds of a time value. Microsoft® Excel® Time Functions Return to Excel Functions
40
=FIND(find_text,within_text,[start_num])
The FIND function Syntax: =FIND(find_text,within_text,[start_num]) Arguments: find_text Required The text you want to find. within_text Required The text string containing the text you want to find. start_num Optional Specifies the character at which to start the search. Description: Locates one text string within a second text string, and returns the number of the starting position of the first text string from the first character of the second text string Microsoft® Excel® Text Functions
41
=LEFT(text,[num_chars])
The LEFT function Syntax: =LEFT(text,[num_chars]) Arguments: text Required The text string that contains the characters you want to extract. num_chars Optional Specifies the number of characters you want LEFT to extract. Description: Returns the first character or characters in a text string, based on the number of characters you specify Microsoft® Excel® Text Functions
42
The LEN function Syntax: =LEN(text) Arguments: Description:
text Required The text whose length you want to find. Description: Returns the number of characters in a text string. Microsoft® Excel® Text Functions
43
=RIGHT(text,[num_chars])
The RIGHT function Syntax: =RIGHT(text,[num_chars]) Arguments: text Required The text string that contains the characters you want to extract. num_chars Optional Specifies the number of characters you want RIGHT to extract. Description: Returns the last character or characters in a text string, based on the number of characters you specify. Microsoft® Excel® Text Functions
44
The CONCATENATE function
Syntax: =CONCATENATE(text1, [text2], ...) Arguments: text1 Required The first text item to be concatenated. text2 Optional Additional text items, up to a maximum of 255 items, which must be separated by commas. Description: Joins up to 255 text strings into one text string. Microsoft® Excel® Text Functions
45
The UPPER function Syntax: =UPPER(text) Arguments: Description:
text Required The text you want converted to uppercase. Description: Converts text to uppercase. Microsoft® Excel® Text Functions
46
The LOWER function Syntax: =LOWER(text) Arguments: Description:
text Required The text you want converted to lowercase. Description: Converts all uppercase letters in a text string to lowercase. Microsoft® Excel® Text Functions
47
The PROPER function Syntax: =PROPER(text) Arguments: Description:
text Required Text enclosed in quotation marks, a formula that returns text, or a reference to a cell containing the text you want to partially capitalize. Description: Capitalizes the first letter in a text string and any other letters in text that follow any character other than a letter. Microsoft® Excel® Text Functions
48
The TRIM function Description: Syntax: Arguments:
=TRIM(text) Arguments: text Required is the text from which you want spaces removed. Description: Removes all spaces from text except for single spaces between words. Use TRIM on text that you have received from another application that may have irregular spacing. Microsoft® Excel® Text Functions
49
The MID function Syntax: =MID(text, start_num, num_chars) Arguments:
Text Required. The text string containing the characters you want to extract. Start_num Required. The position of the first character you want to extract in text. The first character in text has start_num 1, and so on. Num_chars Required. Specifies the number of characters you want MID to return from text. Description: MID returns a specific number of characters from a text string, starting at the position you specify, based on the number of characters you specify. Microsoft® Excel® Text Functions Return to Excel Functions
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.