Spreadsheets notes
Spreadsheets notes
2. Structure of a Spreadsheet
Cells: Intersection of rows and columns, where data is entered (e.g., A1,
B2).
Formatting
Change font, size, color, and alignment to make the sheet more
presentable.
Apply borders and shading for visual distinction.
Data Validation
Conditional Formatting
Apply rules to format cells based on their values (e.g., highlight cells >50).
1. SUM
Format: =SUM(range)
Adds up all the values in the specified range.
Example: =SUM(A1:A10)
2. AVERAGE
Format: =AVERAGE(range)
Calculates the average (mean) of the numbers in the range.
Example: =AVERAGE(B1:B10)
3. MIN
Format: =MIN(range)
Finds the smallest number in the range.
Example: =MIN(C1:C10)
4. MAX
Format: =MAX(range)
Finds the largest number in the range.
Example: =MAX(D1:D10)
5. PRODUCT
Format: =PRODUCT(range)
Multiplies all the numbers in the range.
Example: =PRODUCT(E1:E10)
Logical Functions
1. IF
Format: =IF(condition, value_if_true, value_if_false)
Returns one value if the condition is TRUE and another if FALSE.
Example: =IF(A1>10, "Yes", "No")
2. AND
Format: =AND(condition1, condition2, ...)
Returns TRUE if all conditions are TRUE.
Example: =AND(A1>5, B1<10)
3. OR
Format: =OR(condition1, condition2, ...)
Returns TRUE if any condition is TRUE.
Example: =OR(A1>5, B1<10)
4. NOT
Format: =NOT(condition)
Reverses the logical value of its argument.
Example: =NOT(A1>10)
Lookup Functions
1. VLOOKUP
Format: =VLOOKUP(lookup_value, table_array, col_index_num,
[range_lookup])
Searches for a value in the first column of a range and returns a value
in the same row from another column.
Example: =VLOOKUP(1001, A2:C10, 2, FALSE)
2. HLOOKUP
Format: =HLOOKUP(lookup_value, table_array, row_index_num,
[range_lookup])
Searches for a value in the first row of a range and returns a value in
the same column from another row.
Example: =HLOOKUP("Product", A1:D5, 3, FALSE)
3. INDEX
Format: =INDEX(array, row_num, [column_num])
Returns the value of a cell in a specified row and column.
Example: =INDEX(A1:C10, 2, 3)
4. MATCH
Format: =MATCH(lookup_value, lookup_array, [match_type])
Returns the relative position of an item in an array.
Example: =MATCH(50, A1:A10, 0)
1. NOW
Format: =NOW()
Returns the current date and time.
Example: =NOW()
2. TODAY
Format: =TODAY()
Returns the current date without the time.
Example: =TODAY()
3. DATE
Format: =DATE(year, month, day)
Returns a date value for the given year, month, and day.
Example: =DATE(2025, 1, 26)
4. DATEDIF
Format: =DATEDIF(start_date, end_date, unit)
Calculates the difference between two dates.
Example: =DATEDIF(A1, B1, "D") (unit can be "D", "M", or "Y").
Cell References:
Named Ranges:
6. Advanced Features
Convert data into visual representations (e.g., pie charts, line graphs).
Pivot Tables:
Summarize, analyze, and reorganize data dynamically.
Data Import/Export
Protecting Cells
Steps:
Password Protection
8. Printing Spreadsheets
Scaling Options:
Fit all content on one page using scaling options under Page Layout.
Testing:
Verify calculations by entering test data.
Evaluation: