You are on page 1of 14

1

microsoft excel examples


Example No. 1 Example No. 2
Addition Subtraction
A1 B1 C1 (Ans) D1 E1 F1 (Ans)
100 200 =SUM(A1,B1) 200 100 =(D1-E1)
500 1000 1000 200
1500 3000 1500 300

Example No. 3 Example No. 4

Multiplication Division
A5 B5 C5 (Ans) D5 E5 F5 (Ans)
20 10 =PRODUCT(A5,B5) 10 2 =(D5/E5)
40 20 15 3
100 50 300 15

Example No. 5

Create Simple Invoice Bill With Quantity


S. No Product Price Quantity Amount
1 Keyboard 250 5 =PRODUCT(P,Q)
2 Mouse 200 15
3 Monitor 1500 10
4 CPU 3500 7
Total =SUM(SELECT ALL
Bill AMOUNT)

Example No. 6

Create Another Invoice Bill With Quantity


S. No Product Brand Price Quantity
1 Keyboard Dell 250 5

2 Mouse HP 200 15

3 LCD Samsung 3500 10


Total =SUMPRODUCT(SELECT
Bill ALL P,SELECT ALL Q)
2

Example No. 7

Create Invoice Bill With Including Tax


S. No Product Price Tax 4% Amount
1 Keyboard 250 =PRICE*4% =SUM(PRICE,TAX)
2 Mouse 200
3 Monitor 1500
Total =SUM(SELECT ALL
Bill AMOUNT)

Example No. 8

Find Only Tax Amount


S. No Product Price Tax 4%
1 Keyboard 250 =PRICE*(1+4%)
2 Mouse 200
3 Monitor 1500
Total =SUM(SELECT
Bill ALL TAXES)

Example No. 9

Create Invoice Bill With Including Discount


S. No Product Price Discount 10% Amount
1 Keyboard 200 =PRICE*10% =PRICE-DIS
2 Mouse 320
3 Monitor 1800
Total =SUM(SELECT ALL
Bill AMOUNT)

Example No. 10

Find Only Discount Amount


S. No Product Price Discount 10%
1 Keyboard 250 =PRICE*(1-10%)
2 Mouse 200
3 Monitor 1500
Total =SUM(SELECT ALL
Bill DISCOUNT)
3

Example No. 11

Find Employee Commission On Sale


S. No Employee Sale Commission 4%
1 Ali 25000 =SALE*4%
2 Aslam 30000
3 Bilal 28000

Example No. 12

Find Employee Commission With If Statement


S. No Employee Sale Commission 2%
1 Asad 25000 =IF(SALE>=20000,SALE*2%,0)
2 Ali 30000
3 Abid 15000

Example No. 13

Solve The Employee Salary Sheet Of Electricity Department


House
Food Transport Medical Annual
S. Rent
Basic Allowance Allowance Allowance Net Salary Increment
No Name Designation Allowance
Salary (15%) (25%) (10%) (8.5%)
(20%)
=SUM(B PAY & SELECT
1 Amir SDO 50000 =B*20% =B*15% =B*25% =B*10% =B*8.5%
ALL ALLOWNCES)
2 Akmal Senior Clerk 20000
3 Aslam Junior Clerk 15000
Assistant
4 Abid 12000
Director
Line Super
5 Younis 10000
dent

Example No. 14

Create The Following Salary Sheet With The Instruction Given Bellow:
 Calculate Medical Allowance in Column E is 15% of the Basic Pay
 Calculate House Rent in Column F is 30% of the basic pay in Column D
 Calculate GP Fund in Column G is 7.5% of the Basic Pay in Column D
 Calculate Net Income in Column H (Add. Column D, E, F and the Subtract Column G)
 Calculate the annual increment in Column I, When Basic Pay is Grater then equal to
3000, 5000, 10000 the increment should 25%, 20%, 15% respectively.
4

Department Of Local Government


