Class 8 Excel
Class 8 Excel
Class 8 Excel
V GROUP OF SCHOOLS
CHAPTER 1
INTRODUCTION TO MS EXCEL
# Recap of Excel Basic concepts done in Class V
(Worksheet layout and navigation, editing cells, copying data, worksheet
operations, basic functions, formatting, autofill )
Basically Excel is a spread sheet program that allows storing, organizing and analyzing the
data. A major strength of Excel is that you can perform mathematical calculations and format
your data. It can be used to create reports, charts, automate tasks and much more.
Here is the main window of Excel 2007. The main components of this window are.
1. WorkBook and WorkSheet
2. Quick Access toolbar
3. Ribbon
4. Name Box
5. Formula Bar
6. Office Button
A WORKBOOK is a file created in Excel. It is made up of many worksheets. The extension
of an Excel WorkBook is .xlsx . Each worksheet has its own grid full of “Cells.” Cell is the
basic unit of a work sheet. A Cell is a container for data and each little rectangle you see in
the worksheet is a cell. Cells are organized by columns (A, B, C, …) and rows (1, 2, 3, …).
They can hold plain text, or calculate data with formulas (more on formulas later). Every cell
is associated with a Cell Reference( a name given to the cell using the column name
followed by the row number it belongs to). Eg. B12.. This kind of reference is called
Relative Reference.
QUICK ACCESS TOOLBAR
The Quick Access Toolbar lets you add commands that
are always visible to you while working with the
Workbook. Commonly found commands are
Save, Undo, Redo, and the New Workbook
commands.
Also, if you’re looking for the “File” button, here
is none. However, you can use the new Office
button as shown in the picture.
RIBBON: The Ribbon is the display you see at
the top of the Microsoft Excel window. It is your
primary interface with Excel. It allows you to
access most of the commands available to you
in Excel. The Ribbon is composed of three parts:
1
D.A.V GROUP OF SCHOOLS
NAME BOX: is located to the left of the formula bar.(Formula bar is located immediately
below the Ribbon). The Name Box displays the name (or cell reference).
FORMULA BAR: This bar is located immediately above the spreadsheet labeled with
function symbol (fx). The formula bar comes very handy when you are dealing with a pretty
long formula you want to view it entirely without overlaying the contents of the neighbor
cells. The formula bar gets activated as soon as you type an equal sign in any cell or click
anywhere within the bar.
Navigating within a worksheet
Using the mouse:
Use the vertical and horizontal scroll bars if you want to move to an area of the screen
that is not currently visible.
To move to a different worksheet, just click on the tab below the worksheet.
Using the keyboard:
Use the arrow keys, or [PAGE UP] and [PAGE DOWN], to move to a different area
of the screen.
[CTRL] + [HOME} will take you to cell A1.
[CTRL] + [PAGE DOWN] will take you to the next worksheet, or use [CTRL] +
[PAGE UP] for the preceding worksheet.
You can jump quickly to a specific cell by pressing [F5] and typing in the cell address.
You can also type the cell address in the name box above column A, and press
ENTER].
Data entry cell by cell
To enter either numbers or text:
You can undo the last 100 actions
1. Click on the cell where you want the data to be stored, so that the cell becomes active.
2. Type the number or text.
3. Press [ENTER] to move to the next row, or [TAB] to move to the next column. Until
you’ve pressed [ENTER] or [TAB], you can cancel the data entry by pressing [ESC].To
enter a date, use a slash or hyphen between the day, month and year, for example
14/02/2009. Use a colon between hours, minutes and seconds, for example 13:45:20.
Remember that useful Undo button on the Quick Access toolbar!
Deleting data
You want to delete data that’s already been entered in a worksheet? Simple!
1. Select the cell or cells containing data to be deleted.
2. Press the [DEL] key on your keyboard.
3. The cells remain in the same position as before, but their contents are deleted.
Moving data
You’ve already entered some data, and want to move it to a different area on the worksheet?
Select the cells you want to move (they will become highlighted).
Move the cursor to the border of the highlighted cells. When the cursor changes from
a white cross to a four-headed arrow (the move pointer), hold down the left mouse
button.
2
D.A.V GROUP OF SCHOOLS
Drag the selected cells to a new area of the worksheet, then release the mouse button.
You can also cut the selected data using the ribbon icon or [CTRL] + [X], then click in
the top left cell of the destination area and paste the data with the ribbon icon or
[CTRL] + [V].
Copying data
To copy existing cell contents to another area on the worksheet:
Select the cells you want to copy (they will become highlighted).
Move the cursor to the border of the highlighted cells while holding down the
[CTRL] key. When the cursor changes from a white cross to a hollow left-pointing
arrow (the copy pointer), hold down the left mouse button.
Drag the selected cells to a second area of the worksheet, then release the mouse
button.
You can also copy the selected data using the ribbon icon or [CTRL] + [C], then click in the
top left cell of the destination area and paste the data with the ribbon icon or [CTRL] + [V].
To copy the contents of one cell to a set of adjacent cells, select the initial cell and then
move the cursor over the small square in the bottom right-hand corner (the fill handle).
The cursor will change from a white cross to a black cross. Hold down the mouse button
and drag to a range of adjacent cells. The initial cell contents will be copied to the other cells.
Note that if the original cell contents end with a number, then the number will be
incremented in the copied cells.
If the original cell that you are moving or copying contains a reference to a cell address, then
the copied cell address will be adjusted relative to the target cell.
Refer to Formulas –Referencing later in this book for details.
Activity - CHART
Type the data for the given
table from cell A1 to cell F6.
Generate the total population
using the sum() function in
the cellsB7 to F7.
3
D.A.V GROUP OF SCHOOLS
EXERCISE
8. Without using the mouse or the arrow keys, what is the fastest way of getting
to cell A1 in a spreadsheet?
a. Press Ctrl +Home b. Press Home
c. Press Shift + Home d. Press Alt + Home
9. It is acceptable to let long text flow into adjacent cells on a worksheet when
a. Data will be entered in the adjacent cells
b. No data will be entered in the adjacent cells
c. There is no suitable abbreviation of the text
d. There is not time to format the next
10. Which of the following methods cannot be used to edit the contents of a cell?
a. Press the Alt key b. Clicking the formula bar
4
D.A.V GROUP OF SCHOOLS
CHAPTER 2
7
D.A.V GROUP OF SCHOOLS
8
D.A.V GROUP OF SCHOOLS
Activity 1.1
Prepare the T- Shirt Sales report excel sheet with daily total, product wise total and weekly
total
c) Click cell B9 and type =sum(B4:B8)…to find total sales for Monday
d) Copy this formula to the cells C9 to G9 to find total sales for the other days
of the week.
e) Also copy the formula to the cell H9 to find the Weekly Total sales for all
the T-Shirts.
Activity 1.2
Type the given data.
Merge and center the title
Center align the S.No
Change the font color of Avg Price to Blue if it exceeds 5000
Give Comma separator to numeric values of columns E and F
Use Indian Currency symbol for Avg Price
Use formulas to calculate amount, total, average, highest and lowest sales.
Copy the contents of Sheet1 to Sheet2
Rename Sheet2 to New Sheet
Sort the contents of New Sheet in the ascending order of AvgPrice
9
D.A.V GROUP OF SCHOOLS
Solution:
Click on cell B1 and drag till cell F1.Click Merge & Center tool from
Alignment group of Home tab.
Select the S.No. column (from B2 to B14) and click the center tool from
Alignment group of Home tab.
Select the Avg Price column (from E2 to E14) and click Conditional Formatting and
set the appropriate condition.
Select the datas from the cells E3 to F14, Click the comma style tool from
the Number group of Home tab.
Select the Avg Price column from E3 to E14 and select the rupee symbol under
currency category of Number tab in the Format Cells dialog Box.(to open the
Format Cells dialog Box–right click in the cell, choose Format cell)
Activity 1.3
Prepare the following worksheet
10
D.A.V GROUP OF SCHOOLS
Solution:
a) Calculate total using auto sum–Click cell F10 and click the ∑Auto Sum tool from the
Home tab.
b) Calculate Tax using the tax percentage saved in sheet 2( cell F3) created in activity 4 –
Click in cell F11 and type the formula - =F10*'Sheet 2'!F3.
c) Calculate the grand total as =F10+F11
Activity 1.5
11
D.A.V GROUP OF SCHOOLS
EXERCISE
1. There are three types of cell references. Relative and Mixed are two of them.
__________________ is the third type.
2. Which cell reference will not change if copied or moved?
a. A#2 b. &A&2
b. $A$2 c. %A%2
3. If in D3 you have =A1, What cell does D3 refer to?
a. D3 c. A1
b. D1 d. A3
4. Getting data from a cell located in a different cell sheet is called …
a. Accessing b. Referencing
c. Updating d. Functioning
5. Which of the following is an absolute cell reference?
a. !A!1 b. $A$1
c. #a#1 d. A1
6. The cell address that we use in the formula is known as ________________.
CHAPTER 3
EXCEL IF FUNCTION
Arguments :
logical_test - A value or logical
expression that can be evaluated
as TRUE or FALSE.
value_if_true - [optional] The
value to return when logical_test
evaluates to TRUE.
value_if_false - [optional] The
value to return when logical_test
evaluates to FALSE.
Usage notes:
Use the IF function to test for or evaluate certain conditions, and then react differently
depending on whether the test was TRUE or FALSE.
In the example shown in above, we want to assign either "Pass" or "Fail" based on a test
score. A passing score is 70 or higher. The formula in D6, copied down, is:
=IF(C6>=70,"Pass","Fail")
13
D.A.V GROUP OF SCHOOLS
Translation: If the value in C6 is greater than or equal to 70, return "Pass". Otherwise,
return "Fail".
The logical flow in this formula can be reversed. The formula below returns the same result:
=IF(C6<70,"Fail","Pass")
Translation: If the value in C6 is less than 70, return "Fail". Otherwise, return "Pass".
Comparison Operators
When you are constructing a test with IF, you can use any of the following logical operators:
Comparison
Meaning Example
Operator
= equal to A1=D1
Usage notes :
The COUNTIF function in Excel counts the number of cells in a range that match one
supplied condition. Criteria can include logical operators (>,<,<>,=) and wildcards (*,?) for
partial matching. Criteria can also be based on a value from another cell, as explained below.
Examples
In the example show, the following formulas are used:
=COUNTIF(D5:D12,">100") // count sales over 100
=COUNTIF(B5:B12,"jim") // count name = "jim"
=COUNTIF(C5:C12,"ca") // count state = "ca"
**Notice COUNTIF is not case-sensitive.
Double quotes ("") in criteria
In general, text values need to be enclosed in double quotes, and numbers do not. However,
when a logical operator is included with a number, the number and operator must be
enclosed in quotes, as seen in the second example below:
=COUNTIF(A1:A10,100) // count cells equal to 100
=COUNTIF(A1:A10,">32") // count cells greater than 32
=COUNTIF(A1:A10,"jim") // count cells equal to "jim"
Value from another cell
A value from another cell can be included in criteria using concatenation. In the example
below, COUNTIF will return the count of values in A1:A10 that are less than the value in
cell B1. Notice the less than operator (which is text) is enclosed in quotes.
=COUNTIF(A1:A10,"<"&B1) // count cells less than B1
Notes
COUNTIF returns incorrect results when used to match strings longer than 255
characters.
COUNTIF will return a #VALUE error when referencing another workbook
that is closed.
USAGE NOTES
The SUMIF function returns the sum of cells in a range that meet a single condition. The
first argument is the range to apply criteria to, the second argument is the actual criteria,
and the last argument is the range containing values to sum. SUMIF supports logical
operators (>,<,<>,=) and wildcards (*,?) for partial matching. If you need to apply more than
one criteria, use the SUMIFS function.
Example #1 - Basic Usage
In the worksheet shown, there are three SUMIF examples. In the first example (G6), SUMIF
is configured to sum values greater than 100. In the second example (G7), SUMIF returns
the sum of values where the Rep is "Jim". In the last example (G8), SUMIF is configured to
sum values where the state is "CA" (California).
=SUMIF(D6:D10,">100") // values > 100
=SUMIF(B6:B10,"Jim",D6:D10) // Rep = Jim
=SUMIF(C6:C10,"ca",D6:D10) // State = CA
Notice the equals sign (=) is not required when constructing "is equal to" criteria. Also
notice SUMIF is not case-sensitive. You can sum values where the Rep is Jim using "jim" or
"Jim".
Example #2 - criteria from another cell
A value from another cell can be included in criteria using concatenation. In the example
below, SUMIF will return the sum all sales over the value in G4. Notice the greater than
operator (>), which is text, must be enclosed in quotes. The formula in G5 is:
=SUMIF(D5:D9,">"&G4) // sum if greater than G4
16
D.A.V GROUP OF SCHOOLS
Arguments :
range - One or more cells, including numbers or names, arrays, or references.
criteria - A number, expression, cell reference, or text.
average_range - [optional] The cells to average. When omitted, range is used.
USAGE NOTES
AVERAGEIF computes the average of the numbers in a range that meet the
supplied criteria. If average_range is not supplied, the cells in range are averaged.
If average_range is supplied, cells in average_range that correspond to cells in range are
averaged. To determine which cells are averaged, criteria is applied to range. Criteria can
be supplied as numbers, strings, or references. For example, valid criteria could be 10,
"10" ">10", or A1.
18
D.A.V GROUP OF SCHOOLS
b. Enter the points scored by 5 people and display the badge they are eligible to receive.
A person gets a GREEN badge if the points scored are above 80 otherwise gets a BLUE
badge.Also calculate the number of blue and green
badges (using COUNTIF) B C
3 Points Badge
Step1: Click on B3 and enter Points
Step2 : Click on C3 and enter Badge 4 56 BLUE
Step 3: Enter the values as shown above in cells to B8 5 92 GREEN
Step 4: Click on C4 and enter 6 87 GREEN
=IF(B4>80,"GREEN","BLUE") 7 67 BLUE
Step 5: Click and drag till C8 to get the 8 52 BLUE
badge colours for other cells. 9
Step 6: Click on cell B10 and enter Blue Badges 10 Blue Badges 3
Step 7: Click on cell B11 and enter Green Badges 11 Green Badges 2
Step 8: Click on cell C10 and enter =COUNTIF(C4:C8,"BLUE")
Step 9: Click on cell C11 and enter
=COUNTIF(C4:C8,"GREEN")
c. Enter the age of 5 people. Calculate discount
in train ticket of 8% for minors and senior
citizens and 5% for the rest.
Step 1: Click on B2 and enter Age
Step 2: Click on C2 and enter Amount
Step 3: Click on D2 and enter Discount
Step 4: Enter the values 87,25,56,15,34 in
cells B3 to B7
Step 5: Enter the values 580,450,200,560
and 180 in cells C3 to C7
Step 6: Click on cell D2 and enter Discount
Step 7: Click on cell D3 and enter =IF(B3>=18,8,5)
and press Enter Key.
Step 8: Drag till cells D7 to get discount for other
cells
Step 9: Click on cell E2 and enter Discount
amount
Step10: Click on cell E3 and enter =C3*D3/100
and press Enter key
Step 11: Drag till cells E7 to get discount for other
cells
d. Enter ten number values (positive and negative). Calculate and display the total of
only positive numbers. Calculate and display the average of all negative numbers.
Step 1: Enter numbers 1 to 10 in cells B4 to B13
Step 2: Enter 10 numbers ( positive and negative numbers) in cells C4 to C13
19
D.A.V GROUP OF SCHOOLS
b) Enter 50 names in a worksheet and remove the duplicate values. (Based on the steps in
activity 2.2 a) try to remove the duplicate values)
20
D.A.V GROUP OF SCHOOLS
EXERCISES
1. Which function in Excel checks whether a condition is true or not ?
a. SUM b. COUNT
c. IF d. AVERAGE
2. Which of the following is a comparison operator for inserting a not equal to argument in
an IF, COUNTIF or SUMIF function?
a. <= b. <> c. >= d. ><
3. Study the screenshot on the right. Which of the
following functions, when inserted in the highlighted
cell (C2) above, will return the word “yes” ?
a. =IF(B2>50,"yes")
b. =IF(C2=”yes”)
c. =IF(B2=C2, “yes”)
d. =IF(B2=50, “yes”)
4. Which of the following represent the correct
arguments for the SUMIF function?
a. =SUMIF(criteria, range, criteria_range)
b. =SUMIF(criteria_range, true, false)
c. =SUMIF(range, criteria, [sum_range])
d. =SUMIF(range, sum_range, [criteria])
5. Which of the following is the correct formula syntax for using the COUNTIF function?
a. =COUNTIF(criteria, range)
b. =COUNTIF(criteria, range, [count_range])
c. =COUNT(IF(range, criteria))
d. =COUNTIF(range, criteria)
6. The ________________ function finds average for the cells specified by a given set of
conditions or criteria.
a. =averageif() b. =sumif()
c. =countif() d. =if()
7. The function used for adding the cells specified by a given set of condition or criteria
a. =averageif() b. =sumif()
c. =countif() d. =if()
21
D.A.V GROUP OF SCHOOLS
Teacher’s Signature
22
D.A.V GROUP OF SCHOOLS
CHAPTER 4
WHAT…IF ANALYSIS:
For example, you can do What-If Analysis to build two budgets that each assumes a certain
level of revenue. Or, you can specify a result that you want a formula to produce, and then
determine what sets of values will produce that result. Excel provides several different tools
to help you perform the type of analysis that fits your needs.
Three kinds of What-If Analysis tools come with Excel:- Scenarios, Goal Seek, and
Data(Pivot) Tables. Scenarios and Data tables take sets of input values and determine
possible results.
EXCEL PIVOT TABLES:
Pivot table is a reporting engine built into Excel. They are the single best tool in Excel for
analyzing data without formulas. You can create a basic pivot table in about one minute, and
begin interactively exploring your data.
With very little effort (and no formulas) you can look at the same data from many different
perspectives. You can group data into categories, break down data into years and months,
filter data to include or exclude categories, and even build charts.
The beauty of pivot tables is they allow you to interactively explore your data in different
ways.
Insert Pivot Table
1. Use the given Sample sales data to
create this Pivot Table. To start off,
select any cell in the data and click
Pivot Table on the Insert tab of the
ribbon: Excel will display the Create
Pivot Table window. Notice the data
range is already filled in. The default
location for a new pivot table is New
Worksheet.
23
D.A.V GROUP OF SCHOOLS
2. Override the default location and enter H4 to place the pivot table on the current
worksheet:
3. Click OK, and Excel builds an empty pivot table starting in cell H4.
5. To build a pivot table, drag fields into one the Columns, Rows, or Values area. The
Filters area is used to apply global filters to a pivot table.
25
D.A.V GROUP OF SCHOOLS
GOAL SEEK
If you know the result you want from a formula, use Goal Seek in Excel to find the input
value that produces this formula result. Goal Seek requires a single input cell and a single
output (formula) cell.
Goal Seek Example 1
Use Goal Seek in Excel to find the grade on the
fourth exam that produces a final grade of 70.
1. The formula in cell B7 calculates the final
grade.
3. On the Data tab, in the Data tools group, click
What-If Analysis.
4. Click Goal Seek. The Goal Seek dialog box
appears.
Try it & You will notice that a grade of 90 on the fourth exam produces a final grade of 70.
26
D.A.V GROUP OF SCHOOLS
Solution:
Step 1:Type the above data from A1 to D5
Step 2: Click What-if Analysis Goal Seek tool from Data tab
Step 3: Type D3 in the Set cell box and 70 in the To value box and c3 in the By changing
cell
Step 4: Click OK - the number of votes is required to get 70% in cell D3 appears in cell C3.
Activity 3.2:
MARK SHEET FOR 2017-18
R. E
N N
O. NAME G LANG MATH SCI SOC TOT AVG
1 ADITI 74 65 66 71 89 365 73
2 AKSHAYA ANAND 78 65 44 67 78 356 66.4
3 ANUSHREE 80 78 67 55 76 369 71.2
4 ARSHANA 49 67 80 86 87 420 73.8
5 ARUTHRA 98 78 87 67 90 393 84
6 DIVYA 65 76 87 76 89 404 78.6
7 KANISHKA 76 78 84 90 76 397 80.8
8 KEERTHANA 78 85 67 78 89 397 79.4
9 KEERTHIGAMBIGAI 89 87 78 87 56 397 79.4
10 KRITI 91 97 96 99 98 481 96.2
Using Goal Seek Set the total of students of Roll no 1 and 2 to 375 by changing the maths
marks.
ROLL NO 1
Step 1: Type the above data/formulae from A1 to I12
Step 2: Click What-if Analysis Goal Seek tool from the Data tab
Step 3: Type H3 in the Set cell box and 375 in the To value box and E3 in the By
changing cell box
Step 4: Click OK - the MATH mark that is required to get a 375 total in cell H3 appears
in cell E3.
NOTE: Similarly repeat the above steps for ROLL NO 2. (Math mark for Roll no 2 is in
cell E4
SCENARIO MANAGER
What-If Analysis in Excel allows you to try out different values (scenarios) for formulas. The
following example helps you master what-if
analysis quickly and easily.
Assume you own a book store and have 100
books in storage. You sell a certain % for the
highest price of 50/- and a certain % for the
lower price of 20/-.
If you sell 60% for the highest price, cell
D10 calculates a total profit of 60 * Rs.50 +
27
D.A.V GROUP OF SCHOOLS
40 * Rs.20 = Rs.3800.
Create Different Scenarios
But what if you sell 70% for the highest price? And
what if you sell 80% for the highest price? Or 90%,
or even 100%? Each different percentage is a
different scenario. You can use the Scenario
Manager to create these scenarios.
Note: You can simply type in a different percentage
into cell C4 to see the corresponding result of a
scenario in cell D10. However, what-if analysis
enables
you to
easily
28
D.A.V GROUP OF SCHOOLS
Activity 3.3
Prepare the statement as below. Use Scenario manager and create changes and also show
the scenario summary .
BUDGET PLAN
RENT 500
FOOD 300
TRANSPORTATION 80
OTHER EXP 100
MONTHLY
INCOME 1500
OTHER INCOME 0
SAVINGS 520
Change Food to 400 , Transportation to 120 , monthly income to 2000 for Scenario named
modify 1 and Change Food to 400 , Transportation to 120 , monthly income to 1500 for
Scenario named modify 2.
Step 1: Type the above data/formulae (Budget Plan) from A1 to B14
Step 2: Click What-if Analysis Scenario Manager tool from the Data tab and Click the
Add button
Step 3: Type the Scenario name as Current Values and type $B$3:$B$9 in the Changing
cells box and click OK button.
Step 4: Check and change the values of the cells (if required) that need to be changed for
the given scenario and click Add button.
Step 5: Repeat the Step 3 and 4 for Scenario called modify 1 and Scenario called modify 2.
Step 6: Click the Summary button - A Scenario Summary sheet is added to the workbook.
Activity 3.4
Change the picture shape and border. Change the
picture border weight to 3pts and dashes too.
Step 1: Select the picture.
Step 2:Click Picture tools tab
29
D.A.V GROUP OF SCHOOLS
Activity 3.6
Insert a picture in excel. Place a textbox and group
them together as below.
Step 1: Click Insert tab.
Step 2: Choose TextBox tool from Text group of
Insert tab
Step 3: Click and drag a rectangle on the
Picture and type tulips in it.
Step 4: Click the border of this Text Box and keeping the Ctrl key pressed, click the picture
(to Select both the Text and the picture simultaneously )
Step 5: Click the Format tabclick Group tool from Arrange group.
30
D.A.V GROUP OF SCHOOLS
EXERCISE
1. The arrangement of arguments in a function
a. Structure b. Grammar c. Syntax
2. A logical function that returns true if any of the conditions are true.
a. AND b. NOT c. OR
3. A ________________________ is an interactive Excel report that summarizes and
analyzes large amounts of data.
4. The _______________________________ an area to position fields by which you
want to filter the PivotTable report.
5. The __________________________ is an area to position fields that contain data that
is summarized in a PivotTable.
6. The __________________________ is the upper portion of the PivotTable Fields
pane containing the column titles from your source data.
7. ____________________________ is a logical function that counts the cells that meet
specific criteria in a specified range.
8. _______________________ is a what-if analysis tool that compares alternatives.
9. ______________ function contains one logic test—it will add values in a specified
range that meet certain conditions or criteria.
10. The __________________ logical function takes only one argument and is used to
test one condition. If the condition is true, the function returns the logical opposite
false. If the condition is false, true is returned.
11.________________is a what-if analysis tool that finds the input needed in one cell to
arrive at the desired result in another cell.
12.Under which tab and in which function group will you find the option to insert a Pivot
Table?
a. Under the Insert tab in the Tables group
b. Under the Formulas tab in the Data Analysis group
c. In the Data group in the Pivot Tables group
d. In the Data group in the Tables group
13.Which of the following is NOT a box in the PivotTable Fields List?
a. Column Labels b. Values c. Report Filter d. Formula
14.What function displays row data in a column or column data in a row?
a. Hyperlink b. Transpose c. Index d. Rows
15.Which of the following tool you will use in Excel to see what must be the value of a
cell to get required result?
a. Formula Auditing b. Research c. Track Change d. Goal Seek
16. To apply Goal Seek command your cell pointer must be in
A) The Changing cell whose value you need to find
B) The Result Cell where formula is entered
C) The cell where your targeted value is entered D) None of above
17.Which of the following is not What IF analysis tool in Excel?
a. Goal Seek b. Scenarios c. Macros d. None of above
Teacher’s Signature
31
D.A.V GROUP OF SCHOOLS
CHAPTER 5
Protecting Worksheet
Essential learning skills:
# Protecting The Worksheet
# Protecting a workbook from being opened and modified
# More Activities
Use Cell Protection to Prevent Editing an Area of the Spreadsheet:
If you share a workbook with other users, it’s important to prevent accidental edits. There are
multiple ways you can protect a sheet, but if you just want to protect a group of cells, here is
how you do it. First, you need to turn on Protect Sheet. Click the Review Tab, then
click Protect Sheet. Choose the type of modifications you want to prevent other users from
making. Enter your password, click OK then click OK to confirm.
Protect a WorkSheet:
Excel 2007 includes a Protect Workbook command that prevents others from making
changes to the layout of the worksheets in a workbook. You can assign a password when you
protect a workbook so that only those who know the password can unprotect the workbook
and make changes to the structure and layout of the worksheets.
Activity 4.1
a) Open the file created in activity 14. Protect the worksheet by giving a password. Close
the file. Open the file again and make
changes
1. Click the Microsoft Office Button , and then click Save As.
2. Click Tools, and then click General Options.
3. Do one or both of the following:
32
D.A.V GROUP OF SCHOOLS
a. If you want reviewers to enter a password before they can view the workbook, type a
password in the Password to open box.
b. If you want reviewers to enter a password before they can save changes to the
workbook, type a password in the Password to modify box.
Unprotecting a Workbook:
a. Click the Unprotect Workbook command button in the Changes group on the Review tab.
b. If you assigned a password when protecting the workbook, type the password in the
Password text box and click OK.
More Activities
a) Prepare the consolidated mark statement of students (minimum 100 students) with
columns as below
SNO NAME DEPT SEC TERM1 TERM2 AVG RESULT RANK
Result is displayed as PASS if marks scored in Term1 and Term2 is above 50%. Else
Result is displayed as FAIL.
Calculate Rank for students whose result is PASS
b) Copy the worksheet data of first 10 students to Sheet2 and prepare a chart to show their
performance.
33
D.A.V GROUP OF SCHOOLS
c) Copy the worksheet data of first 20 students to Sheet 3 and sort them in ascending order of
Rank
d) Copy the worksheet data of last 30 students to Sheet4 and display the number of students
with PASS result. Also display the Pass Percentage.
e) For the students in Sheet4 use Conditional formatting and change font color for different
Departments as below
ME – Red , EE – Blue , CE - Green , CHE – Yellow
f) Add Comments to at least 5 cells in Sheet2
g) Copy the contents of Sheet3 to Sheet 5 and perform GoalSeek analysis.
h) Copy the last 10 contents of Sheet 4 to Sheet 6 and perform scenario analysis for at least
2 situations with minimum 5 changes.
g) Protect the worksheet by giving it a password.
EXERCISE
1. In order for the Lock or Unlock Cells function to work, which option should be
enabled?
a) The Protect Workbook function needs to be enabled.
b. No functions need to be enabled other than the lock or unlock cells options.
c. The worksheet must be saved before the cells will become locked or unlocked.
d. The Protect Worksheet function needs to be enabled.
2. What is the only way of removing password encryption on an Excel file?
a. Resaving the workbook as a new document or making a copy of it.
b. Opening the workbook as Read Only and resaving it without a password.
c. Opening the workbook in Protected View and resaving it without a password.
d. Entering the password to open the Workbook and then deleting the password
created in the Permissions – Encrypt with Password box.
3. To protect a worksheet, you can choose Protection and the Protect Sheet from the
….. Tab
a. Home b. Data c. Review d. Tools
Teacher’s Signature
34