F.Y.B.Com.
ADVANCED EXCEL SEM II 2024-25
Practical No.5 IF CONDITION
1. Following worksheet shows marks secured by students in two tests.
Prepare columns called Final Marks and Final Result in E and F respectively.
Final marks are maximum of two tests.
Final Result is PASS if final marks are greater than 50 otherwise print FAIL.
A B C D E F
1 Roll No Name T1 T2
2 31 Mina 88 39
3 32 Nina 62 63
4 33 Pinky 63 65
5 34 Rica 40 45
6 35 Deepak 90 95
Also perform the following:
i. Arrange the data in T1 marks wise, within that T2 marks wise.
ii. Add the columns to find Total, Avgmarks and Remark.
iii. Find the Total and average marks of both the subjects in respective columns.
iv. Remark: If average marks >75 then “O GRADE” Else “A GRADE”
2. Prepare a worksheet containing Name, Basic Pay, Dept of 10 employees in A1: C11.
Enter your own data.
Explain the steps to compute DA, CA, SPA and GROSS in columns D, E, F, G respectively
as follows:
DA = 78% of basic if Basic > 14000
= 60% otherwise
CA = ₹1500 or 12% of basic, whichever is less
SPA = ₹2000 for ‘Accounts’ department
= ₹2500 for other departments
Gross = Basic + DA + CA + SPA
3. Prepare a worksheet containing Name and Marks in 6 subjects (M1, M2,.…M6)
in cells A1: G11 of 10 students.
Find total marks (if marks in the subject >=35), Average marks (if marks in the subject
>=35) and grade in columns H, I, J respectively. Grade is assigned as follows:
Average Marks Grade
Greater than 80 A
Between 70 and 80 B
Between 55 and 70 C
Otherwise D
**********************