Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

MS Excel Manual-Final

Download as pdf or txt
Download as pdf or txt
You are on page 1of 48

(Affiliated to University of Madras)

TO GET FAMILIAR
WITH EXCEL
MANUAL
2023 -2024
BY
1
Department of Computer Science and applications
TABLE OF CONTENT

S.NO EXERCISES PG NO
TABLE OF CONTENT 2
BASICS
1 FILLING A SERIES 4
2 COPYING A WORKSHEET 5
3 RENAMING A WORKSHEET 6
4 MOVING OR COPYING A SHEET TO ANOTHER WORKBOOK 7
5 CHANGING WORKSHEET TAB COLOURS 8
6 GROUPING WORKSHEETS 9
7 FREEZING ROWS AND COLUMNS 10
8 SELECTING ROWS 11
9 12
USING THE SUM FUNCTION TO ADD
10 CALCULATING AN AVERAGE 13

ASSESSMENT 1
FORMULAS AND LOOKUPS
11 USE OF FORMULAS SUM, AVERAGE, IF, COUNT, COUNTA, 14
COUNTIF & SUMIF
12 USE OF FORMULAS - SUM, IF, COUNTA, COUNTIF, SUMIF, 15
VLOOKUP, LOOKUP
13 USE OF FORMULAS - COUNTA, COUNTIF, SUMIF, 16
HLOOKUP, CONDITIONAL FORMATTING.
14 USE OF FORMULAS - COUNTA, COUNTIF, SUMIF, IF & 17
DATEDIF(CALCULATE DATE OF BIRTH)
15 USE OF FORMULAS - SUM, AVERAGE, COUNTA, COUNTIF, 18
SUMIF, & IF
16 USE OF FORMULAS - COUNTA, COUNTIF, SUMIF, & 19
VLOOKUP
17 USE OF FORMULAS - COUNTA, COUNTIF, SUMIF, & 20
VLOOKUP
18 USE OF FORMULAS - MATCH AND VLOOKUP WITH 21
MATCH
19 USE OF FORMULAS - COUNTA AND VLOOKUP 22
20 CREATE PIVOT TABLE USING DATA 23
ASSESSMENT 2
21 USE OF FORMULAS - COUNTIF, COUNTIFS AND SUMIFS 24
22 USE OF FORMULAS - COUNTIF, COUNTIFS AND SUMIFS 25
AND VLOOKUP
23 USE OF FORMULAS – VLOOKUP 26
24 USE OF FORMULAS - HLOOKUP 27
2
Department of Computer Science and applications
25 USE OF FORMULAS - INDEX WITH MATCH 28
26 USE OF FORMULAS - INDEX + MATCH 29
27 USE OF FORMULAS LOOKUP 30
28 USE OF FORMULAS AND 31
29 USE OF FORMULAS – AVERAGEIF 32
30 USE OF IF AND VLOOKUP -COMPARE LIST 1 TO LIST 2 33
ASSESSMENT 3
31 USE OF CONCATENATE 34
32 USE OF COUNTA, COUNTIF, COUNTIFS, VLOOKUP AND 35
INDEX WITH MATCH
33 USE OF VLOOKUP ONE 36
34 GET PIVOT TABLE 37
35 USE OF HLOOKUP 38
36 USE OF NESTEDIF 39
37 MERGE TABLE 1,2 & 3 USING VLOOKUP 40

CHARTS & OTHERS


38 UNDERSTANDING QUICK ANALYSIS 44
39 QUICK CHARTING 45
40 CREATING A NEW CHART FROM SCRATCH 46
41 CREATING A CHART SHEET 47
42 CHANGING THE CHART LAYOUT 48
ASSESSMENT 4
FINAL ASSESSMENT

3
Department of Computer Science and applications
MS EXCEL QUESTIONS

Exercise-1
FILLING A SERIES

1. Before starting this exercise you MUST open the file Exercise No 1-5.xlsx...
2. Click on cell A4
3. Move the mouse pointer to the small square (the fill handle) at the bottom right corner of
the cell until the mouse pointer appears as a thin, black cross
4. Drag the mouse pointer to column F
5. Excel will fill the range with the first six months of the year…
6. Click on cell A5 and repeat steps 2 and 3 to create the series of months with their full names
7. You can also fill more than one row at a time…
8. Select the range A6:A12
9. Repeat steps 2 and 3 to fill across to column F
10. Examine each of the series created by the filling process

4
Department of Computer Science and applications
Exercise-2
COPYING A WORKSHEET
1. Continue using the previous file with this Exercise No 1-5, or open any Excel file.
2. Right-click on Sheet1 to display the worksheet shortcut menu
3. Select Move or Copy to display the Move or Copy dialog box
4. Click on Create a copy so it appears ticked, then click on [OK]
5. The new worksheet is named Sheet1 (2). Let’s create a “template” from this worksheet by
deleting unwanted data...
6. Select the range B7:E9, then press to clear it
7. Repeat step 4 to clear the ranges B14:E23, G7:J9 and G14:J23, then press + to return to
cell A1
8. Now we can copy this “template” to create additional worksheets...

5
Department of Computer Science and applications
Exercise 3
RENAMING A WORKSHEET

1. Continue using the previous file Exercise No 1-5.xlsx...


2. Point to the vertical dots between the sheet names and the horizontal scroll bar, as shown
3. The pointer will change to a double-headed arrow...
4. Click and drag the bar across to the right, to the end of column L, then release the mouse
button
5. Double-click on Sheet1 (5) to select the worksheet tab name
6. This will also place it into edit mode…
7. Type Comms, then press
8. Repeat steps 3 and 4 to rename the other worksheets:
9. Sheet1 (4) Admin
10. Sheet1 (3) Shop
11. Sheet1 (2) IT
12. Sheet1 Maintenance

