Excel text functions

1, FIND function - the character in the string you want to find  the   location

The FIND (find_text, within_text, start_num) 
Find_text is the string you want to find.
Within_text To find the cell that contains the keyword. That is to find keywords within this cell
Start_num specified number of characters to start looking.
If within_text no find_text, FIND returns the error value
# of VALUE !.
FIND function is case-sensitive

2, Search function

formula search function
 = search (find_text, within_text, start_num)
 = search (the character you want to find, text characters where to begin searching from the first few characters)
 The third parameter can be omitted (default first start looking from) . 
Search functions are not case sensitive.

 3, TRIM function and the CLEAN function

trim function and clean function

Trim () function: remove leading and trailing spaces, intermediate spaces will be reserved a space
 
Clean () function: delete the character which contains the current operating system can not be printed.

4, LEFT and RIGHT function

Intercept function

left函数公式:
LEFT(text, num_chars)
其中text表示我们要截取的那个内容num_chars表示截取的字符的数量

right函数语法:
right(text,num_chars)
其中text表示要截取的字符串
num_chars表示截取的字符的数量

 

 

5、MID函数

MID字符串函数,作用是从一个字符串中截取出指定数量的字符
MID函数公式: 
MID(text, start_num, num_chars)
 text被截取的字符
 start_num从左起第几位开始截取(用数字表达)
 num_chars从左起向右截取的长度是多少(用数字表达)

 

Len函数公式:
Len(string | varname)
LEN函数是一种函数,功能是返回文本串的字符数。

 

Guess you like

Origin www.cnblogs.com/foremostxl/p/11299784.html