Spreadsheets: Advanced Functions & Formulas-2
Spreadsheets: Advanced Functions & Formulas-2
Spreadsheets
Advanced Functions & Formulas-2
Text Functions
Text functions
EXACT Function
❑ Compares two text strings and returns TRUE
if they are exactly the same, FALSE
otherwise.
❑ EXACT is case-sensitive but ignores
formatting differences.
Syntax: EXACT(text1, text2)
Text functions cont’d
FIND Function
❑ The FIND function in Excel is used to return the position of a specific
character or substring within a text string.
Syntax: FIND(find_text, within_text, [start_num])
• Find_text - the character or substring you want to find.
• Within_text - the text string to be searched within.
• Start_num - an optional argument that specifies from which character the
search shall begin. If omitted, the search starts from the 1st character of
the within_text string.
Text functions cont’d
Wildcard
FIND Function cont’d • A question mark (?) matches one
character, and
Things to remember when using the FIND function:
• An asterisk (*) matches any series
❑ The FIND function is case sensitive. of characters.
❑ The FIND function in Excel does not allow using wildcard characters.
❑ The FIND function returns the position of the first character.
❑ If within_text contains several occurrences of find_text, the first occurrence is
returned.
Text functions cont’d
SEARCH Function
❑ The SEARCH function in Excel is very similar to FIND in that it also returns the
location of a substring in a text string.
Syntax: SEARCH(find_text, within_text, [start_num])
❑ Unlike FIND, the SEARCH function is case-insensitive and it allows using the
wildcard characters
Text functions cont’d
MID Function
❑ 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.
Syntax: MID(text, start_num, num_chars)
• Text - The text string containing the characters you want to extract.
• Start_num - The position of the first character you want to extract in text.
• Num_chars - Specifies the number of characters you want MID to return
from text.
Text functions cont’d
LEFT& RIGHTFunctions
❑ In the LEFT function, you can pull a set number of characters out of a cell into
another cell starting at the leftmost point.
❑ The RIGHT function performs the same except starting at the rightmost point.
❑ Both functions are related to the MID function.
Syntax: =LEFT (text, [num_chars])
=RIGHT (text, [num_chars])
LEFT & RIGHT functions
Text functions cont’d
RANK Function
❑ The RANK Function returns the
rank of a numeric value when
compared to a list of other
numeric values.
❑ RANK can rank values from largest
to smallest as well as smallest to
largest.
Statistical functions cont’d
COUNT Function
COUNTA Function
❑ The COUNTA function is used to
count the number of cells within a
range that is not empty.
❑ Syntax: COUNTA(value1, [value2],
…)
Statistical functions cont’d
COUNTIF Function
❑ The COUNTIF function is used to
count cells in a range that meet a
single condition
Syntax: COUNTIF (range, criteria)
Statistical functions cont’d
COUNTBLANK Function
❑ The COUNTBLANK func tion is used to
count blank cells in a range.
Syntax: COUNTBLANK(value1,
[value2], …)
Generating Descriptive
Statistics
Using Microsoft Excel Analysis ToolPak