021
021
Naming a range of cells → select the cells → right click and select ‘Name a
Range’. → type the name in the option box. Ensure the range is correctly
selected.
Conditional Formatting.
To colour a range of cells that contain specific values
→, under the Styles section in the Home tab →, click
on the drop-down menu under Conditional Formatting.
Choose New Rule → Format only cells that contain. →
add the rule according to the instructions on the paper
from the Format tab (ego: less than 100, format:
green). You can add more than one rule to a range of
cells by repeating the same steps for the new rule.
When you are using another file as a source file (eg for a
LOOKUP function), make sure it is open until the end, or
else the spreadsheet will no longer be able to access that
data.
COUNTIF - Counts the number of cells in a range =COUNTIF(A2:A4,">4") Checks that cells have a value greater than
that satisfy the given criteria 4=COUNTIF(A2:A4, A1) Checks that the cells are equal to the value in cell A1
Average IF – it searches for criteria and makes an =AVERAGEIF($D$4:$D$64,G3,$E$4:$E$64)$D$4:$D$64 is the range, G3 is the
average of the range according to the criteria criteria, $E$4:$E$64 is the average range
This data type allows letters, special characters like spaces and
Text/Alphanumeric NG321AE
punctuation and numbers to be entered into a field
This allows single characters to be entered into a field.
Character Characters can be any alphanumeric value and can be lowercase A
or uppercase
This data type can be used in fields where there are only two
possible options. Data is stored as a 1 or 0 in the database but
Boolean True/False
can be used to represent True/False or Yes/No or
checked/unchecked
Integer Only whole numbers can be entered 15
Currency Used for monetary values £4.75
Double Numbers including decimal numbers can be stored 30.99
Only dates or times can be entered into a field with this type. A
Date/Time 180855
format for the date/time can also be assigned to the field
Validation
To do this… Validation Rule
Accept letters (a-z)only Not like “*[!a-z]*”
Accept digits (0-9)only Not like “*[!0-9]*”
Accept exactly 4 characters Like “????”
Accept exactly 4 digits Between 1000 and 9999 (for number
field)
•Radio Buttons - Used when there is a list of two or more options that are mutually
exclusive
•Check Boxes - Used when the user can select multiple options from a list
•Drop Down Menus - Used when you want to provide many options but conserve space
Using Operators to Perform Searches
AND - Returns true if both conditions are met
OR - Returns true if at least one condition is met
NOT - Returns true if the condition is not met
LIKE - Returns true if the value matches a pattern (used with wildcards)
>, <, =, >=, <=, <> - These are comparison operators. They return true if the comparison
between the values is correct
Sorting Data in Databases
Ascending and Descending Order
Sorting
•Ascending Order should
- Data be done
is sorted frominsmallest
the report
to Design view
largest (e.g., from A to Z, or from 1 to 100,
Oldest
to Newest(date field))
<head>
<meta charset="UTF-8">
<meta name="description" content="Free Web tutorials">
<meta name="keywords" content="HTML, CSS, JavaScript">
<meta name="author" content="John Doe">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
Relative and Absolute File Paths
Relative File Paths
A relative file path specifies the location of a file or directory about the current
location, or the location of the file that references it
For instance, if an HTML file and an image are in the same directory, you can reference
the image in the HTML file using just its name (e.g., image.jpg)
Absolute File Paths
An absolute file path specifies the exact location of a file or directory, regardless of
the current location
It includes the entire path from the root directory to the file or directory in question
For instance, an absolute file path on a Windows system might look like
C:\Users\Username\Documents\image.jpg