Formulas
Formulas
Formulas
Formula is a process
Input--->Calculate--->Output
ARGUMENTS (2 types)
1. MANDATORY
2. [OPTIONAL ARUGMENT] 25
DATA TYPE
INPUT DATA TYPE YOU CAN GIVE
TEXT TEXT/STRINGS/TEXT FORMATTED N
SERIAL NUMBERS/ DATES /TIME DATE/TIME
NUMBER/INDEX/k/NUM NUMBERS
RANGE/ARRAY/CELL REF REFERENCE
LOGICAL OUTPUT TRUE/FALSE
VALUE ALL OF THE ABOVE
10
20 20
30
DATA TYPE
INPUT REQUIRES
"TEST" - DOUBLE QUOTES FOR MANUAL INPUT YOU GIVE
"07/06/2014" - DOUBLE QUOTES FOR MANUAL INPUT 25 6/25/2018
337 83
56 22
Using comparision operators. <,>,<=,>=,=,<> Name99 12
NAME7 73
FAIL
NAME1 83 PASS
NAME2 56 PASS
NAME3 48 PASS
NAME4 43 PASS
NAME5 22 FAIL
NAME6 12 FAIL
NAME7 73 PASS
Type of Reference Styles Example
1. Relative No $ symbols A1
2. Absolute 2 $ symbols $A$1
3. Mixed Reference i. Row Freeze $ For Row A$1
ii. Column Freeze $ For Column $A1
1. Relative
DIS % 10%
2 3 4 5
2 4 6 8 10
3 6 9 12 15
4 8 12 16 20
5 10 15 20 25
TEXT FORMULAS
Source
Microsoft Excel
LEN 15 4
Source
miCroSoft exCeL
UPPER MICROSOFT Microsoft Excel
LOWER excel Microsoft Excel
PROPER Microsoft
Source
Microsoft Excel 2013
TRIM Microsoft Excel 2013
Soruce
10
20
30
0
VALUE 10 a123
20 Err:502
30
60
abc
CBA CBA
Source
mIcroSoFT eXceL 2013
TRIM & PROPER Microsoft Excel 2013
Microsoft Excel 2013
Microsoft Excel 2013
Microsoft Excel 2013
Microsoft Excel 2013
TIME 10:45:35
Please find out how many total seconds are there in the time valu
HOUR 10 38735
MINUTE 45
SECOND 35
DATEDIF 1/23/1992 31 31
8/15/2023 378 6
11527 23 31 Years 6 Months 23 Da
11527
DATEDIF(START_DATE,END_DATE,FORMAT)
Date calculations:
Date+Days 12/28/2017 10 1/7/2018
Date-Days 12/28/2017 15 12/13/2017
Date-Date 12/28/2017 12/1/2017 27
6/26/2018
6/29/2018
12/24/2136
12/7/2017
1/12/2018
4/5/2018
4/10/2018 20
4/30/2018
5/1/2018
IF Target Score 40
AND
OR
0% 5% 20% 30%
Income Max.Tax Rate 1 2 3 4 Tax
750000 20.00% 250000 250000 250000 0 62500
150000 0.00% 0 0 0 0 0
750000 20.00% 250000 250000 250000 0 62500
500000 5.00% 250000 250000 0 0 12500
2400000 30.00% 250000 250000 500000 1400000 532500
550000 20.00% 250000 250000 50000 0 22500
1250000 30.00% 250000 250000 500000 250000 187500
700000 20.00% 250000 250000 200000 0 52500
250000 0.00% 250000 0 0 0 0
350000 5.00% 250000 100000 0 0 5000
70000 0.00% 0 0 0 0 0
1350000 30.00% 250000 250000 500000 350000 217500
2350000 30.00% 250000 250000 500000 1350000 517500
1400000 30.00% 250000 250000 500000 400000 232500
2400000 30.00% 250000 250000 500000 1400000 532500
250000 0.00% 250000 0 0 0 0
1850000 30.00% 250000 250000 500000 850000 367500
2450000 30.00% 250000 250000 500000 1450000 547500
A 1
B 0
C 0
D 0
E 1
F 0
G 0
H 0
I 1
J 0
K 0
L 0
M 0
N 0
O 1
P 0
Q 0
R 0
S 0
T 0
U 1
V 0
W 0
X 0
Y 0
Z 0
0-34 FAIL
35-60 C GRADE
61-80 B GRADE CUTOFF
81 ABOVE A GRADE
STATUS
FAIL
PASS
PASS
FAIL
PASS
FAIL
FAIL
PASS
FAIL
PASS
INFORMATION FORMULAS
ISODD 5 1
ISNUMBER 24 1 24 0
excel 0
ISTEXT excel 1
ISERROR #DIV/0! 1
ISBLANK 1 0
86 291 Valid
291
79
510
261
798
153
524
228
number or not, if number then check is even or odd, print the result in E4 cell
STATISTICAL FORMULAS
AVERAGE 37588.235
AVERAGEIF 26562.5 Average Net Salary of Managers Get the average net salary of Testers
Average Net Salary of Managers where the basic salary is greater than 10000
AVERAGEIFS 33333.333 Avg. net salary of Testers whose basic salary is greater than 5000
Answer 15000
RANK
NAME MARKS Rank
Name1 71 4
Name2 85 1
Name3 83 2
Name4 39 7
Name5 83 2
Name6 64 5
Name7 22 8
Name8 57 6
Name9 21 10
Name10 22 8
erage net salary of Testers
Answer
SUM get the sum of net salary from Data Set sheet 639000
SUMIF Find out the sum of mangers' salaries 106250
SUMIFS Mangers' salaries where basic salary is greater than 10000 100000
1
RAND 0.9832449 Name Marks
RANDBETWEEN 89 Name1 89 PASS
Name2 93 PASS
MEDIAN 74 Name3 48 PASS
MODE 48 Name4 33 FAIL
Name5 48 PASS
-10 Name6 88 PASS
ABS 10 Name7 90 PASS
Name8 91 PASS
Name9 74 PASS
ROUND 100.68 100.679982 Name10 23 FAIL
Name11 31 FAIL
708
Formula
639000
1
2
3
ROW 7 4
COLUMN 2 1 2 3 4
VLOOKUP
EMP ID Emp Name Designation Basic Salar HRA Deduction Net Salary
E00017 Sam CEO 198000
E00014
E00009
E00001
E00091
EMP ID Emp Name Designation Basic Salar HRA Deduction Net Salary
E00017 Sam CEO 86000 25000 12000 198000
E00014 Pareto DB 17000 8500 4250 21250
E00009 John BechamDB 14000 7000 3500 17500
E00001 Suresh Associate 60000 12000 15000 57000
E00091 #N/A #N/A #N/A #N/A #N/A #N/A
EMP ID Emp Name Designation Basic Salar HRA Deduction Net Salary
E00017 Sam CEO 86000 25000 12000 198000
E00014 Pareto DB 17000 8500 4250 21250
E00009 John BechamDB 14000 7000 3500 17500
E00001 Suresh Associate 60000 12000 15000 57000
E00091 Not Found Not Found Not Found Not Found Not Found Not Found
MATCH
1 2 3 4 5 6 7
EMP ID Deductions Emp Name HRA Basic SalaDesignatioNet Salary
6 2 5 4 3 7
HLOOKUP
EMP ID Emp Name Designation Basic Salar HRA Deduction Net Salary
E00017 Sam CEO 85000 25000 12000 98000
E00014 Pareto DB 17000 8500 4250 21250
E00009 John BechamDB 14000 7000 3500 17500
E00001 Suresh Associate 60000 12000 15000 57000
E00091 #N/A #N/A #N/A #N/A #N/A #N/A
Customers Table Products Table
E00016
E00019
E00011
E00017
E00014
INDEX & MATCH
124 Prashanth
Net Salary
EMP ID Emp Name Designation Basic Salary HRA Deductions Net Salary
E00012 Morgan Analyst 15000 12000 10000 47500
E00001 Suresh Associate 60000 12000 15000 57000
E00017 Sam CEO 86000 25000 12000 198000
E00014 Pareto DB 17000 8500 4250 21250
E00009 John Becham DB 14000 7000 3500 17500
E00005 Ramesh DB 36000 18000 9000 45000
E00007 James Developer 21000 10500 5000 26500
E00003 Sai Developer 14000 7000 3500 17500
E00002 Kaveri Lead 39000 19500 9750 48750
E00016 Modi Manager 17000 8500 4250 21250
E00015 William Smith Manager 5000 2500 1250 6250
E00010 Thompson Manager 28000 14000 7000 35000
E00006 Deepak Manager 35000 17500 8750 43750
E00011 Jones PJM 17000 8500 4250 21250
E00013 Howard Tester 2000 1000 500 2500
E00008 Andrews Tester 14000 7000 3500 17500
E00004 Venkat Tester 10000 5000 2500 12500
EMP ID Emp Name Designation Basic Salary HRA Deductions Net Salary
E00012 Morgan Analyst 15000 12000 10000 47500
E00001 Suresh Associate 60000 12000 15000 57000
E00017 Sam CEO 85000 25000 12000 198000
E00014 Pareto DB 17000 8500 4250 21250
E00009 John Becham DB 14000 7000 3500 17500
E00005 Ramesh DB 36000 18000 9000 45000
E00007 James Developer 21000 10500 5000 26500
E00003 Sai Developer 14000 7000 3500 17500
E00002 Kaveri Lead 39000 19500 9750 48750
E00016 Modi Manager 17000 8500 4250 21250
E00015 William Smith Manager 5000 2500 1250 6250
E00010 Thompson Manager 28000 14000 7000 35000
E00006 Deepak Manager 35000 17500 8750 43750
E00011 Jones PJM 17000 8500 4250 21250
E00013 Howard Tester 2000 1000 500 2500
E00008 Andrews Tester 14000 7000 3500 17500
E00004 Venkat Tester 10000 5000 2500 12500
E00091 Test1 Desg1 1000 2000 3000 5000
Basic SalaEmp Name Designation EMP ID HRA Deductions Net Salary
15000 Morgan Analyst E00012 12000 10000 47500
60000 Suresh Associate E00001 12000 15000 57000
86000 Sam CEO E00017 25000 12000 198000
17000 Pareto DB E00014 8500 4250 21250
14000 John Becham DB E00009 7000 3500 17500
36000 Ramesh DB E00005 18000 9000 45000
21000 James Developer E00007 10500 5000 26500
14000 Sai Developer E00003 7000 3500 17500
39000 Kaveri Lead E00002 19500 9750 48750
17000 Modi Manager E00016 8500 4250 21250
5000 William Smith Manager E00015 2500 1250 6250
28000 Thompson Manager E00010 14000 7000 35000
35000 Deepak Manager E00006 17500 8750 43750
17000 Jones PJM E00011 8500 4250 21250
2000 Howard Tester E00013 1000 500 2500
14000 Andrews Tester E00008 7000 3500 17500
10000 Venkat Tester E00004 5000 2500 12500
Sum of Deductions
50 RandBetween
20 54
30 94
100 26
98
58
82
92
59
82
79