0% found this document useful (0 votes)
31 views21 pages

Spreadsheets: Advanced Functions & Formulas-2

The document discusses various text and statistical functions in Excel. It explains the EXACT and FIND functions which compare text strings and find substrings within text. It also covers the SEARCH function which is similar to FIND but is case-insensitive and allows wildcards. The MID, LEFT, and RIGHT functions extract parts of text strings. Other functions discussed include RANK, COUNT, COUNTA, COUNTIF, and COUNTBLANK for counting and ranking cells based on conditions. The document provides syntax and examples of how to use these functions to manipulate and analyze text and numeric data in Excel.

Uploaded by

Reana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views21 pages

Spreadsheets: Advanced Functions & Formulas-2

The document discusses various text and statistical functions in Excel. It explains the EXACT and FIND functions which compare text strings and find substrings within text. It also covers the SEARCH function which is similar to FIND but is case-insensitive and allows wildcards. The MID, LEFT, and RIGHT functions extract parts of text strings. Other functions discussed include RANK, COUNT, COUNTA, COUNTIF, and COUNTBLANK for counting and ranking cells based on conditions. The document provides syntax and examples of how to use these functions to manipulate and analyze text and numeric data in Excel.

Uploaded by

Reana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 21

ITE1200

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

FIND Function cont’d


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

SEARCH Function cont’d


Text functions cont’d

Practicaility of the FIND & SEARC H Functions


❑ The FIND and SEARCH functions in Excel by themselves may not be very useful
as all they do is return the position of a character or substring.
❑ Both functions become useful when used with other functions. One such
function is the MID function.
❑ These functions, when used with the MID function, help in data extraction.
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

MID Function cont’d


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

Other Text Functions


❑ TRIM (looked at in last class)
❑ PROPER, UPPER, LOWER(looked at in last class)
❑ REPLACE
❑ SUBSTITUTE
❑ LEN
❑ Etc.
Statistical Functions
Statistical functions

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

❑ The COUNT function is used to count the


number of cells containing a number.

❑ The cells MUST contain numeric


values.

Syntax: COUNT(value1, [value2], … )


Statistical functions cont’d

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

Look up on this topic for next lesson

You might also like