You are on page 1of 19

INSTRUCTIONS:

You are given 2 hours to complete the examination.

Download the FINALS file from the Moodle. If you are done, upload your file on the Moodle using the FINAL ANSWER link
There are 6 worksheets to work on this file. Please check and follow all instructions.
The file should be saved as [YourName-ID-Set C].xlsm.

GRADES (out of 60) 0 /60

I. Text Manipulation (10 marks) 0 /10


II. Conditional Formatting (5 marks) 0 /5
III. Pivot Table (5 marks) 0 /5
IV. If Function (15 marks) 0 /10
V. Macro 1 (15 marks) 0 /15
VI. Macro 2 (15 marks) 0 /15
ng the FINAL ANSWER link.
10 marks

Using Text functions, create an e-mail address and password in the blank cells. Example is shown in row 6.
Note: *e-mail addresses are all small letters
*for the password, the number is the number of characters of the name of the countries

Name of Countries e-mail address


Sultanate of Oman sultanateofoman@country.gov.om
Republic of the Philippines
Kingdom of Saudi Arabia
United Arab Emirates
United Kingdom
United States of America
Score: /10

word in the blank cells. Example is shown in row 6.

ber is the number of characters of the name of the countries

Password
tan&&&17
5 marks Score:

Highlight with yellow and change the font color of the text numbers to green if they are divisible by 10.
Hint: Use the MOD( ) function.

5 10 15 20 25 30 35
1 2 3 4 5 6 7
3 6 9 12 15 18 21
16 17 18 19 20 21 22
4 8 12 16 20 24 28
10 20 30 40 50 60 70
2 4 6 8 10 12 14
6 12 18 24 30 36 42
/5

divisible by 10.

40
8
24
23
32
80
16
48
5 marks Score:

Use the table below to create a Pivot Table that will show the detailed services done by each stylist.
Show Stylist name, Service, and count of the Services only.

Service Data The data has month of May for the Services done by 7 Stylists.

Number of rows: 226

Summary May 2013