S. Ahmed Designati Basic Medical House GP Net Income Annual
No on Pay Allow Rent Fund Increment
1 Ali Assistant =SUM(B PAY & SELECT ALL Follow
20500 =B*20% =B*15% =B*25%
Director ALLOWNCES, - GP FUND) Instruction
2 Asad Secretary 30750
3 Khan Senior
18500
Clerk
4 Abid Junir
15600
Clerk
5 Kamran Junior
25000
Clerk

Example No. 15
Make Payroll Statement According To Given Criteria:
Criteria
Medical Allowance 20% of Basic Pay
House Rent Allowance 30% of Basic Pay
(Gross Pay) >20000, Basic Pay
Tax Apply
*4%, Basic Pay*3%
Grade (Net Pay) >20000, A+, A

Employee Salary Sheet


Name Basic Pay MA 20% HRA 30% Gross Pay Tax 2% Net Pay Grade
Ali 19000 =B*20% =B*30% =SUM(BP,MA,HR) Follow Criteria =GP-TAX Follow Criteria

Baber 14000
Anwar 21000
Sajid 8500

Example No. 16
Make The Employee Salary Sheet On Daily Work Basis Given The Criteria:
Criteria
Company Time 12 Hours
One Hour Rs: 50
Over Time >12 Hours
Tax Apply ETW >16 Hours, GS*4%,0

Employee Salary Sheet (Daily Work Basis)


S No Employee CT ETW OT NS OTS GS TA NI
=ETW-CT =CT*50 =OT*50 =SUM(NS,OTS) Follow =GS-TAX
1 Ali 12 17
Criteria

2 Ahmad 12 15
3 Sajid 12 12
5

Example No. 17
Create Salesman Salary Sheet Of Commission Base On Monthly Basis

Date Employee Sale Employee Total Sale Com 2%


=SUMIF(SELECT ALL
1/1/2015 ALI 25000 ALI EMPLOYEES NAME,CLICK ON ALI =SALE*2%
NAME,SELECT ALL SALES)

1/2/2015 IQBAL 30000 IQBAL

1/3/2015 KAMRAN 22000 KAMRAN

1/4/2015 ALI 20000


1/5/2015 AQBAL 15000
1/6/2015 KAMRAN 17000
1/7/2015 ALI 33000
1/8/2015 IQBAL 26000
1/9/2015 KAMRAN 40000
1/10/2015 ALI 27000

Example No. 18

Find The Maximum Sale And Minimum Sale On Monthly Basis With Average Sale

Month Sale Maximum Sale Minimum Sale Average Sale


January 1200 =MAX(ALL SALE) =MIN(ALL SALE) =AVERAGE(MAX,MIN)

Feb 1800
March 400
April 900
May 1300
June 2000

Example No. 19

Make The Student Result Sheet Having Result Of (Theory, Practical & Viva) With Following The Given Sequence Of Tasks:

Remarks Criteria:
 If the percentage is greater than or equal to 50% then result “Pass”
 Otherwise result “Fail”

Grade Criteria:

 90% and above = A+


 80% to 89% = A
 70% to 79% = B
 60% to 69% = C
 50% to 59% = D
 Less than 50% = Fail
6

Student Marks Sheet


S. Theory Practical Viva Total Obtained
Name Average %age Grade Remarks
No (20) (80) (10) Marks Marks
=SUM(T,P, =AVERAGE( =OM/TM* Follow
1 Ali 19 76 9 110 Follow Criteria
V) T,P,V) 100 Criteria
2 Asma 18 80 6 110
3 Saba 15 70 8 110
4 Somia 20 75 10 110
5 Uzma 17 78 7 110
6 Abid 14 60 8 110
7 Asad 16 65 10 110

Example No. 20

Find Profit and Profit %


S. No Product Band Cost Price Sale Price Profit Profit %
1 Keyboard Dell 200 250 =S.P-C.P =P/SP*100
2 Mouse HP 180 220
3 Laptop Dell 18000 20000

Example No. 21
Make The Student Marks Sheet Semester Wise Of The University Of Kotli AJK According To The Given Criteria:

 Also Calculate GPA and CGPA using following grading system:

Grading System
Grade Standard Credit Points Per Each Hours Of Credit
A (Superior/Excellent) 4.0 = 90% & above
A- 3.7 = 85 – 89%
B+ 3.3 = 80 – 84%
B (Good Better Than Average) 3.0 = 75 – 79%
B- 2.7 = 70 – 74%
C+ 2.3 = 65 – 69%
C (Competent Average) 2.0 = 60 – 64%
C- 1.7 = 55 – 59%
D (Minimum Passing) 1.3 = 50 – 54%
F (Fail) 0.0 = Below 50%

First Semester
Course Credit Total Marks Credit
Course Title % age Grade GPA
Code Hours Marks Obtained Point

EDU-3101 Functional English-I (Compulsory) 3 150 110 =MO/MM*100 Follow GS Follow GS

EDU-3102 Islamic Studies/ Ethics (Compulsory) 2 100 69


Follow
EDU-3103 Child Development (Foundation) 3 150 133
Grading
EDU-3104 Urdu/ Regional Language (Content) 3 150 102
System
EDU-3105 General Science (Content) 3 150 137

EDU-3106 General Method Of Teaching (Foundation) 3 150 133

Second Semester
7
Course Credit Maximum Marks Credit
Course Title % age Grade GPA
Code Hours Marks Obtain Point

EDU-3201 English II (Communication Skills) 3 100 78

EDU-3202 Computer Literacy (Compulsory) 3 100 85

EDU-3203 Classroom Management (Foundation) 3 100 90

EDU-3204 General Mathematics (Compulsory) 3 100 75

EDU-3205 Pakistan & Kashmir Studies (Compulsory) 3 100 76

EDU-3206 Methods Of Teaching Islamic Studies 3 100 76

Third Semester CGPA Follow GS

Course Credit Maximum Marks Credit


Course Title % age Grade GPA
Code Hours Marks Obtain Point

EDU-4301 Arabic For Understanding Quran 3 100 91

EDU-4302 Art Craft And Calligraphy (Content) 3 100 90

EDU-4303 Teaching Of Urdu/ Regional Languages 3 100 78

EDU-4304 Teaching Of General Science (Professional) 3 100 81

EDU-4305 Instructional Communication Technology 2 100 90

EDU-4306 Teaching Practice (Short Term) 3 100 75

Fourth Semester CGPA


Course Credit Maximum Marks Credit
Course Title % age Grade GPA
Code Hours Marks Obtain Point

EDU-4401 Classroom Assessment (Foundation) 3 100 81

EDU-4402 Teaching Of English (Professional) 3 100 68

EDU-4403 Teaching Of Mathematics (Professional) 3 100 78

School Community And Teacher


EDU-4404 3 100 84
(Foundation)

EDU-4405 Teaching Of Social Studies 2 100 76

EDU-4406 Teaching Practice 100 89

Overall Result:
Total Credit Hours Total Marks Obtained Marks Percentage Letter Grade Overall CGPA
=SUM(Select All CHr) =SUM(Select All TM) =SUM(Select All OM) =OB/TM*100 Follow GS Follow GS

Example No. 22
Make The Following Electricity Bill Sheet According To The Given Criteria:
Unit Criteria
Units Charges
>= 500 Rs:12 Unit
>= 400 Rs: 10 Unit
>= 300 Rs: 8 Unit
>= 200 Rs: 5 Unit
>= 100 Rs: 3 Unit
< 100 Rs: 1 Unit

S. A/C Fine Tax Bill


A/C Title P.R C.R C.U U.C P.D D.D
No No. 10% 4% Payable
Follow =IF(PD>DD,U =IF(CU>=500,UC =SUM(UC,F,
1 1001 Ali 2000 2500 =CR-PR 1/20/2022 1/25/2022
Criteria C*10%,0) *4%,0) T)

2 1002 Ahmed 1800 2000


