Session 6 - Advanced Formulas and Functions
Session 6 - Advanced Formulas and Functions
Duration: 1 hour
- IF Function:
- Nested IF Functions:
- Example: `=IF(B2 >= 90, "A", IF(B2 >= 80, "B", IF(B2 >= 70, "C", "D")))`
- CONCATENATE/CONCAT Function:
- Create a new worksheet and enter sample data (e.g., student names, scores,
attendance status, dates of birth).
- Use TODAY function to display the current date and calculate ages using
YEAR and DATE functions.
1. IF Function:
- Example:
2. Nested IF Functions:
4. Enter another IF function for the value if false (e.g., `IF(B2 >= 80, "B", IF(B2
>= 70, "C", "D"))`).
- **Example**:
- `=IF(B2 >= 90, "A", IF(B2 >= 80, "B", IF(B2 >= 70, "C", "D")))`
2. Enter the conditions separated by commas (e.g., `B2 >= 50, C2 = "Yes"`).
- Example:
4. CONCATENATE/CONCAT Function:
2. Enter the text strings and cell references separated by commas (e.g., `A2, "
", B2`).
- Example:
2. Enter the text string or cell reference and the number of characters to
extract (e.g., `A2, 3` for LEFT and RIGHT, or `A2, 2, 3` for MID).
- **Example**:
- `=LEFT(A2, 3)`
- `=RIGHT(A2, 3)`
- `=MID(A2, 2, 3)`
2. Enter the text string or cell reference (e.g., `A2` for LEN or `" ", A2` for
FIND).
- Example:
- `=LEN(A2)`
- `=TODAY()`
- `=NOW()`
2. Enter the year, month, and day for DATE or hour, minute, and second for
TIME separated by commas (e.g., `2024, 5, 18` for DATE and `14, 30, 0` for
TIME).
- Example:
- `=DATE(2024, 5, 18)`