Академический Документы
Профессиональный Документы
Культура Документы
Dr Y L P Thorani
WORKING WITH
FUNCTIONS
A Function is a predefined worksheet
formula
Benefits of predefined functions
Saves time
Simplifies complex calculations
Faster execution
Less chance of typographical errors
Fewer characters in the formula bar
The general format of a function is -
=Functionname(arguments)
Example: =PMT(rate, nper, pv, [fv], [type])
Arguments
MID VALUE
TRIM UPPER
LOWER
LEN
PROPER
FIND
CHAR
SEARCH
CLEAN
REPT
SUBSTITUTE
The LEFT function
The LEFT(text,k) function returns the first k characters in a text
string. For example, cell C3 contains the LEFT(A3,4) formula. Excel
returns Regg.
The RIGHT function
The RIGHT(text,k) function returns the last k characters in a text
string. For example, in cell C4, the RIGHT(A3,4) formula returns
ller.
The MID function
The MID(text,k,m) function begins at character k of a text string and
returns the next m characters. For example, the MID(A3,2,5) formula
in cell C8 returns characters 2–6 from cell A3; the result is eggie.
The TRIM function
The TRIM(text) function removes all spaces from a text string except for
single spaces between words. For example, in cell C5, the TRIM(A3)
formula eliminates two of the three spaces between Reggie and Miller
and yields Reggie Miller. The TRIM function also removes spaces at the
beginning and end of a cell’s contents.