Presentation is loading. Please wait.

Presentation is loading. Please wait.

Page 1 Excel Text Functions MGMI 311. Page 2 Data Structure Text is Excel = Array of Characters = String (when coding) Text Function  Array Operation.

Similar presentations


Presentation on theme: "Page 1 Excel Text Functions MGMI 311. Page 2 Data Structure Text is Excel = Array of Characters = String (when coding) Text Function  Array Operation."— Presentation transcript:

1 Page 1 Excel Text Functions MGMI 311

2 Page 2 Data Structure Text is Excel = Array of Characters = String (when coding) Text Function  Array Operation

3 Page 3 ASCII code Most computers use ASCII code to represent text, which makes it possible to transfer data from one computer to another. A merican S tandard C ode for I nformation I nterchange The standard ASCII code character set uses just 7 bits for each character

4 Page 4 CODE(text) Returns the ASCII value of a character or the first character in a cell i.e. the function will return the ASCII value for the first character and ignore all of the characters after the first.

5 Page 5 Array Function Vs. Excel Text Array Function Excel Text Function SIZE()Length of ArrayLEN First()First element in an ArrayLEFT(Text, Chars) Last()Last element in an ArrayRIGHT(Text, Chars) Find

6 Page 6 FIND (Find_Text, Within_Text, Start_num) Returns the location of a substring in a string i.e. FIND is case-sensitive SEARCH is not case-sensitive If No Match, it will return #Value SEARCH (Find_Text, Within_Text, Start_num)

7 Page 7 MID (text, Start, Chars) Extract a substring from a string (starting at any position) Note Start= start position (default = 1) Chars= number of characters

8 Page 8 REPLACE (oldText,start_num, Num_chars,New_text) Replaces a sequence of characters in a string with another set of characters Note oldText = the original string value Number_chars= the number of characters to replace the oldText

9 Page 9 SUBSTITUTE (Text, oldText,newText, Instance_num) Replaces a set of characters with another Note Instance_num= n th appearance of the oldText that you want to replace

10 Page 10 Text Functions Concatenate (Text1, Text2,..., TextX) Exact (Text1, Text2) FIXED (Numbers, Decimals, No_comment) LEFT / RIGHT (Text, Char) LOWER (Text), PROPER (Text), UPPER (Text)

11 Page 11 Logical Function Logical condition test : logical operators ( return TRUE / FALSE ) e.g.  ISBLANK  ISTEXT  ISNONTEXT  ISNUMBER  ISEVEN / ISODD  ISERROR


Download ppt "Page 1 Excel Text Functions MGMI 311. Page 2 Data Structure Text is Excel = Array of Characters = String (when coding) Text Function  Array Operation."

Similar presentations


Ads by Google