5MORE PRACTICE QUESTIONS
1. Create a database for a hospital. The fields are PATIENT, DEPT, WARD, ADMISSION_DATE,
DISCHARGE_DATE, NO_OF_DAYS, ROOMRENT, FEES, AMOUNT.
NO_OF_DAYS= (DISCHARGE_DATE - ADMISSION_DATE) + 1
ROOMRENT is based on the type of ward. (“special”=250, “general”= 180, “VIP”=1000)
AMOUNT= ROOMRENT + FEES
Sort the database in ascending order of DEPARTMENT and print
Using Auto filter, display and print only the records of general ward
Produce a report showing only the records of patients whose name begins with S, Ward
is Special and Department is ICU. Print
Below are records in the database.
Let WARD be a drop down menu. Take a screenshot evidence of the drop down menu
and print
PATIENT DEPT WARD ADMISSION_DATE DISCHARGE_DATE DAYS ROOMRENT FEES AMOUNT
Sonya ICU Special 12th March 2005 20th March 7800
Jenkins 2005
Balogun Accident VIP 15th Feb. 2004 25th March. 7615
Kutere 2004
Salem ICU Special 10th March 2008 10th May 2008 1398
Komodor 7
Carlos Physiotherap General 18th June 2007 20th June 2007 5600
Roberto y
Kalu Research VIP 20th Jan 2011 20th Jan 2012 5400
Nnamdi 0
Shola Maternity General 25th October 2009 25th December 1800
Tamilore 2009 0
Sterap ICU Special 30th March 2010 10th May 2010 1640
Ajibolade 0
Musa ICU Special 20th May 2006 20th July 2006 8700
Lambo
Chibundu X-ray VIP 21st May 2012 11th Dec 2012 2430
Pamela 0
Shaneil Store Special 21st Nov 2006 1st Jan 2007 9640
Ross
Simbi ICU Special 14th Jan 2012 24th June 2012 3200
Kaduna 0
Sarpa ICU Special 15th May 2012 15th June 2012 2414
Sunami 0
Somto ICU Special 18th June 2011 30th June 2011 5740
Adeolu
2. Create a worksheet of Salary for Ajayi and Sons Supermarket. Follow the pattern below.
ITEM CODE UNITS PRICE SALES COMMISSION REMARK
100 1000 5.5
110 1200 6.75
120 1300 2
130 800 4
140 1200 5
150 1800 0.5
160 145 2
170 1900 3.5
180 1550 2.25
190 2000 2
200 2220 4
TOTAL SALES
HIGHEST SALES
LOWEST SALES
AVERAGE SALES
Sales = units*price
Calculate total sales and attach appropriate label
Calculate the highest, lowest, average sale value
Calculate commission on sales
Commission is 0% if sales is less than 1000
Commission is 2% if sales is from 1000 to 5000
Any sales above 5000 attracts a commission of 5%
REMARK is POOR if sales is less than 1000
REMARK is GOOD if sales is from 1000 to 4550
REMARK is EXCELLENT for sales above 4550
3.
Reproduce the above worksheet
Format all sales as currency values with the same currency symbol
Calculate the sales for each personnel in column J
In row 25, put a formula to find the number of sales for each product that is above the average
calculated in row 24
Calculate the total sales for each product in row 21
And the highest and lowest sales in row 22 and 23
Print the worksheet showing values
Print the worksheet showing formula
Create a vertical bar chart to compare the total sales for each personnel. Print the chart with
your name on it. Let the chart title be SALES BY PERSONS
4.
Create the worksheet above to look this way exactly
Use a formula in cell C3 to lookup the Unit price of Highlighters.
Replicate this formula in cells C4 to C14
Use a formula in cell D3 to lookup the commission for highlighters and replicate it into cell D4 to
D14.
TOTAL expenditure for Highlighters is the product of units ordered and unit price added to the
product of commission, units ordered and current price.
Note that Commission is a percentage. For instance, 2 in cell J19 is 2% or 0.02
Use appropriate formula in cells B16 to B23.
Popular products is ” how many products has more than 5 units ordered?”
Total Expenditure is the SUM of all totals
Highest Purchase is the highest Total
Lowest purchase is the lowest total
Print the worksheet showing the values
Print the worksheet showing the formulas
Create a vertical bar chart to compare the products and their units ordered.
5.
Use a formula to calculate the total Kilometers travelled.
Create a formula to calculate the Amount Due to each sales man on the basis that each sales
man is given 2000 for the first 300 km and 1800 for every subsequent kilometer travelled.
Create a vertical bar chart to compare the Amount Due to each sales man. The chart title should
be Sales men wages. Display the value for each bar on it. The name of each sales man should be
in the category axis. There should be no legend.
Print the worksheet showing the values, then the formulas and also, print the chart.