6
Department of Computer Science and applications
Exercise 4

MOVING OR COPYING A SHEET TO ANOTHER WORKBOOK

1. Continue using the previous file with this exercise, or open the Exercise No 1-5.xlsx...
2. Click on the Maintenance
3. worksheet tab
4. We’ll copy this completed data to another workbook...
5. Right-click on the worksheet tab to display the shortcut menu, then click on Move or Copy
to display the Move or Copy dialog box
6. Click on the drop arrow for To book, then select (new book)
7. Click on Create a copy so it appears ticked
8. This will create a new workbook as well as making a copy of the worksheet...
9. Click on [OK]
10. A new workbook will be created and Maintenance will be the only worksheet in the
workbook…
11. Save the new workbook as Maintenance.xlsx, then close it

7
Department of Computer Science and applications
Exercise 5
CHANGING WORKSHEET TAB COLOURS

1. Continue using the previous file with this exercise, or open the file Exercise No 1-5.xlsx...
2. Click on the Admin worksheet tab to select the worksheet
3. Right-click on the worksheet tab to display the shortcut menu, then point to Tab colour
4. This will display a palette of colour options…
5. Click on Red under Standard colours to apply the colour to the tab
6. Right-click on the Maintenance worksheet tab to display the shortcut menu, click on Tab
colour, then click on Blue under Standard colours
7. Notice how the Admin worksheet tab colour is now a solid rather than a gradient…
8. Repeat either technique to apply the following colours:
9. Shop in Yellow
10. IT in Green
11. Click on the Admin worksheet tab to view the results

8
Department of Computer Science and applications
Exercise 6
GROUPING WORKSHEETS

1. Continue using the previous file with this exercise, or open the file Exercise No 6.xlsx...
2. Click on the Admin worksheet tab, hold down , then click on the Shop worksheet tab to select
the first three worksheets
3. Click in cell A1 to select the cell
4. Click on the HOME tab, then click on Italics in the Font group
5. This will italicise the text in cell A1 on this and all other worksheets in the group…
6. Click on the Maintenance worksheet tab, then the Shop worksheet tab to see that the changes
have been applied here
7. Click on the IT worksheet tab to see that the changes have not been applied to this worksheet
8. Since this was not part of the grouped sheets the changes have not been applied here. Notice
too that clicking on a tab deselects the previous grouping

9
Department of Computer Science and applications
Exercise 7
FREEZING ROWS AND COLUMNS

1. Continue using the previous file with this exercise, or open the file Exercise No 7.xlsx...
2. Click on the Maintenance worksheet tab, then spend a few moments examining the worksheet
3. Depending on your screen, it is possible that you won’t be able to see all of the figures on the screen
at once...
4. Click in cell B6 to select the cell
5. Click on the VIEW tab, click on Freeze Panes in the Window group, then select Freeze Panes
6. Thin black lines appear above and to the left of the selected cell. This indicates that the areas above
and to the left are frozen...
7. Scroll to the right until Yearly Average in column L appears next to column A
8. Scroll down until Overheads in row
9. 25 is below row 5
10. Press + to move to cell B6 – this is our temporary home cell, as the cells above and to the left are
frozen
11. On the VIEW tab, click on Freeze Panes in the Freeze Panes group, then click on Unfreeze Panes to
unfreeze the rows and columns

10
Department of Computer Science and applications
Exercise 8

SELECTING ROWS

1. Continue using the previous file with this exercise, or open the file Exercise No 8.xlsx...
2. Press + to make cell A1
3. the active cell
4. Move the mouse pointer to the row heading for row 5
5. Notice that the mouse pointer changes to a black arrow that points towards the row…
6. Click once on row heading 5 to select the entire row
7. Click in cell B7and press +
8. This is the key combination for selecting an entire row…
9. Click on the row header for row 7
10. to select this row
11. Hold down and click on the row header for row 10
12. All rows from 7 to 10 will be selected…
13. Click in the row header for row 5, then hold down the left mouse button and drag down the row
headers to row 10
14. This is another technique for selecting rows, but it does require a steady hand!

11
Department of Computer Science and applications
Exercise 9
USING THE SUM FUNCTION TO ADD
1. Before starting this exercise you MUST open the file Exercise No 9.xlsx...
2. Click on B9 then type =sum(
3. to start the formula
4. Click on B6 to point to this cell as the start, hold down the key and click on B8
5. Notice the relative addressing details, 3R x 1C, that appear in the tool tip…
6. Type ) and press to complete the function
7. Click on B9, then move the mouse pointer to the fill handle on the lower right corner of the
cell and drag across to E9 to fill the selected range with the equivalent functions
8. Click on the Copy command on the Clipboard group on the Home tab
9. Click on B14, hold down and then click on cells B19 and B24
10. Release and press
11. to paste equivalent functions into the worksheet

12
Department of Computer Science and applications
Exercise 10
CALCULATIN AN AVERAGE

1. Continue using the previous file with this exercise, or open the file Exercise No 10.xlsx...
2. Click on B29 then click on the Insert Function tool to display the Insert Function dialog box
3. Click on AVERAGE in Select a function then click on [OK] to display the Function Arguments
dialog box
4. Click on the Range Selector
5. tool for Number1 to roll up
6. the wizard, then hold down
7. and select the following ranges
8. B6:B8
9. B11:B13
10. B16:B18
11. B21:B23
12. Press to complete the range specifications, then click on [OK] to complete the process
13. Let’s use the AutoSum function…
14. Click on B34, then click on the drop arrow for the Sum command on the Editing group, then
select Average
15. Click on B9, hold down and click on B14, B19 and B24, then press to complete the formula

