Excel Skills For Business: Intermediate II: Week 1: Data Validation

You might also like

Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 18

Excel Skills for Busine

Week 1: Data
Practice Cha

Week 1: Learning Objectives


Set and configure data validation
Work with formulas in data validation
Create and use drop-down lists
Create and apply custom conditional formats

Scenario
You have been asked to organise the faculty students-database file.

* Go to the Students-database sheet, create Named Ranges for the columns and convert it to a table.
* Create lookup lists for Campus, Nationality, Course and Total Grade in the Lists sheet, assign Named Ranges to the Nationality, Course and Total Grade lists. Convert the Na
* Find directions in the Yellow Cells
* Find the cells that already contain Data Validation. If there are any unwanted Data validated cell/cells, remove the data validation from the cell

You will need to complete the following tasks on the Students-database and Lists sheets.

1 Validate the Student number column to avoid duplicated student numbers. Create a Stop Error Alert with the message: Duplicate data is not valid.
2 Make a drop-down list for Campus, using Cell address and lookup lists
3 Make a drop-down list for Nationality column, using Named Ranges and lookup lists
4 Make a drop-down list for Course, using Named Ranges and lookup lists
5 Validate Gender column by typing the list of options, add an Information Error Alert to let the user enter any other Gender
6 Validate Attendance Percentage (Current Semester) column to have a Decimal number between 0 to 1
7 Validate the birth year, making sure not to have the students less than 16 years old (Hint: look at the functions YEAR and TODAY). Use a Warning Error Alert
8 Validate to have the first Enrolment Date not to be more than Today. Using Conditional Formatting highlight the first year students
9 Validate the Number of Units Enrolled (Current Semester) to have between numbers zero and 5
10 Validate the Number of Units Failed (Current Semester) to have less than or equal to the number of units enrolled
11 Validate the Total Number of units enrolled to have less than 30 units
12 Validate the Average Total Marks out of 100 to be between 0 and 100
13 Make a drop-down list for the Total Grade column, using Named Ranges and lookup lists. Add an Input Message: Less than 50: Fail, 50 to 65: Pass, 65 to 75: Credi
14 Copy the Campus drop-down list to cell S9
15 In cell T9 create a function to count the number of students for the selected campus
16 Copy the Course drop-down list to cell S16
17 In cell T16 create a function to count the number of students for the selected course
18 Copy the Course drop-down list to cell T24
19 Copy the Total Grade drop-down list to cell U24
20 In cell S25, combine text with the values in cells T24 and U24 to change the text for different courses and grades
For example, if T24 contains Business and U24 contains Credit, S25 should read Number of Business students with a Credit grade
21 In cell U25, calculate the value of the above statement
22 In cell S35, create Drop-down list for Course
23 In cell S36, create Drop-down list for Campus
24 In cell S34, combine text with the values in cells S35 and S36 to change the text for different courses and campuses
For example, if S35 contains Marketing and S36 contains Brisbane, S34 should read Total payments of Brisbane/Marketing students
25 In cell T34, calculate the value of the above statement
26 Check for any invalid data and fix them
27 Go to Lists sheet and add Iranian Nationality and check if it is added to Drop-down list
28 Add a new student to the end of the table with student number of S-140712 to check the cell validation
29 Add a new student to the end of the table with the details M-140713, Benita Soheil, Melbourne, Iranian, Accounting, Female to check if all validations extended t
30 Using Advanced Conditional Formatting and cell S9, highlight the entire row of the students at the same Campus

Well done! Don't forget to save your workbook.


Excel Skills for Business: Intermediate II
Week 1: Data Validation
Practice Challenge

o the Nationality, Course and Total Grade lists. Convert the Nationality lookup list to a table.

t with the message: Duplicate data is not valid.


e functions YEAR and TODAY). Use a Warning Error Alert

put Message: Less than 50: Fail, 50 to 65: Pass, 65 to 75: Credit, 75 to 85: Distinction, More than 85: High Distinction

nian, Accounting, Female to check if all validations extended to the new row
1- Validate to avoid 2- Make a 3- Make a drop- 4- Make a drop-
duplicated student drop-down list, down list, using down list, using
number using Cell Name Ranges and Name Ranges and
address and lookup lists lookup lists
lookup lists

Student number Student name Campus Nationality Course

M-144816 ashkan Mastaneh Melbourne Australian Marketing