3 1003 Bilal 1500 2100
4 1004 Baber 1300 1750
5 1005 Khan 2200 2500
8

Example No. 23
Create Drop-Down List With Vlookup Formula
S No Products Sale Price Cost Price For Customers
1 Keyboard 300 250 Product Sale Price
2 Mouse 250 200
3 LCD 2800 2500 1. For Products Add
 Go to data Tab and Click on “Data
Validation” Option
4 Speaker 500 400  Click on Allow Menu and Select List Option
from there
 Then Click on source Option from the given

5 LED 18000 15000 


bellow section
Now Select all products Name and OK

2. Sale Price Formula


 =VLOOKUP(CLICK ON PRODUCTS NAME
CELL,
 SELECT ALL PRODUCTS NAME & SALE
PRICE,

Example No. 24  2, 0)

Create Drop-Down List With Hlookup Formula


S No 1 2 3 4 5
Fruit Mango Orange Banana Grapes Watermelon
Sale Price 100 80 70 150 60
Cost Price 80 60 50 120 40

1. For Fruits Add


 Go to data Tab and Click on “Data

For Customers 
Validation” Option
Click on Allow Menu and Select List Option
from there

Fruit  Then Click on source Option from the given


bellow section
 Now Select all fruits Name and OK

Sale Price 2. Sale Price Formula


 =HLOOKUP(CLICK ON PRODUCTS NAME
CELL,
 SELECT ALL PRODUCTS NAME & SALE
PRICE,
 2, 0)

Example No. 25
Filter The Following Data Of Students According To The Given Criteria:
 Show only those students who are in “IT Professional” course.
 Show only those students who are in “Auto Cad” course.
 Show only those students who are in “IT Basic” course and their class timing is “2:00”.
 Show only those students who live in “Kotli”.
S No Student Name Father Name Course Timing Address
1 Raza Abid IT Professional 1:00 Kotli
2 Amir Saleem IT Basic 2:00 Dadyal
3 Zubair Asif IT Professional 2:00 Khuiratta
4 Kashif Anwar Auto CAD 1:00 Kotli
5 Zia Saboor It Basic 3:00 Kotli
6 Majid Iqbal IT Professional 4:00 Nakyal
9

Example No. 26
Count How Many Times Apple, Mango And Banana Served In A Week Or Month
Date Day Fruit Name Quantities
1/1/2015 Monday Mango Apple
1/2/2015 Tuesday Apple Banana
1/3/2015 Wednesday Banana Mango
1/4/2015 Thursday Apple
1/5/2015 Friday Apple FINE APPLE QUANTITY
 =COUNTIF(SELECT ALL FRUITS NAME, “APPLE”)
1/6/2015 Saturday Mango
1/7/2015 Sunday Apple

Example No. 27

Sort And Sequence Of Date, Serial No, Student Name, Day, Month & Year ETC
Date S No Student Name Day Month Year
1/1/2015 1 Baber Mon Jan 2013
1/2/2015 3 Ali Wed Mar 2015
1/3/2015 2 Aslam Tue Feb 2014

Example No. 28

Make The Column Chart, Line Chart & Pie Chart Of The Following Data:
Month Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
Profit 1000 1200 1500 800 1500 1800 2000 1500 1400 1000 800 700

Example No. 29

Create Attendance Sheet Of The Students


Date 1/1/2022 2/1/2022 3/1/2022 4/1/2022
Total Total
Students
Mon Tue Wed Thu Presents Absents
Name
=COUNTIF(SELECT =COUNTIF(SELECT
Ali P P A P
ALL A & P, “P”) ALL A & P, “A”)
Amir A P P A
Sajid P P P A
Bilal P P A P
Khan A P A P

Example No. 30
Daily and Monthly Expense Sheet

Date Cloth Food Entertainment Other Total


14/09/2022
15/09/2022
16/09/2022
Total =SUM(select all cloth =SUM (select all =SUM(select all price =SUM(select all =SUM(select all total
price) Food price) of Entertainment) Other price) price)
Expense
10