13
Department of Computer Science and applications
Exercise-11

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 ? ? ?
3 MANOJ 33 15 7 14 17 ? ? ?
4 RAJESH 15 14 8 16 20 ? ? ?
5 RANJANA 14 17 10 13 18 ? ? ?
6 POOJA 16 8 20 17 15 ? ? ?
7 MAHESH 18 19 3 10 14 ? ? ?
8 ASHUTOSH 19 20 7 14 18 ? ? ?
9 ANIL 22 13 8 12 19 ? ? ?
10 PREM 26 12 10 11 27 ? ? ?

Q.1 Find the Total Number & Average in all Subjects in Each Student .
Q.2 Find Grade Using If Function - If Average Greater >15 then "A" Grade otherwise "B" Grade
Q.3 How Many Student "A" and "B" Grade
Q.4 Student Ashok and Manoj Total Number and Average
Q.5 Count how many Students
Q.6 How Many Student Hindi & English Subject Number Grater Then > 20 and <15

14
Department of Computer Science and applications
Exercise -12
USE OF FORMULAS - SUM, IF, COUNTA, COUNTIF, SUMIF,
VLOOKUP, LOOKUP

SALESMAN JAN FEB MAR APR MAY JUNE SALES TARGET RESULT
NOT
RAMESH 2000 1500 300 1400 1000 1400 7600 10000 ACHIVED
RAKESH 5000 1200 500 1200 1200 2800 ? 12000 ?
RAHUL 3000 800 1200 3000 1500 3500 ? 18000 ?
POOJA 1000 900 1800 5000 1400 1200 ? 10000 ?
MANOJ 500 1000 2300 8000 1700 1400 ? 12000 ?
ASHOK 800 500 2400 1900 1800 1800 ? 10000 ?
AJEET 1200 1400 1500 700 2500 7000 ? 12000 ?
ALOK 1500 1800 1800 1800 300 1500 ? 10000 ?
AMRIT 1800 2500 1700 1500 2800 1800 ? 12000 ?
SURENDRA 200 3000 1900 1200 1500 3000 ? 10000 ?
SHASHI 1600 1200 2000 800 1700 800 ? 10000 ?

Q.1 How many salesman? Salesman Ajeet Target & Result?


Q.2 If Sales Greater Than Target Then Target Achieved otherwise Not
Achieved
Q.3 Rahul Pooja & Ashok Target & result?
Q.4 How Many Salesman Achieved Target.
Q.5 Which Sales Man Jan Sales 2000, & Feb Sales is 2500?

15
Department of Computer Science and applications
Exercise-13
USE OF FORMULAS - COUNTA, COUNTIF, SUMIF, HLOOKUP, CONDITIONAL
FORMATTING.

Items Date Cost


BRAKES 01−01−2016 800.00
TYRES 12−05−2016 2000.00
BRAKES 18−05−2016 500.00
SERVICE 20−05−2016 800.00
SERVICE 10−02−2016 1000.00
WINDOW 08−05−2016 1000.00
TYRES 10−05−2016 1200.00
TYRES 25−05−2016 1500.00
CLUTCH 10−07−2016 1800.00
TYRES 10−01−2016 2000.00
CLUTCH 15−06−2016 1500.00
CLUTCH 12−01−2016 1000.00
WINDOW 01−01−2016 1200.00
WINDOW 10−05−2016 1500.00
WINDOW 10−05−2016 1800.00
BRAKES 10−05−2016 1000.00
BRAKES 14−08−2016 1200.00
TYRES 15−08−2016 1500.00
WINDOW 20−08−2016 1800.00

Q.1 How Many Items ?


Q.2 How Many Brake, Window & Tyres Have Been Boughts?
Q.3 How Many Items Cost Is >1000 & Below > = 1000?
Q.4 Highlight Tyres Item & 500 Between 2000 Cost.
Q.5 Items Coloumn Is 15, 18 & 20 Items Name?
Q.6 Total Cost Of Window And Brakes Items?

16
Department of Computer Science and applications
Exercise-14
USE OF FORMULAS - COUNTA, COUNTIF, SUMIF, IF & DATEDIF(CALCULATE DATE
OF BIRTH)

NAME DATE OF BIRTH DAY MONTH YEAR


RAMESH 15−05−1980 10 11 40
RAKESH 20−08−1981 ? ? ?
RAHUL 15−10−2003 ? ? ?
POOJA 25−05−1990 ? ? ?
MANOJ 24−08−1992 ? ? ?
ASHOK 23−08−1998 ? ? ?
AJEET 12−05−1980 ? ? ?
ALOK 18−03−2005 ? ? ?
AMRIT 15−08−2007 ? ? ?
SURENDRA 25−05−2010 ? ? ?
SHASHI 25−08−1993 ? ? ?

Q.1 How Many Student?

Q.2 Student Surendra Is How Many Year Old?

Q.3 How Many Student Age Greater Then 20 Years?


Q.4 If Student Age Is Greather Then 20 Then Student Adult /
Child?

Q.5 How Many Student Age Is >= 25 Years?

17
Department of Computer Science and applications
Exercise -15
USE OF FORMULAS - SUM, AVERAGE, COUNTA, COUNTIF, SUMIF, & IF

Student Subject Result


Name
Name Maths English Physics TOTAL PERCENTAGE GRADE
Alan 80 75 85 240 80 EXCELLENT
Bob 50 30 40 120 ? ?
Carol 60 70 Oor 130 ? ?
David 90 85 95 270 ? ?
Eric 20 30 Absent 50 ? ?
Fred 40 60 80 180 ? ?
Gail 10 90 80 180 ? ?
Harry 80 70 60 210 ? ?
Ian 30 10 20 60 ? ?
Janice 10 20 30 60 ? ?

Q.1 How Many Student?


Q.2 How Many Student Percentage Greather Then > 50
Q.3 Student Bob and Eric Total Number?
Q.4If Percentage Greater Then >70 Then "Excellent", If Percentage Greater Then >50,"Good",
Otherwise "Bed"
Q.5How Many Student Good and Bed in a list

18
Department of Computer Science and applications
Exercise -16
USE OF FORMULAS - LOOKUP

LOOKUP FUNCTION SYNTAX LOOKUP(LOOKUP_value,lookup_vector,[result_vector])

First Last
Empoyee ID Last Name First Name Empoyee ID Pay N. N.
110608 Doe John 602693 $ 84,289 Micheal Vick
253072 Cline Andy 611810 $ 1,37,670 ? ?
352711 Smith John 549457 $ 1,90,024 ? ?
391006 Pan Peter 612235 $ 1,22,604 ? ?
392128 Favre Bret 580622 $ 1,11,709 ? ?
549457 Elway John 830385 $ 85,931 ? ?
580622 Manning Eli 253072 $ 1,68,114 ? ?
602693 Vick Micheal 391006 $ 89,627 ? ?
611810 Woods Tiger 990678 $ 1,49,946 ? ?
612235 Jordan Micheal 795574 $ 1,45,893 ? ?
795574 Stark Tony 392128 $ 64,757 ? ?
830385 Williams Prince 352711 $ 71,478 ? ?

19
Department of Computer Science and applications
Exercise -17
USE OF FORMULAS - COUNTA, COUNTIF, SUMIF, & VLOOKUP

USE OF VLOOKUP

Employee Full SSN Department Start Earnings


ID Name Date
EMP001 ? ? ? ? ?
EMP002 ? ? ? ? ?
EMP003 ? ? ? ? ?

Employee Full Name SSN Department Start Date Earnings


ID
EMP001 Faith K. Macias 845−04−39 Marketing 27−01−2008 $73,500.00
62
EMP002 Lucian Q. 345−28−49 IT/IS 01−03−2008 $80,000.00
Franklin 35
EMP003 Blaze V. Bridges 503−53−83 Marketing 16−04−2008 $95,000.00
50
EMP004 Denton Q. Dale 858−39−79 Marketing 03−05−2008 $1,05,000.00
67
EMP005 Blossom K. Fox 245−18−58 Engineering 11−07−2008 $90,000.00
90
EMP006 Kerry V. David 873−45−86 Finance 17−07−2008 $60,000.00
75
EMP007 Melanie X. 190−08−36 Finance 05−10−2008 $87,000.00
Baker 79
EMP008 Adele M. Fulton 352−36−95 Engineering 28−10−2008 $1,04,000.00
53
EMP009 Justina O. 645−74−04 Marketing 05−11−2008 $3,80,050.00
Jensen 51
EMP010 Yoshi J. England 558−53−14 Marketing 09−12−2008 $93,000.00
75
EMP011 Brooke Y. 129−42−61 IT/IS 12−02−2009 $1,80,000.00
Mccarty 48
EMP012 Kay G. Colon 796−50−47 Marketing 19−03−2009 $1,00,000.00
67
EMP013 Callie I. Forbes 266−48−13 Human Resources 13−04−2009 $1,36,000.00
39
EMP014 Zachery O. 663−00−32 Marketing 28−04−2009 $68,000.00
Mann 85

Q.1 How Many Employee in a List ?


Q.2 Employee Blossom K. Fox Department and Earnings?
Q.3 Employee Blossom K. SSN No.?

20
Department of Computer Science and applications
Q.4 How Many Amount Earnings Marketing Department?
Q.5 How Many Employee work in Finance and Marketing Department?

Exercise -18
USE OF FORMULAS - MATCH AND VLOOKUP WITH MATCH

CLASSIC FAVORITES TALL GRAND VENTI


E
Caffe Latte $2.95 $3.75 $4.15
Cappuccino $2.95 $3.65 $4.15

Caramel Macchiato $3.75 $3.95 $4.25


Caffe Mocha $3.25 $3.95 $4.40
White Chocolate Mocha $3.45 $4.15 $4.55
Caffe Americano $2.00 $2.40 $2.75
Cinnamon Dolce Latte $3.95 $4.75 $5.15
Steamer $2.25 $2.50 $2.75
Drip Coffee $1.75 $1.95 $2.05

Question: What is the column number for the size Grande,Tall, Venti?
Use of Match Formula

Grande 3 Use of Match Function


VENTI ? Use of Match Function
TALL ? Use of Match Function

Question: What is the price of a Caffe Mocha, size Grande,Tall, Venti?


Use of Vlookup with Match Formula

Caffe Mocha Grande $3.9


5
Caffe Mocha TALL ?
Caffe Mocha VENTI ?

21
Department of Computer Science and applications
Exercise -19
USE OF FORMULAS - COUNTA AND VLOOKUP

Total
Product Jan Feb Mar Apr May Jun Jul Aug Sales
Name
Apples $2,773 $17,462 $5,954 $1,348 $28,158 $28,799 $25,415 $17,227 $1,27,136
Grapefruit $12,908 $3,083 $24,492 $5,825 $1,080 $2,188 $11,087 $15,544 ?
Lemons $6,554 $14,262 $8,377 $24,98 $12,184 $6,430 $21,159 $18,597 ?
2
Lime $28,913 $1,437 $20,019 $13,02 $26,952 $27,076 $7,040 $10,884 ?
6
Oranges $4,768 $7,622 $28,918 $27,14 $3,578 $10,092 $15,207 $12,771 ?
1
Peaches $13,390 $3,611 $6,226 $27,56 $29,962 $2,967 $5,740 $2,137 ?
7
Pears $17,585 $28,508 $9,614 $17,11 $12,143 $7,365 $24,185 $1,643 ?
0
Pineapple $22,579 $16,301 $6,469 $22,05 $8,740 $18,806 $3,334 $3,597 ?
0

Q.1 How Many Fruits?


