0% found this document useful (0 votes)
1 views

Excel Practical

The document provides practical exercises for Excel, including creating worksheets for student marks, generating charts, calculating statistical measures, applying conditional formatting, creating pivot tables, and using VLOOKUP. It outlines step-by-step instructions for each task, such as calculating averages, results, and grades for students, as well as generating departmental subtotals and employee payroll calculations. The exercises aim to enhance proficiency in Excel functionalities and data analysis.

Uploaded by

h13343035
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1 views

Excel Practical

The document provides practical exercises for Excel, including creating worksheets for student marks, generating charts, calculating statistical measures, applying conditional formatting, creating pivot tables, and using VLOOKUP. It outlines step-by-step instructions for each task, such as calculating averages, results, and grades for students, as well as generating departmental subtotals and employee payroll calculations. The exercises aim to enhance proficiency in Excel functionalities and data analysis.

Uploaded by

h13343035
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 16

EXCEL PRACTICAL

Que 1)Create a worksheet contains Roll Number , Marks in 2 subjects for 50


students in a class.
Calculate Result and Grade using the following:
A student is declared as PASS if he gets 40 or more in both the subjects ,
Otherwise FAIL.
All FAILED students will be given Grade IV
For PASSED students Grade will be obtained as follows :
AVERAGE GRADE
>=60 I
>=50 II
>=40 III
Answer: Enter headings and data as shown above
To calculate AVERAGE In cell D2 enter the formula = AVERAGE (B3:C3) or = (B3
+ C3)/2 and press enter key It shows AVERAGE for the first student Drag the
formula up to D51
To find RESULT In cell E2 enter the formula =
IF(AND(B2>=40,C2>=40),”PASS”,”FAIL”) and press enter key It shows Result for
the first student Drag the formula up to E51
To find GRADE In cell E2 enter the formula =
IF(E2=”FAIL”,”IV”,IF(D2>=60,”I”,IF(D2>=50,”II”,”III”))) and press enter key It
shows Grade for the first student Drag the formula up to E51
Q.2 A worksheet contains name and marks in 3 subjects . Calculate Total Marks
A B C D E
NAME Sub1 Sub2 Sub3 Total marks
Yash 45 33 45
Smita 65 44 34
Nikunj 45 56 56
John 67 76 78

a) Construct 3D Pie Chart for Total marks


b) Construct 2D Line Chart for Subject 1 and Subject 3
c) Construct 2D Column Chart for Sub1,Sub2,Sub3

Answers: 3D Pie Chart for Total marks


1. Select entire column of Total Marks ie E1:E11
2. Insert Tab—Chart group – Pie option—3D Pie Chart
3. 3D Pie diagram appears
4. Click at Chart tools – layout– Chart Title – Above the chart It displays a box
above the chart. Click inside the box and type the title as 3D PIE CHART FOR
TOTAL MARKS
5. Click on the Legend area , right Click and Click at select Data
6. Click on Edit at Horizontal Axis Labels
7. Select range as A2:A11 ( Click and drag) and OK
8. Names of students will be displayed in the legend area

2D Line Chart for Subject 1 and Subject 3


1. Select B1:B11 Keep pressing Cntrl Key & Select D1:D11
2. Insert Tab—Chart group – Line option— sub option 2D
3. 2D Line Chart appears
4. Click at Chart tools – layout– Chart Title – Above the chart It displays a box
above the chart. Click inside the box and type the title as LINE CHART FOR
SUBJECT 1 AND 3
5. Under layout menu of Chart tools, select Axis Title - sub option Primary
horizontal axis – and position Below the Axis Axis Title box appears below the
horizontal axis Click inside the box and type the title as Student Names
6. Under layout menu of Chart tools, select Axis Title - sub option Primary
vertical axis – and position Rotated Axis Title box appears at the vertical axis in
rotated position Click inside the box and type the title as Marks
7. Click on labels at Horizontal Axis , Right Click and select Data Labels option
Click on Edit at Horizontal Axis Labels It asks for the range for Horizontal Axis
Labels Select the range as A2:A11 Names of students will be displayed in the
Horizontal Axis area OK
2D Column Chart
1. Select A1 : D11
2. Insert Tab—Chart group – Column option— sub option 2D
3. 2D Column Chart appears
4. Under layout menu of Chart tools, select Chart Title , sub option Above the
chart
5. It displays a box above the chart. Click inside the box and type the title as
COLUMN CHART FOR SUBJECT 1 ,2 AND 3
6. Also specify the axis titles as explained above
7. Also specify the Horizontal axis labels as explained above
3 Calculate the Maximum mark, minimum mark, mean, median, standard
deviation and variance for each subject. Consider data as shown below

Solution:
Steps: 1. Type the labels Maximum, Minimum etc in the required columns as
shown above
2. Type in the required formulae or choose the formulae by going to the menu
InsertFunction and pick from the category as required and fill in each value for
the first subject (Maths)
3. For physics and chemistry just click and drag the formula cells of maths
horizontally to calculate each formula (Max,min etc
Output:-
Que 4)Create a list of product sales andcreate two rules using
conditional formatting . One rule to format values that are greater
than or equal to 2500 in green, and a second rule to format values
between 1500 and 2499 in orange. Assume below data

Solution:

1. Select the range C3:C8.

2. Click Home > Conditional Formatting > Highlight Cells Rules.