Example No. 31
Create Credit And Debit Sheet

XYZ BANK
Bank Account Statement
Month Jan Account No 5687439810
S. No Date Description Credit Debit Balance
1 01-01-2022 Deposit 10000 0 10000
2 02-01-2022 Shopping 0 3000 =SUM(Balance, Credit,-Debit)

3 03-01-2022 Marketing 1000


4 04-01-2022 Deposit 2000
5 05-01-2022 Medicine 500
6 06-01-2022 Int @ 2% 150
7 07-01-2022 Deposit 2000
=SUM(Select All =SUM(Select All
Total Balance Credit) Debit)
=Credit-Debit

Example No. 32

CALCULATE AGE FROM DATE OF BIRTH


 Also calculate age in text version by using this :
(="Age is "&DATEDIF(DOB,TODAY(),"y")&" Years, "&DATEDIF(DOB,TODAY(),"ym")&" Months and "&DATEDIF(DOB,TODAY(),"md")&" Days")

Age
Name Date Of Birth Years Months Days
(Words)
=DATEDIF(DOB, =DATEDIF(DOB, =DATEDIF(DOB, Follow
Ahmad 1/20/1999
Today(),”y”) Today(),”ym”) Today(),”md”) Instructions
Yasir 5/18/2002
Aslam 2/10/1990
Saira 7/19/1999
Amina 6/26/2002

Example No. 33
Make The Student Computer Exam Result Sheet According To The Given Criteria:
Result Criteria
 (Passing Marks >= 40)
 If the student fail in theory and pass in practical then result display “Fail in theory”
 If the student fail in practical and pass in theory then result display “Fail in Practical”
 If the student fails in both subjects then result display “Fail in Both”
 Otherwise students result “Pass in Both”

Grade Criteria:
Percentage Grade
>=80 A+
>=70 A
>=60 B
>=50 C
>=40 D
<40 Fail
11

Computer Exam Result Sheet


S. Student Father Theory Practical Total Marks
Result Percentage Grade
No Name Name (100) (100) Marks Obtained
1 Ahmad Aslam 80 90 200 =SUM (T,P)
Follow Result
Criteria
=MO/TM*100
Follow Grade
Criteria

2 Ali Abid 39 80 200


3 Kamran Saleem 70 23 200
4 Latif Amir 37 35 200
5 Yasir Aftab 56 73 200

Example No. 34

Profit, Loss And Stock Maintain Sheet

Condition Result
Gross Total = Total Price of No Profit No Loss
Purchase
Gross Total > Total Price of Profit
Purchase
Gross Total < Total Price of Loss
Purchase

Total Qty Unit Total Qty of


S. Item Qty of Purchase Qty of Gross Profit /
Price of of Price Price Balance Remarks
No Name Purchase of Price Balance Total Loss
Purchase Sale of Sale of Sale Amount
=PROD =IF(QB= =SUM(
=PRODUCT =GT- Follow
1 Samsung 20 25000 (QP, PP)
15 26000 UCT(Q =QP-QS 0,0,QB*U TPS,
TPP Criteria
S, UP) P) QBA)
2 Nokia 10 15000 10 16000
3 Xperia 30 20000 30 21000
4 Iphone 20 50000 10 51000
5 Oppo 60 35000 50 36000

Total

Example No. 35
Create Invoice Bill With GST
ABC InfoCom Pvt. Ltd.
Khuiratta, Kotli Azad Kashmir
Bill Invoice
S. No Items Rate Qty Amount
1 Mouse 250 12 =PRODUCT(R,Q)
2 KeyBoard 520 8
3 Speaker 650 7
4 Pendrive 450 9
5 Hard Disk 1750 5
6 LCD 4000 8
7 Motherboard 4200 7
8 UPS 18000 4
9 RAM 700 9
10 Printer 12000 12
Total =SUM(All Amount)
GST 15% =Total*15%
Grand Total =Total - GST
12

Example No. 36

