03 Excel
03 Excel
com/en-us/office/math-and-trigonometry-functions-reference-ee158fd6-33be
eference-ee158fd6-33be-42c9-9ae5-d635c3ae8c16
City Number of weekly riders
Price per week
Population of city
1 192,000 $15 1,800,000
2 190,400 $15 1,790,000
3 191,200 $15 1,780,000
4 177,600 $25 1,778,000
5 176,800 $25 1,750,000
6 178,400 $25 1,740,000
7 180,800 $25 1,725,000
8 175,200 $30 1,725,000
9 174,400 $30 1,720,000
10 173,920 $30 1,705,000
11 172,800 $30 1,710,000
12 163,200 $40 1,700,000
13 161,600 $40 1,695,000
14 161,600 $40 1,695,000
15 160,800 $40 1,690,000
16 159,200 $40 1,630,000
17 148,800 $65 1,640,000
18 115,696 $102 1,635,000
19 147,200 $75 1,630,000
20 150,400 $75 1,620,000
21 152,000 $75 1,615,000
22 136,000 $80 1,605,000
23 126,240 $86 1,590,000
24 123,888 $98 1,595,000
25 126,080 $87 1,590,000
26 151,680 $77 1,600,000
27 152,800 $63 1,610,000
MEAN
MODE
VAR
SD
MEDIAN
MAX
MIN
SKEWNESS
KURTOSIS
DESCRIPTIVE STATISTICS Number of weekly riders Price per week
QUARTILE
Mean 160026.0740741 Mean
Standard Error 4099.398087263 Standard Error
Median 161600 Median
Mode 161600 Mode
Standard Deviation 21301.09730277 Standard Deviation
Sample Variance 453736746.302 Sample Variance
Kurtosis -0.53884668356 Kurtosis
Skewness -0.44768058589 Skewness
Range 76304 Range
Minimum 115696 Minimum
Maximum 192000 Maximum
Sum 4320704 Sum
Count 27 Count
Monthly income of riders
Average parking rates per month
$5,800 $50
$6,200 $50
$6,400 $60
$6,500 $60
$6,550 $60
$6,580 $70
$8,200 $75
$8,600 $75
$8,800 $75
$9,200 $80
$9,630 $80
$10,570 $80
$11,330 $85
$11,600 $100
$11,800 $105
$11,830 $105
$12,650 $105
$13,000 $110
$13,224 $125
$13,766 $130
$14,010 $150
$14,468 $155
$15,000 $165
$15,200 $175
$15,600 $175
$16,000 $190
$16,200 $200
Mean 107.037
Standard E 8.726859
Median 100
Mode 60
Standard D 45.34609
Sample Var 2056.268
Kurtosis -0.768703
Skewness 0.668861
Range 150
Minimum 50
Maximum 200
Sum 2890
Count 27
AND Function
AND function returns a Boolean value (TRUE or FALSE) after testing conditions you specify.
OR Logical Function
The OR in Excel requires only one condition to be TRUE
IF Logical Function
we want to assign either "Pass" or "Fail" based on a test score. A passing score is 20 or higher.
STUDENT MARK1
A 35
B 44
C 43
D 23
E 49
F 12
G 39
H 40
I 42
IF WITH FORMULAS
It is necessary to overestimate the trade balances. If The product is kept in stock for more than 8 m
Let’s complicate the task: if the product is stored for more than 8 months, the price is reduced 2 tim
IFS Function
IFS is a function which contains one or more arguments inside a function.
2<20,"F",B122<25,"D",B122<30,"C",B122<40,"B",
A 35 B1
B 44 A
C 43 A
D 23 D
E 49 A
F 12 F
G 39 B
H 40 A
I 42 A
IFERROR Function
IFERROR function returns an alternate value if a formula results in an error. It will check for errors s
MATCH FUNCTION
The MATCH Function checks for a particular value in a range of cells and returns the respective loc
Match_type (optional) – explains the match type. It can be any one of these values: 1, 0, -1. The
DESCRIPTION ITEM COLOR
TEDDY BEAR 1234 RED
DOLL 2345 BLUE
MICKEY MOUSE 2356 PINK
DONALD DUCK 2389 BLACK
RABBITS 2371 WHITE
IFNA
IFNA function in Excel to replace a #N/A error with a friendly message. The IFNA function only catc
TRUE FALSE
AND(B5>30, C5>30)
TRUE
FALSE
FALSE
TRUE
FALSE
TRUE
FALSE
TRUE
TRUE FALSE
OR(B19>30, C19>30)
TRUE
TRUE
TRUE
TRUE
FALSE
TRUE
TRUE
TRUE
The product is kept in stock for more than 8 months we should reduce its price 2 times.
IF(C62>=8,B62/2,B62)
59.5
197
158
250
150
185
600
66.5
more than 8 months, the price is reduced 2 times. If it’s more than 5 months, but less than 8, it’s 1.5 times.
IF(C75>=8,B75/2,IF(AND (C75>=5,C75<8),B75/1.5,B75))
59.5
131.333333333333
105.333333333333
166.666666666667
150
185
600
66.5
rather than a pass / fail result:
07<30,"C",IF(B107<40,"B","A"))))
30,"C",B122<40,"B", B122<50,"A")
another. If we give TRUE, it will return FALSE and when given FALSE, it will return TRUE. So, basically, it will
PRICE
500
450
600
300
400
can be used to check the condition based on a certain scenario. It provides the reverse result of the OR func
OR
TRUE FALSE
OR(B148>30, C148>30)
TRUE
TRUE
TRUE
TRUE
FALSE
TRUE
TRUE
TRUE
mula results in an error. It will check for errors such as #N/A, #VALUE!, #REF!, #DIV/0!, #NUM!, #NAME? or #
PRICE PER UNIT
FORMULA RESULT
20.00
29.75
#VALUE!
#DIV/0!
8.33
27.27
41.11
85.71
#DIV/0!
/1.5,B75))
UE. So, basically, it will always return a reverse logical value.
NOT(C137="RED")
TRUE
TRUE
TRUE
TRUE
se result of the OR function. This function was not available in an earlier version of Excel. It was added in Exc
XOR
XOR(B148>30, C148>30) If both conditions find not to be satisfied, it even re
FALSE If both conditions find not to be satisfied, it even re
TRUE It returned TRUE as one of the given conditions is s
TRUE It returned TRUE as one of the given conditions is s
FALSE If both conditions find not to be satisfied, it even re
FALSE If both conditions find not to be satisfied, it even re
FALSE If both conditions find not to be satisfied, it even re
TRUE It returned TRUE as one of the given conditions is s
FALSE If both conditions find not to be satisfied, it even re
IFERROR RESULT
IFERROR(B162/C162,"INVALID DATA")
29.75
INVALID DATA
INVALID DATA
8.33
27.27
41.11
85.71
INVALID DATA
0, returns the exact match, while the other two types of values allow for an approximate match.
IFNA RESULT
IFNA(D188,"OOPS!!! ERROR")
29.75
#VALUE!
#DIV/0!
8.33
27.27
41.11
85.71
#DIV/0!
IFNA RESULT
IFNA(D199,"OOPS!!! ERROR")
1.00
OOPS!!! ERROR
OOPS!!! ERROR
OOPS!!! ERROR
xcel. It was added in Excel 2013 and is now available in all the above versions.
to be satisfied, it even returns FALSE
to be satisfied, it even returns FALSE
f the given conditions is satisfied.
f the given conditions is satisfied.
to be satisfied, it even returns FALSE
to be satisfied, it even returns FALSE
to be satisfied, it even returns FALSE
f the given conditions is satisfied.
to be satisfied, it even returns FALSE
mate match.
SUMPRODUCT
SUMPRODUCT Function can be used to return a value after sum and multiplies values from the ranges
RANKIF
Conditional Ranking in Excel using SUMPRODUCT Function [RANKIF]
Here our target is to rank all the students in each of the subjects. That means, ranking from first to th
ranking from first to the last student in each subject like Finance, Operations, and so on, according to their mar
First of all, add a new column at the end of the table and name it “Subject Wise Rank”
in the D4 cell, enter this formula =SUMPRODUCT((–(C2=$C$2:$C$121)),(–(B2<$B$2:$B$121)))+1 and
In the first part, you have used (–(C2=$C$2:$C$121)) to compare a subject name with the entire rang
To check, just edit your formulas in cell D4, select only the first part of the formula, and press F9. It wi
Here all the values which are matched with the subject name from cell D4 are TRUE and the others ar
So, the point is, that it has returned a TRUE in the entire array where the subject name is matched.
And in the end, you must use the double minus sign to convert TRUE and FALSE into 1 and 0.
Result from this part of the formula: We have a 1 where the subject is matched and a 0 where the sub
n the second part, you have used (–(B2<$B$2:$B$121)) to check other students’ scores that are grea
And it returns an array in which all the values are TRUE where marks are greater than Tameka.
To check, just edit your formulas in cell D4, select only the second part of the formula and press F9. It
Here all the values which are greater than “24” are TRUE and others are FALSE. So, the point is, that i
Result from this part of the formula: We have a 1 where the score is greater and a 0 score where the s
Now take a deep breath and relax. Slow down your mind and think like this. At this point, we have two
1. In the first array, you have 1 for all values where the subject is matched and 0 if not matched.
2. In the second array, you have one for all the values where the score of the students is greater and
Now, when SUMPRODUCT multiplies these two arrays you will get 1 only for those students whose sub
n, according to their marks
d 0 if not matched.
students is greater and zero if equal or lower.
ose students whose subject is matched, and the score is greater than Tameka.
ue and are matched with the subject name “Finance”.