3. There is not an option for greater than or equal to, so click More
Rules.

4. Select “greater than or equal to” from the list and enter 2500 for the
value. Click Format and choose the format you want to apply.
The first rule is applied. Two values meet this criteria and are formatted.

You can create and apply as many Conditional Formatting rules to a


range as you need, although you probably do not want more than three
or four.
5. Select range C3:C8, and click Home > Conditional
Formatting > Highlight Cells Rules > Between.

6. Type 1500 in the first box, type 2499 in the second box, and then
select the format you want to apply.

Output:

Both rules are now applied to the range.

Excerise5: create a pivot table for sales data tab.consider following data
Create a Pivot Table
from the Sales Data
tab of the Excel
workbook
Create a Pivot Table
from the Sales Data
tab of the Excel
workbook
1. Organize Your Data:
 Ensure that your data is organized in a tabular format with
column headers.
 Include columns like "Date," "car," "Salesperson," qty," unit
price, total price.
2. Select Your Data:
 Click anywhere in the dataset.
 Alternatively, you can press Ctrl + A to select the entire
dataset manually.
3. Insert Pivot Table:
 Go to the "Insert" tab in the Excel ribbon.
 Click on "PivotTable."
4. Choose Data Range:
 In the "Create PivotTable" dialog box, ensure that the
"Table/Range" field reflects the correct range of your data.
 You can also choose to place the pivot table in a new
worksheet or an existing one.

5. Design Your Pivot Table:


 Drag and drop the fields from your data into the areas below:
 Rows: This is where you put the fields by which you
want to group your data (e.g., Date, Product).
 Columns: Place fields here to create a multi-
dimensional view.
 Values: This is where you put the numeric fields you
want to summarize (e.g., Sales Amount).
6. Customize Your Pivot Table:
 You can customize the values by clicking on the drop-down
next to a field in the Values area.
 Choose the type of summary you want (e.g., sum, average).

7. Format Your Pivot Table:


 Adjust formatting as needed (font size, colors, etc.) to make
the pivot table more readable.
8. Refresh Data (if needed):
 If your source data changes, right-click on the pivot table and
select "Refresh" to update the pivot table

Output:
Que 6 Consider Employee details data with the columns: Emp. ID,
Employee name, Department and Salary. Generate Department wide
sub-totals.using excel
Solution:
To generate department-wise subtotals in Excel, you can use the
"Subtotal" feature. Here's a step-by-step guide:
Assuming your data is organized in columns A to D with headers in the
first row, and your data starts from row 2:

1. Sort the data by Department: Click on the column header


"Department" (column C), go to the "Data" tab, and click on "Sort
A to Z" or "Sort Z to A" depending on your preference.
2. Insert Subtotals:
3.
 Select the range of your data (including headers).
 Go to the "Data" tab.
 Click on "Subtotal" in the "Outline" group.
 In the "Subtotal" dialog box:
 At each change in: choose "Department."
 Use function: select "Sum" for Salary.
 Add subtotal to: select "Salary."
 Click OK.

4.Collapse Subtotals: You will now see subtotals for each


department. You can collapse or expand these subtotals using the
grouping symbols on the left of the sheet.

Output:
QUE 7:consider sales data of salesman with columns: salesman name,
department , month, sales. using vlookup find specific salesman data.
Soluton:
Assuming your data is in columns B to E, and the salesperson's name
you want to look up is in cell B16:

1. Sort your Data: Ensure your data is sorted by the "Salesman


Name" column so that VLOOKUP can work accurately.
2. Use VLOOKUP:
 In an empty cell (let's say C16), you can use the VLOOKUP
function to find specific salesman data.
 The syntax of VLOOKUP is: VLOOKUP(lookup_value,
table_array, col_index_num, [range_lookup])
 For example, if the salesman's name you want to find is in
B16, you can use the following formula in C16:
=VLOOKUP(B16,B5:E13,{2,3,4},FALSE)
 This formula looks for the salesman's name in column B
(lookup_value), searches for a match in the entire data table
B:E(table_array), returns the corresponding value from the
2nd,3rd and 4th column (col_index_num), and exact match is
specified with FALSE.
 Drag this formula down to apply it to other cells if needed.
This formula will return the entire information of the specified
salesman.
After pressing Enter, you’ll get the department, month, and sales value
in a horizontal array at once. In this function, we have defined the
column index of three Columns C, D, and E in an array of {2,3,4}. So,
the function has returned the extracted values from all those three
columns.
Ensure that the salesman's name in the lookup cell (B16 in this
example) exactly matches the names in your data table.
OUTPUT:

Que 8:- Create worksheet with following fields Empno, Ename, Basic Pay(BP),
Travelling Allowance(TA), Dearness Allowance(DA), House Rent
Allowance(HRA), Income Tax(IT), Provident Fund(PF), Net Pay(NP)

Given: DA= 30% of BP, HRA=20% of BP, TA=17.5% of BP, IT=15% of


BP, PF=12.5% of BP
Steps:-

1. Create an Excel Worksheet for an employee pay roll system.

2. Enter the details of Employee as given and calculate the DA, TA, HRA, IT,
PF as a percentage on the basis of Basic Pay.

3. Calculate the Net Pay by using the


formulae Gross Pay=
DA+TA+HRA+BP
Deductions=IT+PF

Net Pay= Gross Pay-Deductions

You might also like