0% found this document useful (0 votes)
10 views

Lesson-11-Math-Formulas

Uploaded by

syedgousia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views

Lesson-11-Math-Formulas

Uploaded by

syedgousia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 18

Data Used in Formula

12.2
12.9
-12.2

Formula Result Commentary


=INT(A2) 12 Returns the integer part
=INT(A2) 12 Returns the integer part
If negative, returns the integer part by rounding away
=INT(A4) -13
from 0
Data Used in Formula
10
3

Formula Result Commentary

=MOD(A2,A3) 1 Returns the remainder 1 when 10 is divided by 3

=MOD(3,2) 1 Returns the remainder 1 when 3 is divided by 2

Returns the remainder 1 when -3 is divided by 2. Sign


=MOD(-3,2) 1
is same as that of the divisor
Returns the remainder -1 when 3 is divided by -2. Sign
=MOD(3,-2) -1
is same as that of the divisor
Returns the remainder -1 when -3 is divided by -2.
=MOD(-3,-2) -1
Sign is same as that of the divisor
Formula Result Commentary

=Rand() 0.634388462570823
Returns a random number between 0 and 1. It
=Rand() 0.457265741206556 changes when ever there is any calculation or when
F9 is pressed
=Rand() 0.828820526513462
=Rand() 0.240918407488474
Data Used in Formula
100
1000

Formula Result Commentary

=RANDBETWEEN(A2,A3) 301
Returns a random number between the specified
=RANDBETWEEN(100,1000) 900 limits. It changes when ever there is any calculation or
when F9 is pressed
=RANDBETWEEN(2,20) 16
=RANDBETWEEN(-100,0) 0
Formula Result Commentary
=ROUND(500.51,1) 500.5 Rounds to 1 decimal place
=ROUND(500.55,1) 500.6 Rounds to 1 decimal place
=ROUND(500.55,0) 501 Rounds to 0 decimal place
=ROUND(500.55,-1) 500 Rounds to -1 decimal place
=ROUND(500.55,-3) 1000 Rounds to -3 decimal place
Data Used in Formula
10
20
30

Formula Result Commentary


=SUM(A2:A4) 60 Adds value in A2 to A4
=SUM(A2:A3,A4) 60 Adds value in A2 to A3, and A4
Adds "10" (excel converts "10" to 10), 10, value in A2
=SUM("10",10,A2,TRUE) 31
and TRUE (TRUE is treated as 1)
Data Used in Formula
Tom 100
Jane 200
Arjun 400
Tom 700

Formula Result Commentary


=SUMIF(B2:B5,">200") 1100 Adds all the values more than 200 (400+700)

=SUMIF(A2:A5,"Tom",B2:B5) 800 Adds all the values for Tom (100+700)

Adds the values for all the names that have the
=SUMIF(A2:A5,"*a*",B2:B5) 600
alphabet "a" in it (200+400)
Data Used in Formula
Tom 100
Jane 200
Arjun 400
Tom 700

Formula Result Commentary


=SUMIFS(B2:B5,B2:B5,">100",B Adds all the values greater than 100 and less than 500
600
2:B5,"<500") (200+400)
Adds all the values for sales person whose name
=SUMIFS(B2:B5,A2:A5,"*a*",A2:
200 contains the alphabet "a" and whose name starts with
A5,"J*")
"J"

=SUMIFS(B2:B5,A2:A5,"<>Tom", Adds the values for all the names are not equal to
400
B2:B5,">200") "Tom" and whose sales are more than 200
Data Used in Formula
1 5 10
2 6 11
3 7 12
4 8 13

Formula Result Commentary

Multiplies each value of A2:A5 to the


=SUMPRODUCT(A2:A5,B2:B5) 70 corresponding value of B2:B5, and then adds all
the values (1*5+2*6+3*7+4*8)

Multiplies each value of A2:B5 to the


=SUMPRODUCT(A2:B5,B2:C5) 374 corresponding value of B2:C5, and then adds all
the values

The size of all the arrays should be the same, or


=SUMPRODUCT(A2:A4,B2:B5) #VALUE!
else it gives an error

Evaluates each value in A2:A5 for the condition


greater than 3, and adds all the corresponding
=SUMPRODUCT(--
15 values in B2:B5 that meet the criteria (7+8).
(A2:A5>2),B2:B5)
Note that the double negative (--) converts
TRUE to 1 and FALSE to 0

You might also like