Create Name With Title By According To The Given Criteria:

Criteria

Condition Name with Title


Gender = Male Mr. (Name)
Gender = Female Mrs. (Name)

Name Gender Name with Title

Somia Arif Female Follow Criteria

Asad Ali Male

Hina Yaseen Female


Saira Khan Female

Yasir Aftab Male

Example No. 37

Create Result Sheet With Rank According To The Given Criteria:


Result Criteria:
 If the student pass in all subjects (%age >= 40) then result “Pass”
 If the student fail in one or two subjects (%age < 40) then result “Compart/Supply”
 If the student fail in more than two subjects (%age < 40) then result “Fail”

Roll Student Subject Total Marks


%age Result Rank
No Name English Urdu Math Science Marks Obtained
=RANK(%age,
=SUM(Select =MO/TM Follow
1 Saira 60 45 78 45 400 All Subject) *100 Criteria
Select All
%ages)
2 Asad 56 51 87 67 400
3 Amir 67 76 92 65 400
4 Hina 91 93 98 87 400
5 Somia 80 88 90 93 400

Example No. 38

Create Result Sheet with Grade, Division and Remarks according to the given criteria:
Result Criteria:

 If the student’s %age is greater than or equal to 40 then result “PASS”


 Otherwise result “Fail”
13

Grade Criteria:
 90% and above = A+
 80-89% = A
 70-79% = B
 60-69% = C
 50-59% = D
 40-49% = E
 Less than 40% = Fail

Division Criteria:
 75% and above = Distinction
 60-75% = First Division
 50-59% = Second Division
 40-49% = Third Division
 Less than 40% = Fail

Remarks Criteria:
Find Remarks according to the grades of the students.
 A+ = Outstanding/Exceptional
 A = Excellent
 B = Very Good
 C = Good
 D = Fair
 E = Average/Satisfactory
 F = Fail

Students
Subjects Results
Detail
Marks
English Urdu Math Science Islamiyat %age
S. Obtained
No Name Result Grade Division Remarks
100 100 100 100 100 500 100
Follow Follow Follow Follow
=SUM(Select
1 Sahil 70 65 76 86 92 All Subjects)
MO/TM*100 Result Grade Division Remarks
Criteria Criteria Criteria Criteria

2 Riyazuddin 45 33 24 27 24

3 Kashif 78 76 73 89 62

4 Khalid 95 94 99 98 93

5 Amir 86 76 78 65 69

Example No. 39

Create Result Sheet According To The Given Criteria:

Result Criteria:
 If the student pass in all subjects then result “Pass”
 If the student fail in one or two subjects then result “Show Subject Name” like “ENG”
 If the student fail in three or more subjects then result “Fail”
14

Grade Criteria:
Percentage Grade
80% and above A+
70-79% A
60-69% B
50-59% C
40-49% D
33-39% E
Below 33% Fail

Result Sheet Annual Exam


Student
Details Subjects Results
Pak Marks
Roll
English Urdu Islamiyat Economics Statistics Computer
Study Obtained
No Name %age Result Grade
200 200 50 50 200 200 200 1100
Follow Follow
=SUM(Select all =MO/TM*
1 Amir 180 150 47 45 134 178 189 Subjects) 100
Result Grade
Criteria Criteria

2 Zain 165 155 46 42 156 169 156

3 Yasir 144 180 45 41 152 157 44

4 Saira 50 144 43 31 167 37 187

5 Noor 45 120 40 38 34 33 34

Example No. 40
Generate QR-Code And Bar-Code Of The Following Data:

Generate BAR-CODE
S. No Name of Product Price Product Code Bar-code
1 Keyboard 1200 A00145B
2 Mouse 750 A00145C
3 Printer 15000 A00145D
4 UPS 22000 A00145E
5 LED 32000 A00145F

Generate QR-CODE
Data QR Code
http://www.facebook.com
http://www.youtube.com
http://www.amazon.com
http://www.microsoft.com
http://www.instagram.com

You might also like