EXCEL
REPT FUNCTION
Excel REPT Function
Purpose
Repeat text as specified
Return value
The repeated text.
Syntax
=REPT (text, number_times)
Arguments
text - The text to repeat.
number_times - The number of times to repeat text.
Usage notes
Use the REPT function to repeat text a given number of times. This can be
useful if you want to fill a cell, or pad values to a certain length.
It's possible to build a basic histogram chart using REPT, by translating
values directly into a certain number of (repeated) characters.
www.prolearninghub.com
Excel REPT Function
www.prolearninghub.com
EXCEL
RIGHT FUNCTION
Excel RIGHT Function
Purpose
Extract text from the right of a string
Return value
One or more characters.
Syntax
=RIGHT (text, [num_chars])
Arguments
text - The text from which to extract characters on the right.
num_chars - [optional] The number of characters to extract, starting on the
right. Optional, default = 1.
Usage notes
Use the RIGHT function when you want to extract characters starting at the
right side of text.
num_chars is optional and defaults to 1.
RIGHT will extract digits from numbers as well. Keep in mind that number
formatting is not part of a and will not be extracted or counted.
www.prolearninghub.com
Excel RIGHT Function
www.prolearninghub.com
EXCEL
SEARCH FUNCTION
Excel SEARCH Function
Purpose
Get the location of text in a string
Return value
A number representing the location of find_text.
Syntax
=SEARCH (find_text, within_text, [start_num])
Arguments
find_text - The text to find.
within_text - The text to search within.
start_num - [optional] Starting position in the text to search.
Optional, defaults to 1.
www.prolearninghub.com
Excel SEARCH Function
Usage notes
Use the SEARCH function to get the location of one text string
inside another. SEARCH returns the position of the first character
of find_text inside within_text. Unlike FIND, SEARCH allows the
use of wildcards, and is not case-sensitive.
SEARCH allows the wildcard characters question mark (?) and
asterisk (*), in find_text. The ? matches any single character and
the * matches any sequence of characters. To find a literal ? or *,
use a tilde (~) before the character, i.e. ~* and ~?.
www.prolearninghub.com
Excel SEARCH Function
www.prolearninghub.com
EXCEL
SUBSTITUTE FUNCTION
Excel SUBSTITUTE Function
Purpose
Replace text based on content
Return value
The altered text.
Syntax
=SUBSTITUTE (text, old_text, new_text, [instance])
Arguments
text - The text to change.
old_text - The text to replace.
new_text - The text to replace with.
instance - [optional] The instance of old_text to replace with
new_text. Optional; if not supplied, all instances of old_text are
replaced with new_text.
www.prolearninghub.com
Excel SUBSTITUTE Function
Usage notes
Use the SUBSTITUTE function when you want to replace text
based on its content, not position.
SUBSTITUTE finds and replaces old_text with new_text in a text
string. Instance limits SUBSTITUTE replacement to one particular
instance of old_text. If instance is not supplied, all instances
of old_text are replaced with new_text.
instance is optional. if not supplied, all instances of old_text are
replaced with new_text.
Use SUBSTITUTE to replace text based on content. Use
REPLACE when to replace text based on its location.
SUBSTITUTE is case-sensitive and does not support wildcards.
www.prolearninghub.com
Excel SUBSTITUTE Function
www.prolearninghub.com
EXCEL
TEXT FUNCTION
Excel TEXT Function
Purpose
Convert a number to text in a number format
Return value
A number as text in the given format.
Syntax
=TEXT (value, format_text)
Arguments
value - The number to convert.
format_text - The number format to use.
www.prolearninghub.com
Excel TEXT Function
Usage notes
Use the TEXT function to convert a number to text in a
specific number format.
TEXT is especially useful when you want to embed the
numeric output of a formula or function and present it in a
particular format inside other text. For example, "Sales last
year increased by over $43,500", where the number 43500
has been formatted with a currency symbol and thousands
separator.
format_text must appear in double quotation marks.
To see examples of number formats that are available,
consult the Format Cells dialog box.
www.prolearninghub.com
Excel TEXT Function
www.prolearninghub.com
EXCEL
TRIM FUNCTION
Excel TRIM Function
Purpose
Remove extra spaces from text
Return value
Text with extra spaces removed.
Syntax
=TRIM (text)
Arguments
text - The text from which to remove extra space.
Usage notes
TRIM strips extra spaces from text, leaving only single
spaces between words and no space characters at the start
www.prolearninghub.com
or end of the text.
Excel TRIM Function
TRIM is useful when cleaning up text that has come from
other applications or environments.
Notes:
1. TRIM only removes the ASCII space character (32) from
text.
2. Unicode text often contains a non-breaking space
character (160) that appears in web pages as the HTML
entity, . This will not be removed with TRIM. See
the Microsoft article Remove spaces and non-printing
characters from text for more information.
www.prolearninghub.com
Excel TRIM Function
www.prolearninghub.com
EXCEL
UPPER FUNCTION
Excel UPPER Function
Purpose
Convert text to upper case
Return value
Uppercase text.
Syntax
=UPPER (text)
Arguments
text - The text thatto convert to upper case.
Usage notes
All letters in text are converted to upper case. Numbers and
punctuation characters are not affected.
www.prolearninghub.com
Excel UPPER Function
www.prolearninghub.com
EXCEL
VALUE FUNCTION
Excel VALUE Function
Purpose
Convert text to a number
Return value
A numeric value.
Syntax =VALUE (text)
Arguments
text - The text value to convert to a number.
Usage notes
Use the VALUE function to convert text to a numeric value.
The VALUE function converts text that appears in a recognized format (i.e. a
number, date, or time format) into a numeric value.
Normally, Excel automatically converts text to numeric values as needed, so the
VALUE function is not needed.
Notes:
Microsoft states that the VALUE function is provided for compatibility with other
spreadsheet programs.
www.prolearninghub.com
Excel VALUE Function
www.prolearninghub.com
EXCEL
GETPIVOTDATA FUNCTION
Excel GETPIVOTDATA Function
Purpose
Retrieve data from a pivot table in a formula
Return value
The data requested
Syntax
=GETPIVOTDATA (data_field, pivot_table, [field1, item1], ...)
Arguments
data_field - The name of the value field to query.
pivot_table - A reference to any cell in the pivot table to query.
field1, item1 - [optional] A field/item pair.
www.prolearninghub.com
Excel GETPIVOTDATA Function
Usage notes
Use the GETPIVOTDATA function to query an existing pivot
table and retrieve specific data based on the pivot table
structure. The first argument (data_field) names a value field to
query. The second argument (pivot table) is a reference to any
cell in an existing pivot table.
Additional arguments are supplied in field/item pairs that act
like filters to limit the data retrieved based on the structure of
the pivot table. For example, you might supply the field
"Region" with the item "East" to limit sales data to sales in the
East region.
www.prolearninghub.com
Excel GETPIVOTDATA Function
For example, in the screen on this page, the formula in cell I7 is:
=GETPIVOTDATA("Sales",$B$3,"Region",I5,"Product",I6)
This causes the GETPIVOTABLE function to retrieve data from the field
"Sales" in the pivot table that begins in cell B3. The data is limited to the
region "Midwest" for the product "Hazelnut". The values for Region and
Product come from cells I5 and I6.
The GETPIVOTABLE function is generated automatically when you
reference a value cell in a pivot table. To avoid this, you can simply type the
address of the cell you want (instead of clicking). If you want to disable this
feature entirely, disable "Generate GETPIVOTABLE" in the menu at Pivot
TableTools > Options > Options (far left, below the pivot table name).
Notes:
The name of the data_field, and field/item values must be enclosed in
double quotes.
GETPIVOTDATA will return a #REF error if any fields are spelled incorrectly.
www.prolearninghub.com
Excel GETPIVOTDATA Function
www.prolearninghub.com
© Copyright 2026 Paperzz