7/31/2019 Excel Basic EX
1/24
Microsoft ExcelExercise Enter the Employee details as shown belowand save the file as Payroll and close the file.
7/31/2019 Excel Basic EX
2/24
Microsoft Excel
Do following -
1. Give an appropriate heading to the worksheet.2. Give Comic Sans MS Font in Red Colour toColumn heading with font size 14.
3. Edit Data already enteredChange theNames and Basic of Davis, Naresh and Suresh.
4. Insert 2 rows and delete 2 rows5. Delete data from 1 Cell6.Select a cell and type the data/number (the cell
contents will be replaced with what you haveentered).
7. You can also try undo and redo.
See/note the changes that have taken place.
Note : Do not save the worksheet.
7/31/2019 Excel Basic EX
3/24
Microsoft Excel
Open the worksheet created earlier payroll.Do following:1. Add column and heading as HRA2. Calculate 40% of the Basic as HRA ( Create formula
for one employee and copy it for others)3. Total both Basic and HRA in their respective columns4. Sort the column of Grade in ascending order5. Rename the Sheet1 as Pay_HRA.6. Save the workbook as Payroll and close.
7/31/2019 Excel Basic EX
4/24
Microsoft Excel
Open the worksheet created earlier payroll.
Do following:1. Copy and paste the sheet in the sheet2 and rename
it as PAY-PF.2. Add one more column at the end and name it as PF.2. Calculate 10% of the Basic as PF ( Create formula
for one employee and copy it for others)3. Total both Basic+ HRA+PF by creating another
column at the end and name it as Total in theirrespective columns
4. Total up the columns also.5. Save the workbook as Payroll and close.
7/31/2019 Excel Basic EX
5/24
Microsoft Excel
Open the worksheet created earlier payroll.
Do following:1. Copy and paste the sheet in the sheet3 and rename
it as PAY-NET.2. Add one more column at the end and name it as I-Tax.3. Calculate 15% of the Total as I-Tax ( Create formula
for one employee and copy it for others)4. Create one more column at the end and name it Net Sala
Align the cell by using wrap text.5. Calculate Net Salary by deducting I-tax from Total.
6. Total up the columns again.7. Save the workbook as Payroll and close.
7/31/2019 Excel Basic EX
6/24
f
7/31/2019 Excel Basic EX
7/24
Microsoft Excel
Open the worksheet created earlier payroll.
Do following:1.Insert a sheet and copy the contents of the this sheet in
the just inserted sheet.2. Insert column between EMPNO AND NAME by the
name of DEPT.3. Enter Dept. code as MKT, PRD, STR etc. to various
employees.4. Sort it Dept. Code wise.5. Create sub-totals of all the columns Dept. Wise.
6. Save the workbook as Payroll and close.
Mi ft E l
7/31/2019 Excel Basic EX
8/24
Microsoft Excel
Open the worksheet created earlier payroll.
Do following:1.Change the alignment of heading EMPNO 45 degree.2. Change the alignment of heading NAME as vertical or
90 degree.3. Insert $ in front of Basic Amount.
4. Insert , in Basic Amount.5. Insert 2 places of decimals in basic Amount.6. Save the workbook as Payroll and close.
Mi ft E l
7/31/2019 Excel Basic EX
9/24
Microsoft Excel
Open the worksheet created earlier payroll.
Do following: How to use SUMIF function1. This function compares the values in the given range
with the value of Criteria or Condition.2. If the values found in this range correspond to the
criterion , the function searches for correspondingvalues in a second range (Sum_range) and adds them up
3. Click on D23.4. Type the function =SUMIF(C3:C22,A1,D3:D22)5. Save the workbook and close.
Mi ft E l
7/31/2019 Excel Basic EX
10/24
Microsoft Excel
Open the worksheet created earlier payroll.
Do following: How to use Count function1. This function returns the number of numerical values
contained in the specified arguments list or range.2. Text entries and empty cells are excluded only the
numeric and formula cells are considered.3. Type the function =Count(a3: d22)4. See the result .5. Save the workbook and close.
Mi ft E l
7/31/2019 Excel Basic EX
11/24
Microsoft Excel
Open the worksheet created earlier payroll.
Do following: How to use MAX function- MAXreturns the largest value in the argument list/range.
1. The format of the function is MAX(range of cells) of
MAX(number1, number2.)3. Type the function =MAX(a3: d22)4. See the result .5. Save the workbook and close.
Mi ft E l
7/31/2019 Excel Basic EX
12/24
Microsoft Excel
Open the worksheet created earlier payroll.
Do following: How to use AVERAGE function-AVERAGE returns the average value in the
argument list/ range.1. The format of the function is AVERAGE(range of cells) of
MAX(number1, number2.)3. Type the function =AVERAGE(d3: d22)4. See the result .5. Save the workbook and close.
Mi ft E l
7/31/2019 Excel Basic EX
13/24
Microsoft Excel
Open the worksheet created earlier payroll.
Do following: How to use LOGICAL function IF -1.The If statement contains only one condition so that
either true action or false action happens.2. For example employees having salary more than or
equal to 6000 will be paid conveyance @ 25% of thebasic otherwise 10 % of the basic is to be paid.
3.The format of the function is =IF (D3>=6000,D3*.25,D3*.14. See the result .5. Save the workbook and close.
7/31/2019 Excel Basic EX
14/24
Microsoft Excel
Open the worksheet created earlier payroll.Do following: Try a nested If statement for the following
1. If the Grade of the employee is A1, HRA is 20% of the Basic
2. If the Grade of the employee is A2, HRA is 30% of the Basic3. If the Grade of the employee is A3, HRA is 40% of the Basic
4. If the Grade of the employee is A4, HRA is 50% of the Basic5. See the result .
6. Save the workbook and close.
Mi ft E l
7/31/2019 Excel Basic EX
15/24
Microsoft Excel
The formula will be
= IF(c3=A1, D3*.2,IF(c3 =A2, D3*.3,IF(c3 =A3, D3*.4,
IF(c3 =A4, D3*.5))))
Mi ft E l
7/31/2019 Excel Basic EX
16/24
Microsoft Excel
Exercise:Create a Worksheet to enter the Roll No., Name, and Marksof 5 students in columns A, B& C. Marks to be entered areout of 200.
Calculate percentage marks (in column D) for each studentand also display grades (in column E) for them.
rades are awarded according to the Percentage Values given belowPercentage in cell D2>= 90% Grade is APercentage in cell D2>=75% and < 90% Grade is BPercentage in cell D2>= 60% and = 50% and < 60% Grade is D
Percentage in cell D2< 50% Grade is E
Mi ft E l
7/31/2019 Excel Basic EX
17/24
Microsoft Excel
Conditional Formatting
1.Open the Worksheet2. Select the range for which you want to have
conditional formatting3. Enter the figure (range from and to within
which you want to have the formatting)4. Do the required formatting you want and click
on ok.5. See the result, the formatting will be done
as per the format given by you
Mi ft E l
7/31/2019 Excel Basic EX
18/24
Microsoft Excel
Conditional Average:
Let's say you have the list of items with pricesshown in the first two columns of this table. Youneed to be able to get the average price of all itemsof a color.
In the example, we'll get the average of the "blue"items.
Mi ft E l
7/31/2019 Excel Basic EX
19/24
Microsoft ExcelExercise:Create a worksheet to calculate the Electricity Bill charges
Meter No PreviousReading
CurrentReading
UnitsConsumed
Amount Tax NetPayable
M004 7820 9820
M005 1210 1250
M006 3500 3650
M007 6145 6395
M008 5222 6222
Mi ft E l
7/31/2019 Excel Basic EX
20/24
Microsoft Excel
The amount to be calculated according to the slab given belo
For 0 -100 units Rate is Rs. 1.50 per unitFor 101-200 units Rate is Rs. 2.50 per unitFor 201-400 units Rate is Rs. 5 per unitFor 401-600 units Rate is Rs. 7.50 per unit
For 601-1000 units Rate is Rs. 10 per unitFor 1001 units and above Rate is Rs. 15 per unit
Tax is charged at standard rate of 10%.
Calculate the Net Payable Amount
Mi ft E l
7/31/2019 Excel Basic EX
21/24
Microsoft Excel
Creating Charts
Microsoft E cel
7/31/2019 Excel Basic EX
22/24
Microsoft Excel
You can create custom chart types by
changing any of the standard or custom built-in chart types.
Products SalesA 100
B 200
C 300
D 400
Microsoft Excel
7/31/2019 Excel Basic EX
23/24
Microsoft Excel
Click the chart you want to save as a custom chart
type.On the Chart menu, click Chart Type.Click OK.A Chart will be created as per the selection.
You can further beautify, format it to make it morePresentable.
N.B.: You can have any type of chart that is available
within Excel.
Microsoft Excel
7/31/2019 Excel Basic EX
24/24
Microsoft Excel
Thank You