Practical Advanced Spreadsheets Tools
Practical Advanced Spreadsheets Tools
Aditi Kaythwal
CSC/23/40
1.Test Functions
Test functions check the type of data in a cell and return TRUE/FALSE.
1. ISNUMBER()
2. ISTEXT()
3. ISBLANK()
4. ISERROR()
● UPPER()
This function converts all letters in the text to uppercase.
Syntax: =UPPER(text)
Example: =UPPER(A2) would convert the name in cell A2 to
uppercase.
● LOWER()
Converts all letters in the text to lowercase.
Syntax: =LOWER(text)
Example: =LOWER(A2) would convert the name in cell A2 to
lowercase.
● PROPER()
Capitalizes the first letter of each word in the text.
Syntax: =PROPER(text)
Example: =PROPER(A2) would capitalize the first letter of each
word in the name.
● LEFT()
Extracts a specified number of characters from the beginning
(left side) of a string.
Syntax: =LEFT(text, num_chars)
Example: =LEFT(A2, 3) would return the first 3 characters from
the name in cell A2.
● RIGHT()
Extracts a specified number of characters from the end (right
side) of a string.
Syntax: =RIGHT(text, num_chars)
Example: =RIGHT(A2, 3) would return the last 3 characters from
the name in cell A2.
● MID()
Extracts characters from the middle of a string, based on a
starting point and the number of characters to extract.
Syntax: =MID(text, start_num, num_chars)
Example: =MID(A2, 2, 3) would return 3 characters starting from
the 2nd character of the name in A2.
● LEN()
Returns the number of characters in a text string.
Syntax: =LEN(text)
Example: =LEN(A2) would return the number of characters in the
name in cell A2.
● CONCAT()
Joins two or more text strings into one string.
Syntax: =CONCAT(text1, text2, ...)
Example: =CONCAT(A2, B2) would join the name in cell A2 with
the text in cell B2.
3.DATE AND TIME FUNCTION
1. TODAY() Function
● How to Use:
2. NOW() Function
● How to Use:
3. YEAR() Function
● How to Use:
4. MONTH() Function
● How to Use:
5. DAY() Function
6. DATEDIF() Function
● How to Use:
Formula:
INDEX(array, row_num, [column_num])
Example:
To retrieve the "Salary" of the employee named "Rahul" (Row 1), the
formula would be:
=INDEX(D2:D6, 1)
This will return 25000, as Rahul is in the first row of the range.
Explanation:
2. MATCH Function
The MATCH function searches for a value in a range and returns the
relative position of that value.
Formula:
MATCH(lookup_value, lookup_array, [match_type])
Example:
To find the position of "Rahul" in the Name column, the formula
would be:
=MATCH("Rahul", B2:B6, 0)
This will return 1, as Rahul is in the first position.
Explanation:
Formula:
OFFSET(reference, rows, columns, [height], [width])
Example:
To find the salary of "Priya," you can use:
=OFFSET(D2, 1, 0)
This will return NIL (since the second row of the Salary column is
"NIL").
Explanation:
The EXACT function compares two text strings and returns TRUE if
they are exactly the same, and FALSE if they are not.
Formula:
EXACT(text1, text2)
Example:
To compare if the name "Rahul" in cell B2 is the same as "Rahul" in
cell B3, the formula would be:
=EXACT(B2, B3)
This will return TRUE if both cells contain the same text.
Explanation:
● text1 and text2 refer to the two text strings you want to
compare.
5. ISERROR Function
Formula:
ISERROR(value)
Example:
If the formula to find a student's percentage results in an error
due to zero marks, the formula would be:
=ISERROR(E2)
If there is an error in cell E2 (e.g., "Invalid Marks"), this function
will return TRUE.
Explanation:
Formula:
IFERROR(value, value_if_error)
Example:
To handle errors in percentage calculation:
=IFERROR(E2, "Invalid Marks")
If the formula in cell E2 results in an error (like dividing by zero), it
will return "Invalid Marks."
Explanation:
Formula:
IF(logical_test, value_if_true, value_if_false)
Example:
To calculate percentage and handle zero marks:
=IF(B2=0, "Invalid Marks", B2/C2)
This formula checks if the marks are zero and returns "Invalid
Marks." Otherwise, it calculates the percentage.
Explanation:
Explanation:
● Dynamic Charting allows for creating charts that update
automatically as inputs change.
FORMULA AUDITING