Q.2 Fruits Lemons and Pineapples sales in Mar and Jul ?

22
Department of Computer Science and applications
Exercise -20
CREATE PIVOT TABLE USING DATA

Last Name Sale Country Quarter


s
Smith $16,753.00 UK Qtr 3
Johnson $14,808.00 USA Qtr 4
Williams $10,644.00 UK Qtr 2
Jones $1,390.00 USA Qtr 3
Brown $4,865.00 USA Qtr 4
Williams $12,438.00 UK Qtr 1
Johnson $9,339.00 UK Qtr 2
Smith $18,919.00 USA Qtr 3
Jones $9,213.00 USA Qtr 4
Jones $7,433.00 UK Qtr 1
Brown $3,255.00 USA Qtr 2
Williams $14,867.00 USA Qtr 3
Williams $19,302.00 UK Qtr 4
Smith $9,698.00 USA Qtr 1

23
Department of Computer Science and applications
Exercise -21
USE OF FORMULAS - COUNTIF, COUNTIFS AND SUMIFS

Season Year Type State Sales $


Fall 1998 Amber Ale California $5,54,536
Fall 1998 Hefeweizen California $5,40,643
Fall 1998 Pale Ale California $5,77,548
Fall 1998 Pilsner California $4,55,905
Fall 1998 Porter California $4,90,871
Fall 1998 Stout California $4,46,383
Fall 1998 Amber Ale Oregon $4,57,726
Fall 1998 Hefeweizen Oregon $3,47,696
Fall 1998 Pale Ale Oregon $3,84,541
Fall 1998 Pilsner Oregon $3,86,420
Fall 1998 Porter Oregon $3,70,970
Fall 1998 Stout Oregon $4,30,754
Fall 1998 Amber Ale Washington $5,00,847
Fall 1998 Hefeweizen Washington $5,07,070
Fall 1998 Pale Ale Washington $4,82,346
Fall 1998 Pilsner Washington $6,08,713
Fall 1998 Porter Washington $1,50,000
Fall 1998 Stout Washington $5,00,649
Spring 1998 Amber Ale California $5,45,780
Spring 1998 Hefeweizen California $4,40,644
Spring 1998 Pale Ale California $5,80,359
Spring 1998 Pilsner California $5,36,225
Spring 1998 Porter California $4,14,908
Spring 1998 Stout California $3,77,997
Spring 1998 Amber Ale Oregon $3,31,289
Spring 1998 Hefeweizen Oregon $3,84,572
Spring 1998 Pale Ale Oregon $3,65,813
Spring 1998 Pilsner Oregon $3,96,338
Spring 1998 Porter Oregon $4,53,761
Spring 1998 Stout Oregon $3,56,538
Spring 1998 Amber Ale Washington $6,06,332
Spring 1998 Hefeweizen Washington $5,35,218
Spring 1998 Pale Ale Washington $4,93,364
Spring 1998 Pilsner Washington $5,59,100
Spring 1998 Porter Washington $2,20,350
Spring 1998 Stout Washington $4,76,975

24
Department of Computer Science and applications
Q.1 How Many Spring and Fall Season?
Q.2 How Many Fall Season in California and
Washington?

Q.3 Total Sales if Spring Season in Washngton and California?


Q.4 How Many Spring Season in Washington only?
Q.5 Create Pivot Table Using Data?

25
Department of Computer Science and applications
Exercise -22
USE OF FORMULAS - COUNTIF, COUNTIFS AND SUMIFS AND VLOOKUP

Name Gender Country Score


Richard Male United States 74
Jennifer Female United Kingdom 92
James Male United States 65
Lisa Female Canada 82
Sharon Female Australia 50
Elizabeth Female Canada 91
Carol Female United States 96
Mark Male United States 58
John Male Canada 67
Susan Female United Kingdom 54
David Male United States 83

Q.1 How Many Male and Female Candidate


in a List?

Q.2 How Many Male Employee in United


States?

Q.3 Lisa and John Which Country Belong?

26
Department of Computer Science and applications
Exercise -23
USE OF FORMULAS - VLOOKUP

ID Brand Product ID Brand Product


101 Dell Computer 104 HP Printer
102 Logitech Keyboard 103 ? ?
103 Logitech Mouse 104 ? ?
104 HP Printer 101 ? ?
102 ? ?
Use of Vlookup Function ? 103 ? ?
101 ? ?
104 ? ?
101 ? ?
102 ? ?

27
Department of Computer Science and applications
Exercise -24
USE OF FORMULAS - HLOOKUP

ID 101 102 103 104


Brand Dell Logitech Logitech HP
Product Computer Keyboard Mouse Printer

ID Product Brand
104 Printer HP
103 ? ?
104 ? ?
101 ? ?
102 ? ?
103 ? ?
101 ? ?
104 ? ?
101 ? ?
102 ? ?

28
Department of Computer Science and applications
Exercise -25
USE OF FORMULAS - INDEX WITH MATCH

Region Jan Feb Mar


North 5,535 5,414 9,027
South 5,013 5,107 11,667
East 6,597 3,858 1,507
West 3,195 3,654 7,225

East Mar 1,507


West Feb ?
South Jan ?
North Mar ?

INDEX(A4:D8,MATCH(A10,A4:A8,0),MATCH(B10,A4:D4,0))

29
Department of Computer Science and applications
Exercise -26
USE OF FORMULAS - INDEX + MATCH

Emp Name Salary Department Emp ID Emp ID Salary


