Excel - Text Functions



Microsoft Excel is enriched with a bundle of Text functions, providing deep insights into manipulating and extracting strings with exciting examples. In this tutorial, we will cover the various types of text functions and their definitions, syntax, benefits, and real-time scenarios. Text Functions are included in the older and latest versions of Microsoft Excel. You can also utilize these functions in Excel for the web.

You can insert these text functions by selecting the Text Functions category under the Function Library group in the Formula tab or the Insert Function to add the specific Text function in the worksheet.

Sr.No. Function and Description
1

ARRAYTOTEXT

Converts an array or range of values into a text string.

2

ASC

Converts a character into its corresponding ASCII value.

3

BAHTTEXT

Converts a number to Thai text and adds a suffix of "Baht."

4

CHAR

Returns the character specified by a number. Use CHAR to translate code page numbers you might get from files on other types of computers into characters.

5

CLEAN

Removes all nonprintable characters from text. Use CLEAN on text imported from other applications that contains characters that may not print with your operating system.

6

CODE

Returns a numeric code for the first character in a text string. The returned code corresponds to the ANSI character set for the Windows System.

7

CONCAT

Combines the text from multiple ranges and/or strings, but it doesn't provide the delimiter or IgnoreEmpty arguments.

8

CONCATENATE

Joins two or more text strings into one string.

9

DBCS

Converts a single-byte character (SBCS) to a double-byte character (DBCS) which is primarily used for languages like Japanese, Chinese, and Korean.

10

DOLLAR

Converts a number to text format and applies a currency symbol. The name of the Function and the symbol that it applies depend upon your language settings.

11

Exact

Compares two text strings and returns TRUE if they are exactly the same, FALSE otherwise.

12

FIND

FIND and FINDB locate one text string within a second text string, and return the number of the starting position of the first text string from the first character of the second text string.

13

FIXEDFINDB

Find the position of a substring within a string, counting double-byte characters as two characters.

14

FIXED

Rounds a number to the specified number of decimals, formats the number in decimal format using a period and commas, and returns the result as text.

15

LEFT

Returns the first character or characters in a text string, based on the number of characters you specify.

16

LEFTB

Extracts a specified number of bytes from the beginning of a string.

17

LEN

LEN returns the number of characters in a text string. LENB returns the number of bytes used to represent the characters in a text string.

18

LENB

Returns the number of bytes used to represent a string, useful for double-byte character sets (DBCS) like Japanese, Chinese, and Korean.

19

LOWER

Converts all uppercase letters in a text string to lowercase.

20

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.

21

MIDB

Extracts a specified number of bytes from a string, starting at a specified position.

22

NUMBERVALUE

Converts text to a number, in a locale-independent way.

23

PHONETIC

Extracts phonetic characters (furigana) from Japanese text.

24

PROPER

Capitalizes the first letter in a text string and any other letters in text that follow any character other than a letter. Converts all other letters to lowercase letters.

25

REPLACE

Replaces part of a text string, based on the number of characters you specify, with a different text string.

26

REPLACEB

Replace a specified number of bytes in a string, starting at a given position.

27

REPT

Repeats text a given number of times. Use REPT to fill a cell with a number of instances of a text string.

28

RIGHT

Returns the last character or characters in a text string, based on the number of characters you specify.

29

RIGHTB

Extracts a specified number of bytes from the end of a string, useful for handling double-byte character sets (DBCS) in languages like Japanese, Chinese, and Korean.

30

SEARCH

The SEARCH and SEARCHB functions locate one text string within a second text string, and return the number of the starting position of the first text string from the first character of the second text string.

31

SEARCHB

Find the position of a substring within a string, counting bytes instead of characters.

32

SUBSTITUTE

Substitutes new_text for old_text in a text string.

33

T

The T function returns the text referred to by value.

34

TEXT

Converts a numeric value to text and lets you specify the display formatting by using special format strings.

35

TEXTAFTER

Returns the text that appears after a specified substring within a text string

36

TEXTBEFORE

Returns the text that appears before a specified substring within a text string.

37

TEXTJOIN

Combines the text from multiple ranges and/or strings, and includes a delimiter you specify between each text value that will be combined. If the delimiter is an empty text string, this function will effectively concatenate the ranges.

38

TEXTSPLIT

Splits text strings into an array based on specified delimiters.

39

TRIM

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.

40

UNICHAR

Returns the Unicode character that is referenced by the given numeric value.

41

UNICODE

Returns the number (code point) corresponding to the first character of the text.

41

UPPER

Converts text to uppercase.

43

VALUE

Converts a text string that represents a number to a number.

44

VALUETOTEXT

Converts a numeric value into text format.

Advertisements