1 / 11

Excel Text Functions MGMI 311

Excel Text Functions MGMI 311. Data Structure. Text is Excel = Array of Characters = String ( when coding) Text Function  Array Operation. ASCII code. Most computers use ASCII code to represent text, which makes it possible to transfer data from one computer to another.

Télécharger la présentation

Excel Text Functions MGMI 311

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ExcelTextFunctionsMGMI 311

  2. Data Structure • Text is Excel = Array of Characters = String (whencoding) • Text Function Array Operation

  3. ASCII code • Most computers use ASCII code to represent text, which makes it possible to transfer data from one computer to another. • American Standard Code for Information Interchange • The standard ASCII code character set uses just 7 bits for each character

  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. Array Function Vs.Excel Text

  6. FIND (Find_Text, Within_Text, Start_num) SEARCH (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

  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. 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. 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. 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. Logical Function • Logical condition test : logical operators ( return TRUE / FALSE ) e.g. • ISBLANK • ISTEXT • ISNONTEXT • ISNUMBER • ISEVEN / ISODD • ISERROR

More Related