Raju 92,671 Sales Prd001 Prd001 92,671
Ramesh 84,120 Operations Prd002 Prd002 ?
Ramila 50,793 Marketing Prd003 Prd003 ?
Rajeshwari 77,833 HR Prd004 Prd004 ?
Karan 58,914 Finance Prd005 Prd005 ?
Rohith 51,096 IT Prd006 Prd006 ?
Jacob 83,735 Marketing Prd007 Prd007 ?
Fleming 74,418 IT Prd008 Prd008 ?
Navya 51,366 Sales Prd009 Prd009 ?
Kavya 54,600 Finance Prd010 Prd010 ?
Santosh 93,509 Operations Prd011 Prd011 ?
Shankar 80,105 Finance Prd012 Prd012 ?
Rajesh 60,802 Marketing Prd013 Prd013 ?
Mahesh 76,260 Sales Prd014 Prd014 ?
Hemaraj 88,965 IT Prd015 Prd015 ?
Nagaraj 63,288 Operations Prd016 Prd016 ?
Johson 45,742 Sales Prd017 Prd017 ?
David 88,354 Marketing Prd018 Prd018 ?
Anderson 76,641 Marketing Prd019 Prd019 ?
Peter 61,678 Sales Prd020 Prd020 ?

30
Department of Computer Science and applications
Exercise -27
USE OF FORMULAS LOOKUP

Emp Name Salary Department Emp ID Emp ID Salary


Raju 92,671 Sales Prd001 Prd001 92,671
Ramesh 84,120 Operations Prd002 Prd002 ?
Ramila 50,793 Marketing Prd003 Prd003 ?
Rajeshwari 77,833 HR Prd004 Prd004 ?
Karan 58,914 Finance Prd005 Prd005 ?
Rohith 51,096 IT Prd006 Prd006 ?
Jacob 83,735 Marketing Prd007 Prd007 ?
Fleming 74,418 IT Prd008 Prd008 ?
Navya 51,366 Sales Prd009 Prd009 ?
Kavya 54,600 Finance Prd010 Prd010 ?
Santosh 93,509 Operations Prd011 Prd011 ?
Shankar 80,105 Finance Prd012 Prd012 ?
Rajesh 60,802 Marketing Prd013 Prd013 ?
Mahesh 76,260 Sales Prd014 Prd014 ?
Hemaraj 88,965 IT Prd015 Prd015 ?
Nagaraj 63,288 Operations Prd016 Prd016 ?
Johson 45,742 Sales Prd017 Prd017 ?
David 88,354 Marketing Prd018 Prd018 ?
Anderson 76,641 Marketing Prd019 Prd019 ?
Peter 61,678 Sales Prd020 Prd020 ?

Q.1 How Many Employee in Work HR, IT, Marketing Department ? Use of Countif
Q.2 Employee Santosh Salary?Use of Sumif
Q.3 IT & Marketing Department Total Salary?Use of Sumif

31
Department of Computer Science and applications
Exercise-28
USE OF FORMULAS AND

PHYSICS CHEMISTRY MATHS BIOLOGY PASSED THE EXAM ?


NAME
NITIN PASS PASS FAIL PASS FALSE
FEROZ PASS PASS PASS PASS ?
ANITHA PASS FAIL PASS PASS ?
MADAN PASS PASS PASS PASS ?
HARRY PASS FAIL PASS PASS ?
SUMITH FAIL PASS PASS PASS ?
HARSH PASS PASS PASS FAIL ?
TRIVEDI PASS PASS FAIL PASS ?
ASHISH PASS PASS PASS PASS ?

IN THIS EXAMPLE, IF STUDENT PASSES ALL THE SUBJECT, THEN HE HAS PASSED THE EXAM

32
Department of Computer Science and applications
Exercise -29
USE OF FORMULAS - AVERAGEIF

Product Name Units sold Stude Semester Score


A 250.00 nt
D 110.00 John second 90
E 300.00 Gary Third 77
B 50.00 Richa second 80
C 45.00 Hari second 65
D 23.00 Tom Third 45
F 25.00 Will Third 55
A 90.00
D 450.00 Average semester score
C 23.00 Second 78.33333333
A 250.00 Third ?
B 25.00

Average of B 37.5
Average of D ?

Zone City Sales Product Name Units sold


South Chennai 25000 A 250.00
East Patna 12000 D 110.00
North Delhi 4200 E 300.00
North Kanpur 5600 B 50.00
West Gandhinagar 15000 C 45.00
East Hubli 7000 D 23.00
South Manglore 5200 F 25.00
North Chandigarh 6000 A 90.00
West Pune 8500 D 450.00
south Hyderabad 12000 C 23.00
North Meerut 4300 A 250.00
West Nagpur 1200 B 25.00

Average of West zone Avg of Units Sold above 250 375


8233.33 Avg of Units Sold below 100 ?

33
Department of Computer Science and applications
Exercise -30
USE OF IF AND VLOOKUP -COMPARE LIST 1 TO LIST 2

List 1 List 2 Result List 1 List 2 Result


Raj Ankita Not 343749 160466 160466
Matching 183257 183258 Value not in List 1
Rohit Rohit Matching 160466 249447 249447
Kajal Abhay Not 249447 343749 343749
Matching
532765 356160 Value not in List 1
Rohan Rohan Matching
356163 379391 379391
Akshay Punet Not
Matching 455292 455292 455292
379391 532765 532765
IF(A9=B9,"Matching","Not Matching")

VLOOKUP(F12,E5:E12,1,0)

Color List-1 Result Color List-2


Red Red Red
Yellow Yellow Yellow
Green Green Grey
Blue #N/A Green
Orange Orange Orange
White #N/A Black

VLOOKUP(A17,E17:E22,1,FALSE)

34
Department of Computer Science and applications
Exercise -31
USE OF CONCATENATE

EmpID
First Last Full Name
Name Name
D21 Vishal Mohan Vishal Mohan
D22 John Mathew John Mathew
D23 Jamema Powel Jamemah Powel
h
D24 Arundha Swamin Arundhati
ti athan Swaminathan
D25 Peter Potter Peter Potter
D26 Roger William Roger Williams
s