M-144389 atash Maziar Melbourne Australian Accounting
S-149681 atoosa Mehrab Sydney Filipino Accounting
B-143324 aurang Mehrak Brisbane Filipino Business
S-144863 ava Mehran Sydney Filipino Accounting
S-141072 avizeh Mehrang Sydney Filipino Business
M-141894 avizheh Mehrangiz Melbourne Brazilian Marketing
M-141382 azad Mehrdad Melbourne Brazilian Marketing
S-147608 azadeh Mehrnaz Sydney Brazilian Business
B-149151 azar Mehrnoosh Brisbane Pakistani Business
S-142285 azarafrooz Mehry Sydney Pakistani Business
S-144322 azarakhsh Mehrzad Sydney Hungarian Accounting
M-147902 azargoon Meshia Melbourne Indian Business
M-144635 azarnoush Milad Melbourne Indian Marketing
S-142162 azin Mina Sydney Indian Accounting
B-144539 azita Minoo Brisbane Nepalese Accounting
S-147696 Babak Mitra Sydney Nepalese Business
S-147593 Bahamin Mona Sydney THAI Accounting
M-143393 Bahar Morvareed Melbourne THAI Business
M-142012 Baharak Mozhdeh Melbourne THAI Marketing
S-146127 Bahareh Mozhgan Sydney South Korean Marketing
B-143675 Bahman Naghmeh Brisbane Vietnamese Business
S-148337 Bahram Nahal Sydney Vietnamese Business
S-145114 Bamdad Naheed Sydney Chinese Business
M-143885 Bameen Namdar Melbourne Australian Accounting
M-141336 Bamshad Namvar Melbourne Australian Business

S-148985 Banafsheh Nargess Sydney Filipino Marketing


B-141263 Banou Nariman Brisbane Filipino Accounting
S-146002 Barbad Nasreen Sydney Filipino Accounting
S-146178 Bardia Nastaran Sydney Filipino Business
M-143159 Barsam Nava Melbourne Russian Accounting
M-140128 Barzin Navid Melbourne Brazilian Business
S-144525 Beeta Nazafarin Sydney Brazilian Marketing
B-141348 Beh ayin Nazanin Brisbane Pakistani Marketing
S-148402 Behbaha Nazgol Sydney Pakistani Business
S-147137 Behbod Nazhin Sydney Hungarian Business
M-143627 Behmanesh Nazilla Melbourne Indian Business
M-143852 Behnam Nazy Melbourne Indian Accounting
S-141667 Behnaz Neda Sydney Indian Business
B-140641 Behnoud Negah Brisbane Nepalese Marketing
S-144533 Behrad Negar Sydney Nepalese Accounting
S-141507 Behrang Negeen Sydney THAI Accounting
M-141122 Behrokh Niki Melbourne THAI Business
M-145702 Behrouz Nikoo Melbourne THAI Accounting
S-144945 Behzad Niloufar Sydney South Korean Business
B-148001 Bizhan Nima Brisbane Vietnamese Marketing
S-149277 Bolour Niyoosha Sydney Vietnamese Marketing
S-148373 Borna Nouri Sydney Chinese Business
M-146239 Borzoo Noushafarin Melbourne Australian Business
M-142442 Boubak Noushin Melbourne Australian Business
S-146928 Bousseh Noushzad Sydney Filipino Accounting
B-140415 Bozorgmehr Omid Brisbane Filipino Business
S-140712 Chalipa Oranous Sydney Filipino Marketing
5- Validate Gender 6- Validate to have a decimal number between 0 7- Validate to have the
column by typing the list to 1 birth year not to have the
of options, add an students less than 16
Information Error Alert to years old. Use a Warning
let the user enter any Error Alert
other Gender

Gender Attendance Percentage (Current Semester) Birth Year

Male 0.72 1992


Female 0.65 1995
Female 1 1991
Male 0.29 1988
Male 0.23 1989
Female 0.57 1997
Female 0.6 1997
Female 0.24 1995
Female 0.72 1997
Female 0.27 1984
Male 0.31 1987
Male 0.61 1992
Male 0.24 1995
Male 0.47 1996
Female 0.31 2000
Male 0.25 1992
Male 0.41 1976
Male 0.41 1993
Male 0.96 1991
Male 0.47 1997
Male 1 1994
Male 0.37 1990
Female 0.87 1987
Male 0.22 1994
Male 0.31 1985
Male 0.72 1991

Male 0.18 1991


Male 0.69 1982
Female 0.13 1988
Male 0.25 1993
Male 0.76 1988
Female 0.32 1983
Male 0.64 1995
Male 0.21 1991
Male 0.78 1991
Male 0.04 1988
Male 0.8 1986
Female 0.09 1986
Male 0.61 1990
Male 0.76 1990
Male 0.95 1989
Male 0.17 1991
Male 0.8 1997
Male 0.43 1989
Male 0.79 1988
Male 0.23 1995
Male 0.16 1993
Male 1 1993
Male 0.76 1989
Male 0.67 1986
Male 0.4 1997
Female 0.84 1991
Female 0.11 1996
8- Validate to have the first 9- Validate to have between zero and 5
Enrolment Date not to be more
than Today- Using Conditional
Formatting highlight the first
year students

First Enrolment Date Number of Units enrolled (Current Semester)

