Excel-Formulas PAK MCQS PK
Excel-Formulas PAK MCQS PK
com
PAK MCQS PK
Excel Formulas
www.pakmcqs.com.pk
Basic math
Function Formula Example
To add up the total =SUM(cell range) =SUM(B2:B9)
To add individual items =Value1 + Value 2 =B2+C2
Subtract =Value1 - Value 2 =B2-C2
k
Multiply =Value1 * Value2 =B2*C2
.p
Divide =Value1 / Value2 =B2/C2
Exponents =Value1 ^ Value2 =B2^C2
m
Average =AVERAGE(cell range) =AVERAGE(B2:B9)
Median =MEDIAN(cell range) =MEDIAN(B2:B9)
Max =MAX(cell range) =MAX(B2:B9)
co
Min =MIN(cell range) =MIN(B2:B9)
s.
Simple formatting tricks
Function
To change a cell to proper
case
Formula
=PROPER(cell) cq Example
=PROPER(A2)
m
To change a cell to upper =UPPER(cell) =UPPER(A2)
case
ak
Conditional statements
w
www.pakmcqs.com.pkwww.pakmcqs.com.pk
www.worldixam.com
k
returned)
Find text in a field =SEARCH(“text you want =SEARCH(“,”, A2)
.p
to find”, where you want to
find it)
m
Extract information from =MID(cellwithtext, start =MID(A2, 9, 4)
the middle position, number of
co
characters you want
www.pakmcqs.com.pk
returned)
s.
Separate a last name LEFT and SEARCH =LEFT(A2, SEARCH(“,”,
(Example: Smith, Jane) functions A2)‐1)
Separate a first name
(Example: Smith, Jane)
MID and SEARCH
functions
cq =MID(A2, SEARCH(“,”,
A2)+2, 20)
m
Putting things together
ak
To combine cells with a =text & “ “ & text =A2 & “ “ & B2
space in-between (second
w
option)
w
www.pakmcqs.com.pkwww.pakmcqs.com.pk