This document provides an overview of logic and text functions in Microsoft Excel. It describes functions such as CONCATENATE, LEFT, RIGHT, and MID that manipulate text, as well as functions like UPPER and LOWER to change case. Logical functions covered are IF, OR, AND, and IFERROR. IF allows conditional checks, OR checks if any conditions are true, AND checks if all are true, and IFERROR handles errors. Examples are given to demonstrate usage of these functions to evaluate grades and test multiple conditions.
Download as PPTX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
41 views
Microsoft Excel: Logic and Text Functions
This document provides an overview of logic and text functions in Microsoft Excel. It describes functions such as CONCATENATE, LEFT, RIGHT, and MID that manipulate text, as well as functions like UPPER and LOWER to change case. Logical functions covered are IF, OR, AND, and IFERROR. IF allows conditional checks, OR checks if any conditions are true, AND checks if all are true, and IFERROR handles errors. Examples are given to demonstrate usage of these functions to evaluate grades and test multiple conditions.
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 14
Microsoft Excel
Logic and Text Functions
Text Functions CONCATENATE Combines several text/numerical strings into one string Spaces between strings are defined by <quotation mark><space><quotation mark> or ( )
CONCATENATE =CONCATENATE(A5, ,B5, ,C5, ,D5)
LEFT, RIGHT Displays the first n digits to the left/right of a text value =LEFT(text,# chars) =RIGHT(text,# chars)
MID Displays the first n characters from starting point x in the middle of a text value =MID(text, start num, # chars.)
UPPER, LOWER converts all text in the string to the upper/lower case Logical Functions IF =IF(condition, value if true, value if false) =IF(condition, then, else)
Read GRADE If GRADE >= 60, then Print Student Passed else Print Student Failed endif OR Multiple conditions wherein only one needs to be satisfied in order for a statement to be true =OR(condition1,condition2,)
AND Multiple conditions wherein all must be satisfied in order for the statement to be true =AND(condition1,condition2,) Read GRADE If GRADE >= 60, If GRADE>=75 then Print Special Course else Print Student Passed else Print Student Failed endif IFERROR Masks erroneous computations (#REF!, #VALUE!, #DIV/0!) by displaying a pre-set message =IFERROR(value, value if error)