Download presentation
Presentation is loading. Please wait.
1
Excel REPT Function
2
Excel REPT Function Purpose Return value Syntax Arguments Usage notes
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.
3
Excel REPT Function
4
Excel RIGHT Function
5
Excel RIGHT Function Purpose Return value Syntax Arguments Usage notes
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.
6
Excel RIGHT Function
7
Excel SEARCH Function
8
Excel SEARCH Function Purpose Return value Syntax Arguments
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.
9
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 ~?.
10
Excel SEARCH Function
11
Excel SUBSTITUTE Function
12
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.
13
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.
14
Excel SUBSTITUTE Function
15
Excel TEXT Function
16
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.
17
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 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.
18
Excel TEXT Function
19
Excel TRIM Function
20
Excel TRIM Function Purpose Return value Syntax Arguments Usage notes
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 or end of the text.
21
Excel TRIM Function TRIM is useful when cleaning up text that has come from other applications or environments. Notes: TRIM only removes the ASCII space character (32) from text. 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.
22
Excel TRIM Function
23
Excel UPPER Function
24
Excel UPPER Function Purpose Return value Syntax Arguments Usage notes
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.
25
Excel UPPER Function
26
Excel VALUE Function
27
Excel VALUE Function Purpose Return value Syntax =VALUE (text)
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.
28
Excel VALUE Function
29
Excel GETPIVOTDATA Function
30
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.
31
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.
32
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.
33
Excel GETPIVOTDATA Function
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.