Unit 3 (Sample File)

You might also like

Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 31

Arithmetic Functions

Example 1 Example 3
Items Sales Price Vat
Apple 750 750 10%
Banana 470 470 11%
Grape 590 590 12%
Orange 550 550 8%
Total 2360
VAT Amount

Example 2
Student Name Marks1 Marks2 Total
JOE 20 15
RONIT 23 16
DIA 19 20
RAM 18 24
SIA 20 22
SHAYM 17 19
Total

Example 4
Complex Formuls
10*5+20

STUDENT NAME MARKS REMARKS


JOE 200
RONIT 250
DIA 200
RAM 250
SIA 120
SHYAM 260
VAT Amount
Arthmetic Functions
Sum()
Average() Roll No
Max() 1
Min() 2
Product() 3
Mod() 4
Fact() 5
Power()
Sqrt()
Count()
Counta() 9
Countblank()
Names Physics Chemistry Maths English
Ram 89 56 92 83
Sham 75 93 84 88
Joe 90 81 79 80
Wil 76 83 94 68
Ria 87 78 82 89

Modulus
2

Factoral
7

Power
7 49
2
Sqt countblank
625
Total Average Max Min Product

Roll N0 Name Address Course Marks


1 Ram India Tally 56
2 Sham Japan C++ 78
Joe Singapore C++ 49
4 Wil Londaon 76
5 Ria France 65

Count Counts only numbers


CountaEither there is number or text in the cell
countblank
9

27
3
If Functions

Student Names
JOE
RONIT
DIA
RAM
SIA
SHAYM

Example Nested If

IF(B2>249, "Excellent", IF(B2>=200, "Good", IF(B2>15


Excellent: Over 249
Good: between 249 and 200,
inclusive
Satisfactory: between 199 and
150, inclusive
Poor: Under 150

Student Name
JOE
RONIT
DIA
RAM
SIA
SHAYM
Marks
20
23
19
18
12
17
20
25

nt", IF(B2>=200, "Good", IF(B2>150, "Satisfactory", "Poor

Marks
200
250
200
250
120
260
200
Remarks
Avg
Avg
Avg
Avg
Avg
Avg
Avg
Good

actory", "Poor")))

Remarks
0
Marks>=21,"Good","avg"
Logical Function

What NO NO

Is25=45? 25 45
is 25<>24? 25 45
is 25>45? 25 45
is 25>=45 25 45
is 25<45? 25 45
is 25<=45? 25 45

Logical Function

Name Salary Division


Ram 38250 HFD
joe 82150 CDFD
sham 24550 HFD
phillis 15100 RAD
Will 38050 RAD
XYZ 72700 CDFD

1.IF:age>=50,THEN:Senior,ELSE:BLANK
2.AND: SALARY<50000 &AGE>40
3. OR:DIVISION RAD OR CDFD or(d17=HFD,D17=rad)
4.IF:SALARY<=20000,THEN:LOW;IF:SALARY<=6000,THEN:MEDIUM;ELSE:HIGH
Logical Formula Comparitive Operator

0 =
<>
>
>=
<
<=

Age SENOIR
57 =IF(D17>=50,''Senior'',juniour'')
27
38
31
43
50
Comparitive Operator

Equal
Not Equal
GreatThan
Greater Than Equal
Less Than
Less Than Equal

AND OR Nested IF
Vertical LOOKUP
VLOOKUP Function

Example 1
Income Tax Income Tax
25000 0 $5.00
6000 500 $10.00
500 1000 $15.00
1000 6000 $20.00
25000 0

Example 2

Products Product CodeQuantity Price Products


Mobile 10001 25 $26.5 Camera
Camera 10002 10 $25.5 Cosmetics
Cosmetics 10003 15 $20.0 Laptop
Laptop 10004 20 $18.5
Shoes 10005 30 $19.5
Perfume 10006 35 $4.90
Clothes 10007 25 $20.95

HLOOKUP
Horizontal

Example3

Products Mobile Camera Cosmetics Laptop Shoes


Product Code 10001 10002 10003 10004 10005
Quantity 25 10 15 20 30
Price $26.5 $25.5 $20.0 $18.5 $19.5

VLookup Tables

Income Tax rate Lookup=D6:E9


0 0.15
10000 0.3
30000 0.34
100000 0.4

1 0
Income Rate
-1000
30000
29000
98000
104000
Product ID Price
A134 ₹ 3.50
B242 ₹ 4.20
X212 ₹ 4.80
C413 ₹ 5.00
B2211 ₹ 5.20

ID Price
B2211
B2211

Hloopup

Date 1/1/2005 5/1/2005 8/1/2005


Price 98 105 112

Lookup:B2:D3

Date Price
1/4/2005
5/10/2005
9/12/2005
5/1/2005
Price
Perfume Clothes Products Camera Cosmetics
10006 10007 Price
35 25 Product Code
$4.90 $20.95 Quantity
Laptop
Sales
Month East West
Jan 510 690
Feb 350 490
March 620 430
May 101 200
June 500 321
July 432 654
Aug 456 632
Sept 321 123
oct 543 678
Nov 234 456
Dec 123 432

OFFSET
0 1 2 3
0 DAY MONDAY TUESDAY WEDESDAY
1 CLASS A 21 45 21
2 CLASS B 41 31 33
3 CLASS C 25 39 48
4 CLASS D 43 32 40

offset 36
offset 32
4 5 6
THURSDAY FRIDAY SATURDAY
50 27 23
36 45 45
36 46 33
32 42 31
Pivot Table

Date Product Region Name Units Sales


7-19-16 Chair East John 16 200
7-20-16 Table South Ria 24 $250
7-21-16 Board West Neeta 30 $810.71
7-22-16 Marker west Joseph 19 $418.28
7-23-16 Laptop east Robert 38 $722.22
7-24-16 Projector Mid west Nick 20 $460.20
7-25-16 Switch South Reyan 21 $483.58
7-26-16 Lights South Hary 6 $114.53
7-27-16 Camera Mid west Luke 29 $609.12
7-28-16 Pendrive South Simon 57 $1197.90
7-29-16 Chair West John 12 $228.89
7-30-16 Table West Ria 60 $1380.07
7-31-16 Board East Neeta 54 $123
COGS
$690
$490
$430
200
321
654
632
123
678
456
432
543
456
What-If

Product Name Sugar


Qty 25
Price 15

Total Sales

QTY
0
50
35
65
45

Data Table
QTY
Price 0 25 35
15
20
22
66

Example 2

Name Phy Che Math Hindi


ABC 44 54 36
32 27

Eng Total Percentage


44 178 50%

You might also like