Date Service Stylist name Payment Price
5/1/2013 Shaving Jane cash $ 7.00
5/1/2013 Shaving Martha credit card $ 7.00
5/1/2013 Shaving Lucy cash $ 7.00
5/1/2013 Washing and combing Alex cash $ 60.00
5/1/2013 Dyeing Alex credit card $ 33.00
5/1/2013 All service Rachel cash $ 67.00
5/1/2013 Meeting hairstyles Lucy cash $ 33.00
5/1/2013 Shaving Ashley cash $ 7.00
5/2/2013 Shaving Ashley credit card $ 7.00
5/2/2013 Shaving Sandy credit card $ 17.00
5/2/2013 Kids Sandy cash $ 3.00
5/2/2013 Shaving Ashley cash $ 7.00
5/2/2013 Shaving Lucy cash $ 7.00
5/2/2013 Shaving Jane credit card $ 7.00
5/2/2013 Washing and combing Sandy cash $ 60.00
5/2/2013 Dyeing Rachel cash $ 33.00
5/2/2013 All service Alex credit card $ 67.00
5/2/2013 Meeting hairstyles Jane cash $ 33.00
5/2/2013 Washing and combing Martha cash $ 23.00
5/2/2013 Shaving Sandy cash $ 7.00
5/2/2013 Shaving Jane cash $ 17.00
5/2/2013 Kids Ashley cash $ 3.00
5/3/2013 Kids Sandy credit card $ 3.00
5/3/2013 Kids Lucy cash $ 3.00
5/3/2013 Washing and combing Martha cash $ 60.00
5/3/2013 Dyeing Lucy credit card $ 33.00
5/3/2013 All service Rachel cash $ 67.00
5/3/2013 Meeting hairstyles Martha cash $ 33.00
5/3/2013 Washing and combing Jane credit card $ 23.00
5/3/2013 Shaving Rachel cash $ 7.00
5/4/2013 Shaving Martha cash $ 17.00
5/4/2013 Kids Alex cash $ 3.00
5/4/2013 Kids Sandy credit card $ 3.00
5/4/2013 Meeting hairstyles Sandy credit card $ 40.00
5/4/2013 Kids Jane credit card $ 3.00
5/4/2013 Kids Martha cash $ 3.00
5/4/2013 Kids Rachel cash $ 3.00
5/5/2013 Meeting hairstyles Sandy cash $ 33.00
5/5/2013 Meeting hairstyles Alex credit card $ 33.00
5/5/2013 Shaving Martha cash $ 7.00
5/5/2013 Shaving Martha cash $ 17.00
5/5/2013 Washing and combing Rachel cash $ 33.00
5/5/2013 Washing and combing Rachel credit card $ 40.00
5/5/2013 Meeting hairstyles Rachel cash $ 40.00
5/5/2013 Washing and combing Lucy cash $ 60.00
5/5/2013 Dyeing Sandy cash $ 33.00
5/5/2013 All service Sandy cash $ 67.00
5/5/2013 Meeting hairstyles Martha cash $ 33.00
5/5/2013 Shaving Ashley cash $ 7.00
5/5/2013 Shaving Rachel cash $ 7.00
5/6/2013 Meeting hairstyles Rachel cash $ 33.00
5/6/2013 Shaving Sandy credit card $ 7.00
5/6/2013 Washing and combing Lucy cash $ 40.00
5/6/2013 Meeting hairstyles Alex cash $ 40.00
5/6/2013 Washing and combing Rachel cash $ 60.00
5/6/2013 Dyeing Ashley cash $ 33.00
5/6/2013 All service Rachel cash $ 67.00
5/6/2013 Meeting hairstyles Sandy cash $ 33.00
5/6/2013 Washing and combing Alex cash $ 23.00
5/7/2013 Meeting hairstyles Sandy credit card $ 33.00
5/7/2013 Shaving Rachel cash $ 17.00
5/7/2013 Washing and combing Sandy cash $ 33.00
5/7/2013 Washing and combing Martha cash $ 40.00
5/7/2013 Shaving Rachel cash $ 7.00
5/7/2013 Shaving Ashley cash $ 7.00
5/8/2013 Dyeing Lucy cash $ 33.00
5/8/2013 All service Rachel credit card $ 67.00
5/8/2013 Shaving Lucy credit card $ 7.00
5/8/2013 Shaving Rachel credit card $ 7.00
5/8/2013 Meeting hairstyles Ashley cash $ 33.00
5/8/2013 Shaving Alex cash $ 17.00
5/8/2013 Washing and combing Rachel cash $ 33.00
5/8/2013 Washing and combing Rachel cash $ 40.00
5/8/2013 Shaving Rachel cash $ 7.00
5/8/2013 Meeting hairstyles Alex credit card $ 33.00
5/8/2013 Shaving Sandy cash $ 7.00
5/8/2013 Meeting hairstyles Jane cash $ 33.00
5/8/2013 Shaving Ashley credit card $ 7.00
5/9/2013 Shaving Ashley credit card $ 7.00
5/9/2013 Shaving Rachel cash $ 7.00
5/9/2013 Shaving Rachel credit card $ 17.00
5/9/2013 Washing and combing Jane credit card $ 33.00
5/9/2013 Washing and combing Lucy cash $ 40.00
5/9/2013 Shaving Rachel cash $ 7.00
5/9/2013 Shaving Ashley cash $ 7.00
5/9/2013 Dyeing Rachel cash $ 33.00
5/9/2013 Shaving Martha credit card $ 7.00
5/9/2013 Dyeing Lucy cash $ 33.00
5/10/2013 Washing and combing Jane cash $ 23.00
5/10/2013 Shaving Rachel cash $ 7.00
5/10/2013 Shaving Rachel credit card $ 17.00
5/10/2013 Washing and combing Alex cash $ 33.00
5/10/2013 Meeting hairstyles Rachel credit card $ 33.00
5/10/2013 Meeting hairstyles Ashley cash $ 40.00
5/10/2013 Washing and combing Alex cash $ 60.00
5/10/2013 Dyeing Alex cash $ 33.00
5/10/2013 All service Ashley cash $ 67.00
5/10/2013 Meeting hairstyles Rachel credit card $ 33.00
5/10/2013 Washing and combing Jane credit card $ 23.00
5/11/2013 Shaving Sandy credit card $ 7.00
5/11/2013 Shaving Alex credit card $ 17.00
5/11/2013 Washing and combing Sandy credit card $ 33.00
5/11/2013 Shaving Martha cash $ 7.00
5/11/2013 Dyeing Ashley cash $ 33.00
5/11/2013 Dyeing Martha cash $ 33.00
5/11/2013 Dyeing Rachel cash $ 33.00
5/11/2013 Shaving Alex cash $ 7.00
5/11/2013 Meeting hairstyles Lucy cash $ 33.00
5/11/2013 Washing and combing Alex credit card $ 23.00
5/12/2013 Shaving Ashley credit card $ 7.00
5/12/2013 Shaving Ashley cash $ 17.00
5/12/2013 Dyeing Ashley cash $ 33.00
5/12/2013 Shaving Jane cash $ 7.00
5/12/2013 Shaving Ashley credit card $ 7.00
5/12/2013 Washing and combing Lucy cash $ 60.00
5/12/2013 Dyeing Jane credit card $ 33.00
5/12/2013 Shaving Jane credit card $ 7.00
5/13/2013 Shaving Lucy cash $ 7.00
5/13/2013 Dyeing Jane credit card $ 33.00
5/13/2013 Shaving Rachel cash $ 7.00
5/13/2013 Shaving Rachel cash $ 7.00
5/13/2013 Washing and combing Alex credit card $ 33.00
5/13/2013 Dyeing Martha cash $ 33.00
5/13/2013 Dyeing Rachel cash $ 33.00
5/13/2013 Dyeing Sandy cash $ 33.00
5/13/2013 Dyeing Lucy cash $ 33.00
5/13/2013 All service Sandy cash $ 67.00
5/13/2013 Dyeing Sandy cash $ 33.00
5/13/2013 All service Rachel credit card $ 67.00
5/13/2013 Shaving Alex credit card $ 7.00
5/13/2013 Shaving Martha cash $ 17.00
5/14/2013 Washing and combing Jane cash $ 33.00
5/14/2013 Dyeing Martha credit card $ 33.00
5/14/2013 Meeting hairstyles Martha credit card $ 40.00
5/14/2013 All service Lucy cash $ 67.00
5/14/2013 All service Lucy cash $ 67.00
5/14/2013 Dyeing Alex cash $ 33.00
5/14/2013 Dyeing Ashley cash $ 33.00
5/14/2013 All service Rachel cash $ 67.00
5/14/2013 Dyeing Martha cash $ 33.00
5/15/2013 Shaving Ashley credit card $ 17.00
5/15/2013 Washing and combing Alex credit card $ 33.00
5/15/2013 Washing and combing Rachel cash $ 40.00
5/15/2013 Meeting hairstyles Jane credit card $ 40.00
5/15/2013 Dyeing Alex cash $ 33.00
5/15/2013 Dyeing Rachel cash $ 33.00
5/15/2013 All service Martha cash $ 67.00
5/15/2013 All service Jane credit card $ 67.00
5/15/2013 Washing and combing Sandy credit card $ 23.00
5/16/2013 Shaving Sandy cash $ 7.00
5/16/2013 Shaving Ashley cash $ 17.00
5/16/2013 Dyeing Sandy credit card $ 33.00
5/16/2013 Dyeing Martha credit card $ 33.00
5/16/2013 Meeting hairstyles Ashley cash $ 40.00
5/16/2013 Washing and combing Sandy cash $ 60.00
5/16/2013 Dyeing Jane cash $ 33.00
5/16/2013 All service Ashley cash $ 67.00
5/16/2013 Meeting hairstyles Alex credit card $ 33.00
5/16/2013 Washing and combing Sandy cash $ 23.00
5/16/2013 Shaving Rachel cash $ 7.00
5/16/2013 Shaving Lucy credit card $ 17.00
5/16/2013 Washing and combing Rachel cash $ 33.00
5/17/2013 Dyeing Ashley cash $ 33.00
5/17/2013 Dyeing Sandy cash $ 33.00
5/17/2013 Washing and combing Rachel credit card $ 60.00
5/17/2013 Dyeing Sandy credit card $ 33.00
5/17/2013 All service Martha credit card $ 67.00
5/17/2013 Meeting hairstyles Rachel credit card $ 33.00
5/17/2013 Dyeing Rachel cash $ 33.00
5/17/2013 Shaving Sandy cash $ 7.00
5/18/2013 Shaving Lucy cash $ 17.00
5/18/2013 Shaving Ashley cash $ 7.00
5/18/2013 Shaving Jane credit card $ 17.00
5/18/2013 Dyeing Martha cash $ 33.00
5/18/2013 Shaving Sandy cash $ 7.00
5/18/2013 Shaving Lucy credit card $ 7.00
5/18/2013 Dyeing Martha credit card $ 33.00
5/19/2013 Shaving Sandy credit card $ 7.00
5/20/2013 Shaving Alex credit card $ 7.00
5/20/2013 Dyeing Sandy credit card $ 33.00
5/20/2013 Shaving Rachel credit card $ 7.00
5/21/2013 Shaving Ashley credit card $ 7.00
5/21/2013 Shaving Rachel cash $ 7.00
5/21/2013 Dyeing Rachel cash $ 33.00
5/22/2013 Meeting hairstyles Martha cash $ 40.00
5/23/2013 Dyeing Martha credit card $ 33.00
5/23/2013 Meeting hairstyles Alex cash $ 40.00
5/24/2013 Meeting hairstyles Rachel credit card $ 33.00
5/24/2013 Meeting hairstyles Rachel cash $ 33.00
5/24/2013 Meeting hairstyles Martha cash $ 33.00
5/24/2013 Washing and combing Lucy credit card $ 60.00
5/24/2013 Dyeing Jane cash $ 33.00
5/24/2013 Washing and combing Martha credit card $ 60.00
5/25/2013 Shaving Lucy credit card $ 17.00
5/25/2013 Dyeing Rachel credit card $ 33.00
5/25/2013 Washing and combing Sandy cash $ 60.00
5/25/2013 Washing and combing Lucy cash $ 60.00
5/26/2013 Shaving Rachel cash $ 17.00
5/26/2013 Shaving Martha cash $ 17.00
5/26/2013 Dyeing Sandy credit card $ 33.00
5/27/2013 All service Rachel cash $ 67.00
5/27/2013 Washing and combing Jane credit card $ 60.00
5/27/2013 Washing and combing Rachel cash $ 60.00
5/27/2013 All service Rachel cash $ 67.00
5/28/2013 Dyeing Sandy cash $ 33.00
5/28/2013 Meeting hairstyles Ashley cash $ 33.00
5/28/2013 Dyeing Rachel cash $ 33.00
5/28/2013 Meeting hairstyles Martha cash $ 33.00
5/28/2013 Meeting hairstyles Lucy cash $ 33.00
5/28/2013 Dyeing Jane cash $ 33.00
5/28/2013 Washing and combing Ashley cash $ 40.00
5/29/2013 Dyeing Jane cash $ 33.00
5/29/2013 Dyeing Lucy cash $ 33.00
5/30/2013 Washing and combing Lucy cash $ 40.00
5/30/2013 Dyeing Sandy credit card $ 33.00
5/30/2013 Dyeing Rachel credit card $ 33.00
5/30/2013 Shaving Jane credit card $ 17.00
5/30/2013 Dyeing Rachel cash $ 33.00
5/31/2013 Washing and combing Jane cash $ 40.00
5/31/2013 Washing and combing Lucy credit card $ 40.00
5/31/2013 Dyeing Martha cash $ 33.00
5/31/2013 Washing and combing Martha cash $ 40.00
5/31/2013 Shaving Sandy cash $ 17.00
5/31/2013 Shaving Rachel credit card $ 17.00
5/31/2013 Washing and combing Ashley cash $ 40.00
5/31/2013 Washing and combing Rachel credit card $ 40.00
/5