2/1/2016 1
2/1/2013 5
7/1/2016 2
2/1/2013 1
2/1/2014 4
7/1/2014 3
7/1/2014 1
2/1/2016 3
7/1/2014 2
2/1/2013 1
2/1/2017 3
2/1/2016 4
7/1/2012 3
2/1/2012 3
2/1/2012 1
7/1/2013 2
7/1/2015 3
2/1/2016 2
7/1/2014 3
2/1/2017 4
2/1/2013 3
2/1/2012 4
7/1/2013 2
2/1/2012 4
2/1/2012 0
7/1/2017 1

7/1/2012 5
2/1/2013 4
7/1/2016 2
2/1/2017 3
2/1/2016 4
2/1/2016 1
7/1/2016 2
2/1/2015 5
2/1/2015 4
7/1/2013 2
7/1/2012 2
2/1/2015 3
7/1/2015 3
2/1/2017 4
2/1/2012 4
2/1/2014 3
7/1/2017 5
2/1/2016 3
2/1/2012 2
7/1/2014 0
7/1/2013 5
2/1/2016 3
7/1/2017 2
2/1/2015 3
2/1/2014 5
2/1/2015 1
7/1/2013 4
10- Validate to have less than or equal to the 11- Validate to have less than 30
number of units enrolled units

Number of units Failed (Current Semester) Total Number of units enrolled Total payments

0 4 $ 10,040
1 17 $ 42,670
0 5 $ 12,550
0 13 $ 32,630
1 13 $ 32,630
0 12 $ 30,120
0 10 $ 25,100
0 6 $ 15,060
0 11 $ 27,610
0 13 $ 32,630
1 3 $ 7,530
1 7 $ 17,570
0 18 $ 45,180
1 18 $ 45,180
0 16 $ 40,160
0 14 $ 35,140
0 9 $ 22,590
0 5 $ 12,550
1 12 $ 30,120
1 4 $ 10,040
0 15 $ 37,650
0 19 $ 47,690
0 14 $ 35,140
1 19 $ 47,690
0 15 $ 37,650
0 1 $ 2,510

2 20 $ 50,200
0 16 $ 40,160
0 5 $ 12,550
0 3 $ 7,530
0 7 $ 17,570
0 4 $ 10,040
1 5 $ 12,550
1 11 $ 27,610
0 10 $ 25,100
0 14 $ 35,140
1 17 $ 42,670
0 9 $ 22,590
0 9 $ 22,590
0 4 $ 10,040
1 19 $ 47,690
0 12 $ 30,120
2 5 $ 12,550
0 6 $ 15,060
1 17 $ 42,670
0 9 $ 22,590
1 17 $ 42,670
0 6 $ 15,060
0 2 $ 5,020
0 9 $ 22,590
0 14 $ 35,140
0 7 $ 17,570
1 16 $ 40,160
12- Validate to have average 13- Make a drop-down list, using
between zero and 100 Named Ranges and lookup lists. Add
an Input Message: Less than 50:
Fail, 50 to 65: Pass, 65 to 75: Credit,
75 to 85: Distinction, More than 85:
High Distinction

15- Count the number of students for the selected


campus
Average Total Marks out of 100 Total Grade

84 Distinction Number of students by Campus


69 Credit
50 Pass 14- Drop-down list for Campus
81 Distinction
89 High Distinction 17- Count the number of students for the selected
76 Distinction course
75 Distinction
50 Pass Number of students by Course
63 Pass
84 Distinction
39 Fail 16- Drop-down list for Course
79 Distinction
50 Pass 20- Combine Text with cells T24
and U24
60 Pass
73 Credit
78 Distinction
69 Credit
52 Pass Number of Accounting students with a Fail grade
84 Distinction
41 Fail
75 Distinction
71 Credit
62 Pass 24- Combine Text with cell S35
and S36 address to change the
64 Pass text for different courses and
71 Credit Campuses
46 Fail
Total Payments of
53 Pass Sydney/Accounting students
73 Credit
52 Pass
86 High Distinction
85 High Distinction
87 High Distinction
49 Fail
77 Distinction
91 High Distinction
92 High Distinction
57 Pass
81 Distinction
69 Credit
92 High Distinction
51 Pass
87 High Distinction
35 Fail
52 Pass
55 Pass
88 High Distinction
51 Pass
74 Credit
67 Credit
60 Pass
75 Distinction
73 Credit
77 Distinction
ber of students for the selected
campus

dents by Campus

14- Drop-down list for Campus

ber of students for the selected


course

dents by Course

18- Copy the 19- Copy the Total


Course drop-down Grade drop-down

ting students with a Fail grade


21- Calculate

25- Calculate

22- Drop-down list for Course


23- Drop-down list for Campus
Lookup Lists
Campus L_Nationality L_Course
Melbourne Australian Marketing
Sydney Filipino Accounting
Brisbane Brazilian Business
Pakistani
Hungarian
Indian
Nepalese
THAI
South Korean
Vietnamese
Chinese
Russian
L_Total Grade

Distinction
Credit
Pass
High Distinction
Fail

You might also like