Excel Practical Assignments 50
Excel Practical Assignments 50
Use of Formulas Sum, Average, If, Count, Counta, Countif & Sumif
Roll No Student Name Hindi English Math Physics Chemistry Total Average Grade
1 RAM 20 10 14 18 15 77 15.4 A
2 ASHOK 21 12 14 12 18 77 15.4 A
3 MANOJ 33 15 7 14 17 86 17.2 A
4 RAJESH 15 14 8 16 20 73 14.6 B
5 RANJANA 14 17 10 13 18 72 14.4 B
6 POOJA 16 8 20 17 15 76 15.2 A
7 MAHESH 18 19 3 10 14 64 12.8 B
8 ASHUTOSH 19 20 7 14 18 78 15.6 A
9 ANIL 22 13 8 12 19 74 14.8 B
10 PREM 26 12 10 11 27 86 17.2 A
Q.1 Find the Total Number & Average in all Subjects in Each Student .
Ans Name Total Average
RAM 77 15.4
ASHOK 77 15.4
MANOJ 86 17.2
RAJESH 73 14.6
RANJANA 72 14.4
POOJA 76 15.2
MAHESH 64 12.8
ASHUTOSH 78 15.6
ANIL 74 14.8
PREM 86 17.2
Q.2 Find Grade Using If Function - If Average Greater >15 then "A" Grade otherwise "B" Grade
Name Grade
RAM A
ASHOK A
MANOJ A
RAJESH B
RANJANA B
POOJA A
MAHESH B
ASHUTOSH A
ANIL B
PREM A
Q.3 How Many Student "A" and "B" Grade
Ans A Grade 6 B Grade 4
Q.4 Student Ashok and Manoj Total Number and Average
Ans Ashok 77 15.4
Manoj 86 17.2
Q.5 Count how many Students
Ans 10
Q.6 How Many Student Hindi & English Subject Number Grater Then > 20 and <15
Ans Hindi 4 1
English 0 6
Assignment -2
Use of Formulas - Product, If, Counta, Countif, Sumif
NAME DEPARTMENT POST BASIC DA 2.5% HRA 3.5% PF 1.5% TOTAL GRADE
RAM COMPUTER MANAGER 5000 125 175 50 5250 D
SHYAM COMPUTER SUPERVISOR 8000 200 280 80 8400 D
MANOJ COMPUTER PION 3000 75 105 30 3150 D
POOJA ELECTRICAL GUARD 6000 150 210 60 6300 D
RAHUL ELECTRICAL CASHER 8000 200 280 80 8400 D
RAKESH ELECTRICAL ACCOUNTANT 9000 225 315 90 9450 D
ASHISH FINANCE MANAGER 10000 250 350 100 10500 C
MANISH FINANCE GUARD 5000 125 175 50 5250 D
SALESMAN JAN FEB MAR APR MAY JUNE SALES TARGET RESULT
RAMESH 2000 1500 300 1400 1000 1400 7600 10000 NOT ACHIVED
RAKESH 5000 1200 500 1200 1200 2800 11900 12000 NOT ACHIVED
RAHUL 3000 800 1200 3000 1500 3500 13000 18000 NOT ACHIVED
POOJA 1000 900 1800 5000 1400 1200 11300 10000 ACHIEVED
MANOJ 500 1000 2300 8000 1700 1400 14900 12000 ACHIEVED
ASHOK 800 500 2400 1900 1800 1800 9200 10000 NOT ACHIVED
AJEET 1200 1400 1500 700 2500 7000 14300 12000 ACHIEVED
ALOK 1500 1800 1800 1800 300 1500 8700 10000 NOT ACHIVED
AMRIT 1800 2500 1700 1500 2800 1800 12100 12000 ACHIEVED
SURENDRA 200 3000 1900 1200 1500 3000 10800 10000 ACHIEVED
SHASHI 1600 1200 2373.333 800 1700 800 8473.333 10000 NOT ACHIVED
USE OF VLOOKUP
Employee ID Full Name SSN Department Start Date Earnings
EMP001 Faith K. Macias 845-04-3962 Marketing 27/1/2008 $ 73,500.00
EMP002 Lucian Q. Franklin 345-28-4935 IT/IS 1/3/2008 $ 80,000.00
EMP003 Blaze V. Bridges 503-53-8350 Marketing 16/4/2008 $ 95,000.00
Question: What is the column number for the size Grande,Tall, Venti?
Use of Match Formula
Product Name Jan Feb Mar Apr May Jun Jul Aug Total Sales
Apples $2,773 $17,462 $5,954 $1,348 $28,158 $28,799 $25,415 $17,227 $127,136
Grapefruit $12,908 $3,083 $24,492 $5,825 $1,080 $2,188 $11,087 $15,544 $76,207
Lemons $6,554 $14,262 $8,377 $24,982 $12,184 $6,430 $21,159 $18,597 $112,545
Lime $28,913 $1,437 $20,019 $13,026 $26,952 $27,076 $7,040 $10,884 $135,347
Oranges $4,768 $7,622 $28,918 $27,141 $3,578 $10,092 $15,207 $12,771 $110,097
Peaches $13,390 $3,611 $6,226 $27,567 $29,962 $2,967 $5,740 $2,137 $91,600
Pears $17,585 $28,508 $9,614 $17,110 $12,143 $7,365 $24,185 $1,643 $118,153
Pineapples $22,579 $16,301 $6,469 $22,050 $8,740 $18,806 $3,334 $3,597 $101,876
Q.1 How Many Spring and Fall Season? Using Formula Countif
Ans 18 18
Q.2 How Many Fall Season in California and Washington? Using Formula Countifs
Q.1 How Many Fruits and Vegetables Items in a List? Use of Formula Countif
Ans Fruit 18 Vegitable 12
Q.2 Total Apple and Banana Amount? Use of Formula Sumif
Ans Apple 25557 Banana 38956
Q.3 How Many Product in a list? Use of Counta
Ans 30
Q.4 How Many Apple and Banana Use in Canada & United Kingdom? Use of Countifs
Canada UK Canada UK
Ans Apple 1 1 Banana 2 3
Q.5 Apple and Banana Sales in United States ? Use of Sumifs
Q.1 How Many Male and Female Candidate in a List? Use of Formula Countif
Ans 5 6
Q.2 How Many Male Employee in United States? Use of Formula Countifs
Ans 4
Q.3 Lisa and John Which Country Belong? Use of Vlookup
Ans Lisa Canada John Canada
Q.4 United States Male and Female Candidate Scores? Use if Formula Sumifs
Ans Male 280 Female 96
Q.5 How Many Male Candidate Belong Country United State Total Score? Use of Formula Sumifs
Ans 280
Assignment -17
Use of Formulas - Vlookup
Answer Sheet
ID Brand Product ID Brand Product
101 Dell Computer 104 HP Printer
102 Logitech Keyboard 103 Logitech Mouse
103 Logitech Mouse 104 HP Printer
104 HP Printer 101 Dell Computer
102 Logitech Keyboard
Q.1 Use of Vlookup Function ? 103 Logitech Mouse
101 Dell Computer
104 HP Printer
101 Dell Computer
102 Logitech Keyboard
Assignment -18
Use of Formulas - Hlookup
Answer Sheet
ID Product Brand
104 Printer HP
103 Mouse Logitech
104 Printer HP
101 Computer Dell
102 Keyboard Logitech
103 Mouse Logitech
101 Computer Dell
104 Printer HP
101 Computer Dell
102 Keyboard Logitech
Assignment -19
Use of Formulas - Index with Match
Answer Sheet
Q.1 How Many Employee in Work HR, IT, Marketing Department ? Use of Countif
Ans HR 1 IT 3 Marketing 5
IN THIS EXAMPLE, IF STUDENT PASSES ALL THE SUBJECT, THEN HE HAS PASSED THE EXAM
Assignment -24
Use of Formulas - Averageif
Average of B 37.5
Average of D 194.33333333
VLOOKUP(F12,E5:E12,1,0)
VLOOKUP(A17,E17:E22,1,FALSE)
Assignment -27
Use of Concatenate
RESULT
Emp ID First Name Last Name Full Name
D21 Vishal Mohan Vishal Mohan
D22 John Mathew John Mathew
D23 Jamemah Powel Jamemah Powel
D24 Arundhati Swaminathan Arundhati Swaminathan
D25 Peter Potter Peter Potter
D26 Roger Williams Roger Williams
= CONCATENATE(B5," ",C5)
RESULT
Emp ID First Name Last Name Full Name
D21 Vishal Mohan Vishal Mohan
D22 John Mathew John Mathew
D23 Jamemah Powel Jamemah Powel
D24 Arundhati Swaminathan Arundhati Swaminathan
D25 Peter Potter Peter Potter
D26 Roger Williams Roger Williams
= B16&" "&C16
Assignment -28
Use of Counta, Countif, Countifs, Vlookup and Index with Match
Employee Database
Date Emp Id Name Designation KRA
1/11/2018 1101 ARUN MIS-OPERATION SALES
1/11/2018 1102 ASHOK OPERATION PHP
3/11/2018 1103 BISWAS SOFTWARE ENG JAVA
3/11/2018 1104 DINESH SME MAILS
3/11/2018 1105 ESHWAR PROGRAMMER C++
6/11/2018 1106 FAHAD PROGRAMMER DOT NET
6/11/2018 1107 GANGA SOFTWARE ASSOCIATE TESTING
8/11/2018 1108 HEMA NETWORK ENG SERVER
8/11/2018 1109 FARZANA SALES EXECUTIVE SALES
8/11/2018 1110 AYESH SALES EXECUTIVE AMAZON
9/11/2018 1111 PRAVEEN SALES EXECUTIVE AMAZON
9/11/2018 1109 FARZANA SALES EXECUTIVE AMAZON
10/11/2018 1112 VISHAL SALES EXECUTIVE GROFFERS
10/11/2018 1113 VISHNU SALES EXECUTIVE PAYTM
10/11/2018 1114 KRISHNA SALES EXECUTIVE PAYTM
10/11/2018 1115 ABHISHEK SALES EXECUTIVE MYNTRA
11/11/2018 1109 FARZANA SALES EXECUTIVE AMAZON
11/11/2018 1116 FARZANA BANU SALES EXECUTIVE MYNTRA
11/11/2018 1116 FARZANA BANU SALES EXECUTIVE MYNTRA
11/11/2018 1116 FARZANA BANU SALES EXECUTIVE MYNTRA
1-Nov-18 1010 VAMSEE KRISHNA BRAND MANAGER MARKETING
Sheet 1- Data
Emp Id First Name Last Name Department Location
101 Donald Patrick Finance Banglore
102 Samuel Samson Marketing Hyderabad
103 Ian Jacob Finance Hyderabad
104 David Johnson Marketing Pune
105 Ian Smith Marketing Banglore
106 Henry Madrid IT Pune
107 Ronica Brave Finance Hyderabad
108 Christine Salvi Marketing Banglore
109 Andrew Baisley IT Hyderabad
110 Erica Irons IT Pune
Answer Sheet
Sheet 2- Use of Vlookup
Emp Id First Name Last Name Department Location
101 Donald Patrick Finance Banglore
103 Ian Jacob Finance Banglore
102 Samuel Samson Marketing Hyderabad
105 Ian Jacob Finance Hyderabad
108 Christine Salvi Marketing Pune
106 Henry Madrid IT Pune
107 Ronica Brave Finance Hyderabad
104 David Johnson Marketing Pune
109 Andrew Baisley IT Hyderabad
110 Erica Irons IT Hyderabad
Assignment -30
Get Pivot Table
Months April
Sale 445
Marks in English 82
Marks in Maths 32
Temperarture 21 33 39 42 50
(In Celsius)
Cities New Delhi Patna Mumbai Pune Bangalore
Temperature 40
City Mumbai
Employee Cat
Sales 300
Assignment -32
USE OF NESTEDIF
Total Numbers
Name Grade earned
Earned
Condition List
John Wilkins 92 A+ 90-100 A+
Steve Harrington 88 A 85 - < 90 A
Edward Clark 94 A+ 80 - < 85 B+
Jimmy Chemberlin 84 B+ 75 - < 80 B
Alex Wilkins 95 A+ 70 - < 75 C+
Patty Scott 78 B 65 - < 70 C
Andrew Williams 59 D 60 - < 65 D+
Emilia johnson 43 F 50 - < 60 D
Anthony Rogers 90 A+ < 50 F
Sl # Month Salary
1 January 777,307 Month Number 3
2 February 590,235 Salary 585,683
3 March 585,683 =VLOOKUP(H2,$A$2:$C$13,3,0)
4 April 740,995
5 May 756,502
6 June 626,126
7 July 668,352
8 August 698,558
9 September 562,835
10 October 564,996
11 November 632,549
12 December 702,812
Assignment -33
Merge Table 1,2 & 3 Using Vlookup
Result
Emp ID Emp Name Department Salary
Prd001 Raju Sales 92,671
Prd002 Ramesh Operations 84,120
Prd003 Ramila Marketing 50,793
Prd004 Rajeshwari HR 77,833
Prd005 Karan Finance 58,914
Prd006 Rohith IT 51,096
Prd007 Jacob Marketing 83,735
Prd008 Fleming IT 74,418
Prd009 Navya Sales 51,366
Prd010 Kavya Finance 54,600
Prd011 Santosh Operations 93,509
Prd012 Shankar Finance 80,105
Prd013 Rajesh Marketing 60,802
Prd014 Mahesh Sales 76,260
Prd015 Hemaraj IT 88,965
Prd016 Nagaraj Operations 63,288
Prd017 Johson Sales 45,742
Prd018 David Marketing 88,354
Prd019 Anderson Marketing 76,641
Prd020 Peter Sales 61,678
Assignment -34
Use of Sumif
Total Quantity Sold 35607 Total Quantity Sold By Ben & Jenny 35607
By Ben & Jenny
SUMIF(A2:A9,"Ben",C2:C9)+SUMIF(A2:A9,"Jenny",C2:C9)
Result Sheet
Table 1 Table 2
City Code Pin Code City Code Pin Code
415930 U_362 415930 U_362
100847 Z_143 100847 Z_143
592629 F_103 592629 F_103
26531 N_148 26531 N_148
333812 L_120 333812 L_120
261178 G_455 261178 G_455
131380 E_195 131380 E_195
568870 E_41 568870 E_41
357335 O_62 357335 O_62
692273 B_277 692273 B_277
530883 V_318 530883 V_318
124354 J_446 124354 J_446
430230 P_18 430230 P_18
474386 T_84 474386 T_84
62142 J_264 62142 J_264
313357 X_296 313357 X_296
543456 X_112 543456 X_112
74285 J_430 74285 J_430
80125 I_159 80125 I_159
715820 F_10 715820 F_10
Assignment -36
USE OF VLOOKUP
Emp First Name Dept Region Salary INCENTIVE Bonus TA Dept INCENTIV Bonus
1 Raja Sales north 15625 100 900 100 Sales 100 900
2 Suman Sales east 12500 100 900 200 Mktg 200 800
3 Beena Mktg north 8750 200 800 100 R&D 300 700
4 Seema R&D north 15000 300 700 100 Finance 400 600
5 Julie R&D north 8875 300 700 100 Admin 500 500
6 Neena R&D north 8875 300 700 100 Director 600 400
7 Pankaj Sales north 10625 100 900 100 Personal 700 300
8 Andre Mktg east 11250 200 800 200 CCD 800 200
9 Sujay Finance west 10625 400 600 300
10 Shilpa Admin north 15000 500 500 100
11 Meera Finance east 13750 400 600 200
12 Sheetal Director south 35000 600 400 400
13 K. Sita Personal north 10625 700 300 100 Region TA
14 Priya Personal north 10625 700 300 100 north 100
15 Aalok Admin east 11250 500 500 200 east 200
16 Aakash Admin west 11250 500 500 300 west 300
17 Parvati Mktg north 7500 200 800 100 south 400
USE OF VLOOKUP
WITH CONDITION TRUE/FALSE CONDITION
Syntax
=DATEDIF(FirstDate,SecondDate,"Interval")
FirstDate : This is the earliest of the two dates.
SecondDate : This is the most recent of the two dates.
"Interval" : This indicates what you want to calculate.
These are the available intervals.
"d" Days between the two dates.
"m" Months between the two dates.
"y" Years between the two dates.
"yd" Days between the dates, as if the dates were in the same year.
"ym" Months between the dates, as if the dates were in the same year.
"md" Days between the two dates, as if the dates were in the same month and year.
Formatting
No special formatting is needed.
Birth date : 1-Jan-60
You can put this all together in one calculation, which creates a text version.
Age is 63 Years, 7 Months and 10 Days
="Age is "&DATEDIF(C8,TODAY(),"y")&" Years, "&DATEDIF(C8,TODAY(),"ym")&" Months and "&DATEDIF(C8,TODAY(),"md")&" Days"
Assignment -39
USE OF DAVERAGE
Examples
The average Unit Cost of a particular Product of a particular Brand.
Product Brand
Bulb Horizon
This is the same calculation but using the actual name "Unit Cost" instead of the cell address.
Product Wattage
Bulb 100
Product Wattage
Bulb <100
Count the number of products of a particular Brand which have a Life Hours rating.
What Does It Do ?
This function examines a list of information and counts the values in a specified column.
It can only count values, the text items and blank cells are ignored.
Syntax
=DCOUNT(DatabaseRange,FieldName,CriteriaRange)
Examples
Boxes In
Product Stock
Bulb 5
This is the same calculation but using the name "Boxes In Stock" instead of the cell address.
3 =DCOUNT(B3:I19,"Boxes In Stock",E50:F51)
Product Wattage
Bulb 100
What Does It Do ?
This function examines a list of information and counts the non blank cells in a specified column.
It counts values and text items, but blank cells are ignored.
Syntax
=DCOUNTA(DatabaseRange,FieldName,CriteriaRange)
Examples
Life
Product Hours
Bulb unknown
This is the same calculation but using the name "Life Hours" instead of the cell address.
1 =DCOUNTA(B3:I19,"Life Hours",E50:F51)
Product Brand
Bulb Horizon
Product Brand
Spot Horizon
Neon Sunbeam
What Does It Do ?
This function examines a list of information and produces the largest value from a specified column.
Syntax
=DMAX(DatabaseRange,FieldName,CriteriaRange)
Examples
Product Brand
Bulb sunbeam
Product Wattage
Bulb 100
Product Wattage
Bulb <100
Syntax
=DSUM(DatabaseRange,FieldName,CriteriaRange)
Examples
The total Value Of Stock of a particular Product of a particular Brand.
Product Brand
Bulb sunbeam
This is the same calculation but using the name "Value Of Stock" instead of the cell address.
Product Wattage
Bulb 100
Product Wattage
Bulb <100
What Does It Do ?
This function examines a list of values and picks the value at a user specified position
in the list.
Syntax
=LARGE(ListOfNumbersToExamine,PositionToPickFrom)
Formatting
No special formatting is needed.
Example
The following table was used to calculate the top 3 sales figures between Jan, Feb and Mar.
Sales Jan Feb Mar
North £5,000 £6,000 £4,500
South £5,800 £7,000 £3,000
East £3,500 £2,000 £10,000
West £12,000 £4,000 £6,000
Note
Another way to find the Highest and Lowest values would have been to use
the =MAX() and =MIN() functions.
USE OF LEN
Text Length
Alan Jones 10 =LEN(A18)
Bob Smith 9
Carol Williams 14
Cardiff 7
ABC123 6
USE OF LOWER
Upper Case Text Lower Case
ALAN JONES alan jones =LOWER(A27)
BOB SMITH bob smith
CAROL WILLIAMS carol williams
CARDIFF cardiff
ABC123 abc123
USE OF NETWORKDAYS
USE OF POWER
Number Power Result
3 2 9 =POWER(A5,B5)
3 4 81
5 2 25
5 4 625
USE OF PRODUCT
Numbers Product
2 3 6 =PRODUCT(A12,B12)
5 10 ?
3 7 ?
6300
USE OF PROPER
Original Text Proper
alan jones Alan Jones =PROPER(A19)
bob smith Bob Smith
caRol wILLIAMS Carol Williams
cardiff Cardiff
ABC123 Abc123
Number Of
Original Characters Right
Text Required String
Alan Jones 1 s =RIGHT(A4,B4)
Alan Jones 2 es
Alan Jones 3 nes
Cardiff 6 ardiff
ABC123 4 C123
USE OF ROMAN
Number Roman
1 I =ROMAN(A13)
2 II
3 III
5 V
10 X
1998 MCMXCVIII
1998 MCMXCVIII
1998 MCMXCVIII
1998 MCMXCVIII
1998 MCMXCVIII
1998 MCMXCVIII
1998 MCMXCVIII
1998 MCMXCVIII
USE OF SMALL
Sales Jan Feb Mar
North £5,000 £6,000 £4,500
South £5,800 £7,000 £3,000
East £3,500 £2,000 £10,000
West £12,000 £4,000 £6,000
SALESMAN JAN FEB MAR APR MAY JUNE SALES TARGET RESULT comission
RAMESH 2000 1500 300 1400 1000 1400 7600 10000 NOT ACHIVED 380
RAKESH 5000 1200 500 1200 1200 2800 11900 12000 NOT ACHIVED 595
RAHUL 3000 800 1200 3000 1500 3500 13000 18000 NOT ACHIVED 650
POOJA 1000 900 1800 5000 1400 1200 11300 10000 ACHIEVED 1130
MANOJ 500 1000 2300 8000 1700 1400 14900 12000 ACHIEVED 1490
ASHOK 800 500 2400 1900 1800 1800 9200 10000 NOT ACHIVED 460
AJEET 1200 1400 1500 700 2500 7000 14300 12000 ACHIEVED 1430
ALOK 1500 1800 1800 1800 300 1500 8700 10000 NOT ACHIVED 435
AMRIT 1800 2500 1700 1500 2800 1800 12100 12000 ACHIEVED 1210
SURENDRA 200 3000 1900 1200 1500 3000 10800 10000 ACHIEVED 1080
SHASHI 1600 1200 2000 800 1700 800 8100 10000 NOT ACHIVED 405
Q.1 How many salesman? Salesman Ajeet Targest & Result? USE OF COUNTA AND VLOOKUP
Ans 11 12000 ACHIEVED
Q.3 Rahul Pooja & Ashok Targest & result? USE OF VLOOKUP
Ans RAMESH 10000 NOT ACHIVED
Q.5 Which Sales Man Jan Sales 2000, & Feb Sales is 2500? USE OF LOOKUP
Ans SHASHI AMRIT
Q.6 How Many sales Man sales Jan Months Sales >2000 & March Sales <=1500 ? USE OF COUNTIFS
Ans 2
Q.7 Jan to Target Highlights 2000 between 5000, Font Red & Background Yeloow? USE OF CONDITIONL F
Q.8 If sales Greter then Target then Comission 10% otherwise 5% ? UEE OF IF FUNCTION
Assignment -49
SALESMAN JAN FEB MAR APR MAY JUNE SALES TARGET RESULT
RAMESH 2000 1500 300 1400 1000 1400 7600 10000 NOT ACHIVED
RAKESH 5000 1200 500 1200 1200 2800 11900 12000 NOT ACHIVED
RAHUL 3000 800 1200 3000 1500 3500 13000 18000 NOT ACHIVED
POOJA 1000 900 1800 5000 1400 1200 11300 10000 ACHIEVED
MANOJ 500 1000 2300 8000 1700 1400 14900 12000 ACHIEVED
ASHOK 800 500 2400 1900 1800 1800 9200 10000 NOT ACHIVED
AJEET 1200 1400 1500 700 2500 7000 14300 12000 ACHIEVED
ALOK 1500 1800 1800 1800 300 1500 8700 10000 NOT ACHIVED
AMRIT 1800 2500 1700 1500 2800 1800 12100 12000 ACHIEVED
SURENDRA 200 3000 1900 1200 1500 3000 10800 10000 ACHIEVED
SHASHI 1600 1200 2000 800 1700 800 8100 10000 NOT ACHIVED
Q.1 How many salesman? Salesman Ajeet Targest & Result? USE OF COUNTA AND VLOOKUP
Ans 11 Targest 12000 Result ACHIEVED
Q.3 Rahul Pooja & Ashok Targest & result? USE OF VLOOKUP
Ans POOJA 10000 ACHIEVED
Q.5 Which Sales Man Jan Sales 2000, & Feb Sales is 2500? USE OF LOOKUP
Ans SHASHI AMRIT
Q.6 How Many sales Man sales Jan Months Sales >2000 & March Sales <=1500 ? USE OF COUNTIF
Ans 2
Q.7 Jan to Target Highlights 2000 between 5000, Font Red & Background Yeloow? USE OF CONDITIONAL FORMATTING
Assignment -50
USE OF DATEDIF