Problem Set 10 : My CCA�SST Data Validation
Computer Applications�Juying Secondary School�Ministry of Education, Singapore�All Rights Reserved ®
+
Problem Set 10
Data Validation�10.2 Form Creation
+
Lesson Objectives |PS10.2 SST
At the end of this lesson, you should be able to :
+
Problem Set 10 : My CCA�Pg 148 – Pg 154
Worksheet 10.2 : �Part A: SST – Designing a CCA Selection Form
Filename: “CCA Selection Form.xls”
Part B: SST – Gym Membership Form
Filename: “gym membership.xls”
+
Problem Set 10 : My CCA�Data Validation Sequence
1. �Select Cell or Range of cells for Data Validation
2. �Select Data
3. �Select Data Validation
4. �Select Data Validation on Dropdown
+
PS10.2 : CCA Selection Form�Pg 148 – Pg 154 | CCA Selection Form.xls
No | Requirement | Question | Data Validation Type |
a | Give instructions to enter the name in full. | | |
b | Give instruction to enter data with the required length. | What is the length of the NRIC? | Length |
c | Give instruction to select the gender as �M or F. | What if someone chooses anything else? | Type |
d | Give instruction to enter the date in the dd/mm//yy format | Data validation:�type | Type |
+
PS10.2 : CCA Selection Form�Pg 148 – Pg 154 | CCA Selection Form.xls
a. Write an IF statement to check that …
No | Requirement | Formula |
1. | Male students are not allowed to join Girl Guides. | =IF (cellAddress = “F”, “Girl Guides”, “Scouts”) |
2. | Female students are not allowed to join Scouts. | =IF (cellAddress = “F”, “Girl Guides”, “Scouts”) |
IDEA!
If(cellAddress = “F”) ➔“Girl Guides”,
Else ➔ “Scouts”
…
= IF (B9 = “F”,”Girl Guides”,”Scouts”)
+
PS10.2 : CCA Selection Form�Pg 148 – Pg 154 | CCA Selection Form.xls
a. Write a formula to calculate age
Concept�We use YEAR (Today) – YEAR (Birthday)
…
YEAR (date)
➔ returns the year of the date
+
Problem Set 10 : My CCA�Functions & Data Validation {Length}
+
Problem Set 10 : My CCA�Protecting Cells
Protect the content cells in E9, E10 and C23 �so that the user cannot edit them.
+
Problem Set 10.2 : Part B |Pg 150�Protecting Cells
Protect the content cells in E9, E10 and C23 �so that the users cannot edit them.�➔ the video has also been archived on �theCPAchannel SST playlist.
Check out this video tutorial on cell protection.�https://www.youtube.com/watch?v=dtoyhXBikWo
+
Submission
Filename:
CCA_Selection_Class_IndexNo_ Name.xls
CCA_Selection_08_ YourName.xls
+
Conclusion
At the end of this lesson, you should be able to :
+
Problem Set 10
Session Objectives
+
Session 1 {Lesson Objectives}
+
Session 2 {Lesson Objectives}
b. Data Extraction
+
Session 3 {Lesson Objectives}
+
Problem Set 10
Concept Recap
+
What is a Data Validation?
Data validation is an automatic process
+
Why is the data invalid?�How do we set the data validation?
Why Data Validation?
To help users to enter the right data type into the required cells.
Which software allow Data Validation be used?
Data validation is used in MS-Excel.
It can also be used in Google Spreadsheets.
+
Type of Data Validation | LRT
No | Data Validation Types | Explaination | Example |
1 | Length | Checks the length of the data | Is the password long enough? |
2 | Range | Checks the upper limit & lower limit of data | More than 5 characters less than 8 characters |
3 | Type | Check the type of data | Numbers, decimals, text |
+
Functions | String & Date functions
…
No | Function | Example | Result |
1 | LEN(CellAddress) | = LEN(Juying) | 6 |
2 | MID(Cell_Address, 3,4) | = MID (ABCDEFGH,3,4) | CDEF |
3 | LEFT(Cell_Address,2) | = LEFT (Ali Baba,2) | Al |
4 | =TODAY () | =TODAY () | 21-Jan-2015 |
+
Problem Set 10.1 : My CCA�Pg 143
= MID(T0134728F , 5, 4)
= LEFT(M201348 , 1)
Complete the true and false in Q3
+
A New Format
Font: Rockwell
Rockwell is cool as cool.
+