MICROSOFT OFFICE PRACTICE
QUESTION
Create the following Table in Excel;
RollNo Name
Note: Pass Marks Should be 50 and total, result should be computed using formula. Those
who failed won’t have division and compute the division of rest using for
(next sheet should contain only Rollno and Division while the first sheet will contain
columns as given above except Division). Also validate marks
than 100 or less than 0. If so persist warning information
Solution:
Well, the question asks us to create two sheets
sheet with RollNo and Division.
Enter the headings as asked in sheet1 and sheet2.
Enter formula to calculate Total (F2) on Sheet1:
= C2 + D2 + E2
Enter Formula to calculate Result (G2) on Sheet1:
= IF (OR(C2<50, D2<50, E2<50), “Fail”, “Pass”)
[ If any of the marks is less than 50, the Result is Fail, otherwise, Pass]
Alternately, you can use any of the following formu
= IF ( AND( C2>=50, D2>=50, E2>=50), “Pass”, “Fail” )
[ If all of the marks is greater than or equal to 50, Result is Pass otherwise, Fail ]
= IF ( MIN (C2:E2)<50, “Fail”, “Pass” )
[ If the minimum marks is less than 50, Result is F
Go to the Sheet 2 and on A2 enter formula
Sheet1. Drag the fill handle down to fill the same formula to all the rows existing in Sheet1.
On B2 of Sheet2 enter formula to calculate Division:
=IF( Sheet1!G2 = “Fail”, “*”, IF ( Sheet1!F2 / 3 >= 75, “First Division”, IF ( Sheet1!F2/3 >= 60, “Second Division”, “Third D
)))
[ If Result cell of Sheet 1 contains Fail, enter *, otherwise, If Total ce
First Division, otherwise, if average is more than or equal to 60, enter Second Division and enter Third Division for the res
To set validation on marks:
Go to the Sheet 1 and select the cells where marks is entered. Go to Data >> Validation.
On Settings tab configure:
Allow – whole number; Data – between; Maximum
To set warning information, configure Error Alert tab as:
Show Error alert after invalid data is entered
Style – Warning
Title – Invalid Data Entered
MICROSOFT OFFICE PRACTICE QUESTIONS
[email protected]
in Excel;
Name Math EnglishScience Total Result Division
Note: Pass Marks Should be 50 and total, result should be computed using formula. Those
who failed won’t have division and compute the division of rest using formula in next sheet
(next sheet should contain only Rollno and Division while the first sheet will contain
columns as given above except Division). Also validate marks – should not contain more
than 100 or less than 0. If so persist warning information.
Well, the question asks us to create two sheets – the first with RollNo, Name, Math, English, Science, Total and Result and the second
as asked in sheet1 and sheet2.
(F2) on Sheet1:
Enter Formula to calculate Result (G2) on Sheet1:
= IF (OR(C2<50, D2<50, E2<50), “Fail”, “Pass”)
[ If any of the marks is less than 50, the Result is Fail, otherwise, Pass]
Alternately, you can use any of the following formula to calculate Result.
= IF ( AND( C2>=50, D2>=50, E2>=50), “Pass”, “Fail” )
[ If all of the marks is greater than or equal to 50, Result is Pass otherwise, Fail ]
[ If the minimum marks is less than 50, Result is Fail, otherwise, Pass ]
=Sheet1!A2 and hit Enter. This will produce on A2 of Sheet2 whatever it was on A2 of
Sheet1. Drag the fill handle down to fill the same formula to all the rows existing in Sheet1.
Sheet2 enter formula to calculate Division:
=IF( Sheet1!G2 = “Fail”, “*”, IF ( Sheet1!F2 / 3 >= 75, “First Division”, IF ( Sheet1!F2/3 >= 60, “Second Division”, “Third D
[ If Result cell of Sheet 1 contains Fail, enter *, otherwise, If Total cell of Sheet1 / 3 (average or percent) is more than or equal to 75, enter
First Division, otherwise, if average is more than or equal to 60, enter Second Division and enter Third Division for the res
ect the cells where marks is entered. Go to Data >> Validation.
Maximum – 100; Minimum – 0
To set warning information, configure Error Alert tab as:
is entered – checked
Error message
this cell must be between 0 to 100
Click OK to apply and close the
dialog box.
29
Note: Pass Marks Should be 50 and total, result should be computed using formula. Those
mula in next sheet
(next sheet should contain only Rollno and Division while the first sheet will contain
should not contain more
the first with RollNo, Name, Math, English, Science, Total and Result and the second
=Sheet1!A2 and hit Enter. This will produce on A2 of Sheet2 whatever it was on A2 of
=IF( Sheet1!G2 = “Fail”, “*”, IF ( Sheet1!F2 / 3 >= 75, “First Division”, IF ( Sheet1!F2/3 >= 60, “Second Division”, “Third Division”
ll of Sheet1 / 3 (average or percent) is more than or equal to 75, enter
First Division, otherwise, if average is more than or equal to 60, enter Second Division and enter Third Division for the rest. ]
Error message – The value for
this cell must be between 0 to 100
Click OK to apply and close the