Uploaded by shikha gupta

0 Practice-Exercises

advertisement
Practice Exercises-1
1
1.
Individual income tax is charged at a rate of
25% on the difference between gross income
and the statutory tax allowance.
• How can a worksheet be prepared that will
compute the tax due for any entered levels of gross
income and tax allowance?
2
2. Identifying Syntax and Logic Errors
Syntax Correct
Logic Correct
Logic incorrect
3
Syntax Incorrect
2.1 Identify the exact nature of the error
To make the value in A1 (100) increase by 20%
of its value
=A1*0.2
0.2*A1
A1+0.2*A1
– What would be the correct formula?
4
2.2 Identify the exact nature of the error
To sum all the values in A1:A4
=SUM(A1:A3)
SUM(A1:A4)
=SUM(A1:A6)
A1+A2+A3+A4
– What would be the correct formula?
5
2.3 Identify the exact nature of the error
To write a formula in B1 that can be copied
down B20 and will multiply each of the values in
A1:A20 by whatever value is contained in the
C1 cell
=A1*C1
=A1*$C1
=A1+C$1
– What would be the correct formula?
6
2.4 Identify the exact nature of the error
To write a formula in B1 that can be copied
down B20 and will calculate the running total of
whatever values are contained in A1:A20
=SUM(A1:A20)
=SUM(A1:A$20)
=SUM(A$1:A20)
=SAM(A$1:A1)
– What would be the correct formula?
7
3.
In the embedded Excel file, the values in
column A are 200 numbers produced by a
roulette wheel with numbers zero to thirty-six
• Determine the number of spins in which the
selected number was more than 18
• Calculate the percentage of all numbers selected
that were greater than 18
• How many numbers were odd
8
4. Sort, Filter, Sum and Subtotal
In the embedded Excel file, the values contain
financial data for a list of hypothetical shares
• Sort the data in descending order of Share price,
Dividend and then Capital gain
• Filter the list to have shares with a Capital gain
– more than 10%
– more than 10% but less than 13%
– More than 10% AND a Dividend payment > than 0.3
• Obtain the total share price and the total dividend
payment of those shares that had more than 10%
capital gain
9
5. Sort
In the embedded Excel file,
• Sort the list of products in ascending order of sales
in Region 3. Separate any tied product ranks by
performing a secondary sort in terms of sales in
Region 4, also in ascending order. Separate any
product sales ranks that are still tied by using a
descending tertiary sort on region 5
• Sort the regions in ascending order from left to right
in terms of their sales of Product 5
10
6.1 Filter
In the embedded Excel file, produce the
following selective lists, remembering to restore
the complete list between each interrogation
•
•
•
•
SALARY greater than 25000
SALARY greater than 25000 but less than 40000
TAKEHOME less than 10000
FEMALES with TAKEHOME between 10000 and
25000 inclusive
• SINGLE FEMALES with TAKEHOME between
10000 and 25000 inclusive
• SINGLE MALE with TAKEHOME more than 27000
11
6.2 Filter + Formulas
In the embedded Excel file, create formulas in H1:K2
to compute the totals and the averages of the
SALARY, TAX, SUPERANN and TAKEHOME fields.
These formulas should adjust automatically to
accommodate any filtering that is done. Compute
•
•
•
•
The total and the average TAKEHOME of all FEMALES
The total and the average SALARY of all MARRIED MALES
The total and the average TAX of all SINGLE FEMALES
The total and the average SUPERANN of all MARRIED
MALES with a SALARY in excess of 20000
• The total and the average TAX of all MARRIED FEMALES
with TAKEHOME between 10000 and 30000 inclusive
12
Thanks…
13
Download