Professional Documents
Culture Documents
Formula may contain Simple values, cell references, even functions and mathematical Operator
Mathematical Operators are "+" for addition, "-" for subtraction, "/" for division and "*" for multiplicatio
In order to write a formula or a function in a cell we start by typing Equal sign(=) that indicates that the
contents of the cell is either a formula or a function
For Example : Formula can be =A2+B2 or =10+15, or =sum(A2,B2)*5 ,or =A2/B2, or =A2*5, or =A2-A3
Without using paranthesis 3+3*3 will result 12 because multiplication will be done first as a Rule followe
With Parenthesis addition will be done first and then the result of addition will be multiplied
DMAS rule is followed when multiple arithmetic operators are preseant in a given formula or function w
parenthesis, to evaluate a formula DMAS Rule is used, which States that Division or Multiplication which
first will be evaluated and then Addition and Subtraction whichever comes first.
mathematical Operator
ivision and "*" for multiplication.
sign(=) that indicates that the
We develop formula based on some logic required to perform some evaluating/calculating task but functi
built in by Microsoft Excel having predefined logic.
To Enhance the power of Functions we can use it in Formulas, We can one of more functions in the formu
SUM(A1:A5)*.5%
nts and then closing parenthesis.
1 to A5
(A1,B2) and (A1:A5) are the arguments
Values
A How many A values exist in Range A13 to A23?
A
4
B
B How many B values exist in Range A13 to A23?
B
5
C
C How many C values exist in Range A13 to A23?
A
4
C
A
B
C
B
Countif Function
Syntax
COUNTIF(Range,Criteria)
Department Employee Basic Salary Sum Values that are equal to 3000 SUMIF Function add values from
MKT Kamran 1000 6000 satisfies a particular con
MGT Saleem 2000
Syntax
MIF(Range,Criteria,[SumRange])