ne by 7 Stylists.
10 marks

Use the if function to determine how much will be the driver's speeding fine depending on how fast they were

Name Speed (kph) Description Speeding Fine Table


Manny 110 Exceeding
Ruz 100 From (kph)
Ed 120 15
Dorothy 90 35
Praveen 65 50
Nitti 109 80
Abdullah 144
Mohammed 142
Ahmed 142
Shikha 155
Monther 165
Mazin 180
Score: /10

epending on how fast they were driving along the Mazoon Road (speed limit is 100 kph).

Speeding Fine Table


xceeding
To (kph) Amount (RO)
less than 35 10
less than 50 35
less than 80 50
and above 100
15 marks

Write a macro program and design a button that will display the player's entitled bonus. The user will have to inp
name, number of target goals and goals scored. Once the button is pressed, the bonus will be shown on D12. T
listed below. The example is on rows 10 and 11.

Criteria:
If a players Goals Scored meets or exceeds his Target Goals he receives a bonus equal to £1000 for each goal he has scor

Player Target Goals Goals Scored Result


Orven 15 13 No Bonus
Lorenzo 15 20 OMR 20,000
Score: /15

he user will have to input the player's


ll be shown on D12. The criteria is

or each goal he has scored. Otherwise, he will get nothing.


15 marks
Write a macro program and design a button that will determine the result of a particular student in his field trip cla
students name, Att or N on Field Trips if attended or not on row 13. Once the button is pressed, the result will b
the table A5:B9. The example is on row 12.

Criteria
Pass with
Attended all Field Trips distinction
Attended 2 trips Pass
Attended only 1 Incomplete
Attended no trip at all Fail

Student Name Jebel Shams Musandam Wadi Auf Result


Ahmed Al Aamri Att N Att Pass
Score: /15
tudent in his field trip class. The user will have to input the
ressed, the result will be shown on E13. The criteria is listed on

You might also like