= CONCATENATE(B5," ",C5)

EmpID
First Last Name Full Name
Name
D21 Vishal Mohan Vishal Mohan
D22 John Mathew John Mathew
D23 Jame Powel Jamemah Powel
mah
= B16&" "&C16

35
Department of Computer Science and applications
Exercise-32
USE OF COUNTA, COUNTIF, COUNTIFS, VLOOKUP AND INDEX WITH MATCH

Employee
Database
Emp
Date Name Designation KRA
Id
01−11−2018 1101 ARUN MIS−OPERATION SALES
01−11−2018 1102 ASHOK OPERATION PHP
03−11−2018 1103 BISWAS SOFTWARE ENG JAVA
03−11−2018 1104 DINESH SME MAILS
03−11−2018 1105 ESHWAR PROGRAMMER C++
06−11−2018 1106 FAHAD PROGRAMMER DOT NET
06−11−2018 1107 GANGA SOFTWARE TESTING
ASSOCIATE
08−11−2018 1108 HEMA NETWORK ENG SERVER
08−11−2018 1109 FARZANA SALES EXECUTIVE SALES
08−11−2018 1110 AYESH SALES EXECUTIVE AMAZON
09−11−2018 1111 PRAVEEN SALES EXECUTIVE AMAZON
09−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 SALES EXECUTIVE MYNTRA
BANU
11−11−2018 1116 FARZANA SALES EXECUTIVE MYNTRA
BANU
11−11−2018 1116 FARZANA SALES EXECUTIVE MYNTRA
BANU
01−11 -18 1010 VAMSEE BRAND MANAGER MARKETING
KRISHNA

Q.1 How Many Employee?


Q.2 How Many Employee in
SalesExecutive?

Q.3 How Many Employee Sales Executive in Amazone and Myntra?


Q.4 Employee Dinesh and Vishal Post and KRA?
Q.5 Employee Abhishek and Hema Emp
id?

36
Department of Computer Science and applications
Exercise-33
USE OF VLOOKUP ONE

Sheet to Another Sheet


Emp
Id First Name Last Name Department Location
Sheet 1- Data
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

Sheet 2- Use of Vlookup


Em
p First Last Department Location
Id Name Name
101 Donald Patrick Finance Banglore
103 ? ? ? ?
102 ? ? ? ?
105 ? ? ? ?
108 ? ? ? ?
106 ? ? ? ?
107 ? ? ? ?
104 ? ? ? ?
109 ? ? ? ?
110 ? ? ? ?

37
Department of Computer Science and applications
Exercise -34
GET PIVOT TABLE

Pivot Table Result


Date of Sale Month Sales Amt
Month (All)
19−01−2018 January 2,01,440
16−01−2018 January 3,52,519 Date of Sale Sum of Sales Amt
22−01−2018 January 1,72,406 12−01−2018 2,40,000
12−01−2018 January 2,40,000 16−01−2018 3,52,519
05−02−2018 February 15,205 19−01−2018 2,01,440
02−02−2018 February 24,327 22−01−2018 1,72,406
13−02−2018 February 50,549 02−02−2018 24,327
15−02−2018 February 15,106 05−02−2018 15,205
15−02−2018 February 19,901 09−02−2018 15,205
09−02−2018 February 15,205 13−02−2018 50,549
22−02−2018 February 3,00,000 15−02−2018 35,007
26−02−2018 February 1,50,000 22−02−2018 3,00,000
26−02−2018 February 3,30,553 26−02−2018 6,43,835
26−02−2018 February 1,63,282 27−02−2018 5,64,030
27−02−2018 February 5,64,030 28−02−2018 7,20,256
28−02−2018 February 5,03,599 Grand Total 33,34,777
28−02−2018 February 15,218
28−02−2018 February 2,01,440

38
Department of Computer Science and applications
Exercise -35
USE OF HLOOKUP

Months January Februar March April May June


y
Sale 240 180 310 445 650 700

Months April
Sale ?

Name Roger Mat Jim Cole Ricky Mary


Science 36 45 52 66 75 40
English 82 71 56 32 81 66
Maths 32 45 52 51 71 74

Marks in English ?

Name Roger Mat Jim Cole Ricky Mary


Science 36 45 52 66 75 40
English 82 71 56 32 81 66
Maths 32 45 52 51 71 74

Marks in Maths ?

EMP FIS6067 FIS5228 FIS6799 FIS1149 FIS583


4
SALES1 66 43 36 82 89
SALES2 51 83 41 125 79
SALES3 35 97 92 41 39
SALES4 84 76 35 48 37
SALES5 110 77 90 37 34

EMP FIS1149
Sales 4 ?

Temperart 21 33 39 42 50
ure(In
Celsius)
Cities New Patna Mumba Pune Bangalore
Delhi i

Temperatu 40

39
Department of Computer Science and applications
re
City ?

Employee Albert Aaron Albama Abee Carol Cath


y y
Sales 200 125 320 250 300 421

Employee Cat
Sales ?

40
Department of Computer Science and applications
Exercise -36
USE OF NESTEDIF

Total Numbers
Name Grade earned
Earned
Condition List
John Wilkins 92 A+ 90−100 A+
Steve Harrington 88 A 85 − < A
Edward Clark 94 A+ 90
Jimmy Chemberlin 84 B+ 80 − < B+
Alex Wilkins 95 A+ 85
Patty Scott 78 B 75 − < B
80
Andrew Williams 59 D
70 − < C+
Emilia johnson 43 F 75
Anthony Rogers 90 A+ 65 − < C
70
60 − < D+
65
50 − < D
60
< 50 F

41
Department of Computer Science and applications
Exercise -37
MERGE TABLE 1,2 & 3 USING VLOOKUP

Table 1 Table 2 Table 3


Emp ID Emp Name Emp ID Dept Emp ID Salary
Prd001 Raju Prd001 Sales Prd001 92,671
Prd002 Ramesh Prd002 Operations Prd002 84,120
Prd003 Ramila Prd003 Marketing Prd003 50,793
Prd004 Rajeshwari Prd013 Marketing Prd004 77,833
Prd005 Karan Prd014 Sales Prd005 58,914
Prd006 Rohith Prd015 IT Prd006 51,096
Prd007 Jacob Prd016 Operations Prd015 88,965
Prd008 Fleming Prd017 Sales Prd016 63,288
Prd009 Navya Prd020 Sales Prd017 45,742
Prd010 Kavya Prd004 HR Prd018 88,354
Prd011 Santosh Prd005 Finance Prd019 76,641
Prd012 Shankar Prd006 IT Prd020 61,678
Prd013 Rajesh Prd018 Marketing Prd007 83,735
Prd014 Mahesh Prd019 Marketing Prd008 74,418
Prd015 Hemaraj Prd007 Marketing Prd009 51,366
Prd016 Nagaraj Prd008 IT Prd010 54,600
Prd017 Johson Prd009 Sales Prd011 93,509
Prd018 David Prd010 Finance Prd012 80,105
Prd019 Anderson Prd011 Operations Prd013 60,802
Prd020 Peter Prd012 Finance Prd014 76,260

Result
Emp ID Emp Depar Sal
Name tment ary
Prd001 Raju ??? ???
Prd002 Ramesh ??? ???
Prd003 Ramila ??? ???
Prd004 Rajeshwari ??? ???
Prd005 Karan ??? ???
Prd006 Rohith ??? ???
Prd007 Jacob ??? ???
Prd008 Fleming ??? ???
Prd009 Navya ??? ???
Prd010 Kavya ??? ???
Prd011 Santosh ??? ???
Prd012 Shankar ??? ???
Prd013 Rajesh ??? ???
Prd014 Mahesh ??? ???
Prd015 Hemaraj ??? ???

42
Department of Computer Science and applications
Prd016 Nagaraj ??? ???
Prd017 Johson ??? ???
Prd018 David ??? ???
Prd019 Anderson ??? ???
Prd020 Peter ??? ???

43
Department of Computer Science and applications
Exercise -38

UNDERSTANDING QUICK ANALYSIS

1. Open a Workbook and type the following data in the workbook


2. Save the file as Quick analysis.xlsx
3. Click in cell B5, hold down , then click in cell E9 to select the range B5:E9
4. Point to the bottom of the selected range so that the Quick Analysis button appears, then click on it to
see the Quick Analysis gallery
5. On the FORMATTING tab, point to Data Bars to see data bars representing the size of the selected
values
6. Point to Colour Scale to see colours used to signify the scale of values (from red for low to green for
high)
7. Point to Top 10% to see the top 10% of values
8. Click on Greater Than to see the Greater Than dialog box
9. Type 200000 in Format cells that are GREATER THAN, then click in cell A1 to see the changes

44
Department of Computer Science and applications
Exercise -39
QUICK CHARTING

1. Open the previous file Quick analysis.xlsx or type the below data again.
2. Click in cell A3, hold down , then click in cell E9 to select the range A3:E9
3. Click on the Quick Analysis button, then click on the CHARTS tab to see a range of recommended chart
types for this range
4. Point to Clustered Column to see a Live Preview of the chart with the Week as the legend
5. Point to Line, then Stacked Area, then Stacked Column to see how these options appear in Live Preview
6. Point to the second Clustered Column to see a preview of the chart with the Days as the legend
7. Click on the second Clustered Column to create a chart in the worksheet

45
Department of Computer Science and applications
Exercise -40
CREATING A NEW CHART FROM SCRATCH

1. Open the Quick Analysis.xlsx file.


2. Calculate the total using sum function if not done.
3. Select the range of cells from the fields leaving the total column.
4. Click on the INSERT tab, then click on Insert Column Chart in the Charts group to see a gallery of
Column chart types
5. Under 2-D Column, click on Clustered Column
6. The chart will be embedded in the worksheet. The chart will be active (selected) and you’ll see additional
tabs on the ribbon for working with the chart…
7. Point to the chart, then click to select it and drag the chart so that it is underneath the data.

46
Department of Computer Science and applications
Exercise -41

CREATING A CHART SHEET

1. Open the previous file Quick Analysis.xlsx


2. Click save as and save with a new name.
3. Click on the chart to select it and display the CHART TOOLS:DESIGN and CHART TOOLS:
4. FORMAT tabs
5. Click on the CHART TOOLS: DESIGN tab,
6. then click on Move Chart in the Location group to display the Move Chart dialog box
7. Click on New Sheet, then type Revenue Chart
8. This will become the sheet name for the chart…
9. Click on [OK] to move the embedded chart to its own sheet
10. Click on the Chart Data worksheet tab to see the data again
11. Notice that the chart is no longer embedded on this worksheet

47
Department of Computer Science and applications
Exercise -42
CHANGING THE CHART LAYOUT

1. Open the Previous file Quick Analysis.xlsx


2. Click save as and save with a new name
3. Click on the Revenue Chart worksheet tab to see the chart, then click anywhere on the chart to select
it and see the CHART TOOLS: DESIGN and CHART TOOLS: FORMAT tabs
4. Click on the CHART TOOLS: DESIGN tab,
5. then click on Quick Layout in the Chart Layouts group to display a gallery of layout options
6. Click on Layout 3 to apply this chart layout to the chart
7. Repeat steps 2 and 3 to select other chart layouts and see how they appear when applied to the chart
8. Click on Quick Layout in the Chart Layouts group and click on Layout 5
9. Click on the Chart Data worksheet tab to display this worksheet.

48
Department of Computer Science and applications

You might also like