Overview
This chapter, Electronic Spreadsheet (Advanced), from Class 9 Information Technology (Code 402) builds on basic spreadsheet skills to teach practical data analysis, visualization and decision‑making techniques. Students will learn advanced formulas and functions (logical, lookup, text, date and statistical), absolute and mixed cell referencing, named ranges, and techniques for cleaning and validating data. The chapter covers tools for sorting, filtering, conditional formatting, charts and basic pivot-style summaries to present and interpret data effectively. It also introduces protection, collaboration features and simple automation concepts to make spreadsheets more robust and reusable. Emphasis is on applying these tools to real‑life tasks—marks analysis, budgeting, inventory and attendance—so learners can create accurate, efficient and user‑friendly worksheets.
Learning Objectives
- Define key spreadsheet terms such as workbook, worksheet, cell, range, formula and function
- Explain the difference between relative, absolute and mixed cell references and apply them in formulas
- Apply arithmetic and basic built‑in functions (SUM, AVERAGE, MIN, MAX, COUNT) to perform calculations
- Use logical and lookup functions (IF, AND, OR, VLOOKUP, HLOOKUP, INDEX/MATCH) to solve data problems
- Create and format complex formulas including nested functions and operator precedence
- Demonstrate conditional formatting to highlight cells based on rules and criteria
- Insert and customize charts (column, bar, line, pie) to present and interpret data graphically
- Sort, filter and apply subtotals to organize and summarize large datasets
Topics in this chapter
25 topics · tap a topic title to jump straight to it.
Overview of Electronic Spreadsheet (Advanced)
Overview of Electronic Spreadsheet (Advanced)
Key Point: =SUM(range) — adds all numbers in range (e.g., =SUM(B2:B20))
What is an advanced electronic spreadsheet? An advanced electronic spreadsheet is a grid-based application (like MS Excel, Google Sheets, LibreOffice Calc) that goes beyond basic data entry and arithmetic. It uses powerful built-in functions, data tools, visualization options, and automation to analyse, validate and present data efficiently.
Key advanced concepts
- Cell referencing & copying: Relative, absolute (using $) and mixed references allow formulas to be copied correctly across rows/columns.
- Named ranges: Assign meaningful names to ranges (e.g., Sales_Q1) to make formulas clearer and easier to maintain.
- Advanced functions: Logical (IF, AND, OR), lookup (VLOOKUP, HLOOKUP, INDEX/MATCH), conditional aggregation (SUMIF, COUNTIF, AVERAGEIF), text (CONCAT, LEFT, RIGHT, TRIM), and date/time functions.
- Data tools: Sorting, filtering, advanced filters, and data validation (drop-down lists, allowed ranges) to keep data consistent.
- Conditional formatting: Visually highlight cells that meet conditions (e.g., low stock, failing marks) using colours, icons or data bars.
- Charts and visualisation: Create column, bar, line, pie, scatter, histogram and combo charts to present trends and comparisons.
- What-if analysis: Use Goal Seek, Scenario Manager or manual scenario comparisons to explore outcomes when inputs change.
- Pivot Tables (overview): Summarise, group and drill down large datasets quickly to get aggregated views (totals, subtotals, percentages).
- Protection & collaboration: Lock cells/sheets, set passwords, track changes and collaborate in cloud environments for multi-user editing.
How these features are used together
- Organise raw data in tables with headers and a named range.
- Validate input with data validation rules to prevent errors.
- Use lookup and aggregation functions to compute results (totals, averages, category sums).
- Apply conditional formatting to draw attention to critical values.
- Create charts to visualise trends and pivot tables to explore aggregated insights.
Practical benefits: faster calculation, fewer errors, clearer reports, easier decision making, and repeatable workflows (templates).
- Monthly household budget: Track income and expenses in categories. Use SUM and SUMIF to total category spending, conditional formatting to flag overspending, and a line chart to show spending trends month-to-month.
- School marksheet and grade report: Store marks per subject, use AVERAGE to compute overall percentage, IF to determine pass/fail (e.g., =IF(B2>=33,"Pass","Fail")), COUNTIF to count number of distinctions, and a bar chart to compare subject-wise class averages.
- Small shop inventory and reorder system: Maintain item, quantity and reorder level. Use conditional formatting to highlight quantities below reorder level, VLOOKUP to fetch supplier details, and a pivot table to summarise sales by product category.
- Attendance tracker: Record daily attendance (P/A). Use COUNTIF to count present days per student, percentage calculations to find attendance rate, and a heatmap (conditional formatting) to visualise absenteeism patterns.
- \[=SUM(range) — adds all numbers in range (e.g., =SUM(B2:B20))\]
- \[=AVERAGE(range) — computes mean (e.g., =AVERAGE(C2:C31))\]
- \[=COUNT(range) / =COUNTA(range) — COUNT counts numbers\]\[COUNTA counts non-empty cells\]
- \[=COUNTIF(range\]\[criteria) — counts cells meeting condition (e.g., =COUNTIF(B2:B30,">=50"))\]
- \[=SUMIF(range\]\[criteria\]\[sum_range) — conditional sum (e.g., =SUMIF(A2:A50,"Electronics",C2:C50))\]
- \[=IF(condition\]\[value_if_true\]\[value_if_false) — conditional logic (e.g., =IF(D2>=40,"Pass","Fail"))\]
Worksheet and Workbook Management
Worksheet and Workbook Management
Key Point: =Sheet2!A1 (reference a single cell in another sheet)
What are a workbook and a worksheet?
A workbook is a single spreadsheet file that can hold one or more worksheets (also called sheets or tabs). Each worksheet is a grid of rows and columns used to store and calculate related data. Think of a workbook as a file folder and each worksheet as a page inside that folder.
Why manage worksheets and workbooks?
Good management makes data organized, easy to navigate, reduces errors and speeds up reporting. Typical tasks: create, rename, reorder, copy, move, hide/unhide, protect, group sheets, link data between sheets, and prepare a workbook for printing or sharing.
Common worksheet & workbook operations (steps are similar in Excel, Google Sheets, LibreOffice):
- Create a new workbook: File > New (creates one or more default sheets).
- Add a worksheet: Click + on the sheet tabs or Insert > Worksheet.
- Rename a sheet: Double-click the tab name or right-click > Rename.
- Reorder sheets: Drag a sheet tab left/right to change its position.
- Copy/Move a sheet: Right-click > Move or Copy; choose location or another workbook.
- Delete a sheet: Right-click > Delete (make a backup first if needed).
- Hide/Unhide sheets: Right-click > Hide / Unhide to declutter or restrict view.
- Protect a sheet/workbook: Use Protect/Protect Workbook to prevent edits or structure changes; set a password where required.
- Group sheets: Select multiple sheet tabs (Shift or Ctrl click) to enter group mode—edits made on one sheet are mirrored to all grouped sheets.
- Freeze panes / Split window: Freeze top rows or first columns so headings stay visible while scrolling; Split lets you view different areas simultaneously.
- Link data between sheets: Reference cells in other sheets to build summaries and consolidated reports.
Linking and consolidating data
Instead of duplicating numbers, reference them. This keeps data consistent: when values change on a source sheet, the linked summary updates automatically.
=Sheet2!A1 (refers to cell A1 on Sheet2) =SUM(Sheet1:Sheet3!B2) (3D reference: sums B2 across Sheet1 to Sheet3)
Useful techniques and best practices
- Use a clear sheet naming convention (e.g., "Jan_2025", "Sales_Q1", "Marks_Term1") so tabs are easy to find.
- Keep a summary sheet at the leftmost tab that consolidates key totals or KPIs from other sheets.
- Protect sheets with formulas or headers to avoid accidental edits; keep an unprotected working copy for changes.
- Group sheets carefully—ungroup immediately after batch editing to avoid unintended changes.
- Use cell and sheet-level comments or a 'Readme' sheet to document workbook structure and data sources.
- Use templates for recurring workbook structures (monthly budget, mark registers, invoices).
- Back up important workbooks and use versioning (save copies with dates in the filename).
- When sharing, remove hidden sheets or protect sensitive sheets; use Export or Save as PDF for fixed reports.
Printing and page setup tips
- Set print areas for each sheet so only needed ranges print.
- Use Print Titles to repeat header rows or columns on every printed page.
- Adjust page breaks and scaling so tables fit on desired number of pages.
Performance & organization
Large workbooks with many sheets and formulas can become slow. To optimize: limit volatile functions, avoid unnecessary formatting, consolidate where possible, and break very large sets into separate workbooks linked via summary files.
Summary
Worksheet and workbook management combines organizational steps (naming, ordering, summarizing) with technical tasks (linking sheets, protecting, grouping) to create reliable, maintainable spreadsheets suitable for sharing, printing and analysis.
- School marks register: Create one worksheet per term (Term1, Term2, Term3). Use a 'Summary' sheet that links each student's total marks using formulas like =SUM(Term1!B2:D2, Term2!B2:D2, Term3!B2:D2) or a 3D SUM if ranges align.
- Monthly expenses workbook: Create 12 sheets (Jan to Dec). On a 'Yearly Summary' sheet use =SUM(Jan:Dec!C10) to get the total of cell C10 (e.g., 'Total Expenses') across every month. Use a bar chart on the summary to compare monthly totals.
- Multi-branch inventory: Have one sheet per store (Store_A, Store_B). On a 'Central' sheet use =SUM(Store_A:Store_C!D5) to total stock of an item across branches. Protect product ID column in each sheet to avoid mismatches.
- \[=Sheet2!A1 (reference a single cell in another sheet)\]
- \[=SUM(Sheet1:Sheet12!B5) (3D reference — sums cell B5 across all sheets from Sheet1 through Sheet12)\]
- \[=SUM(Jan:Dec!C10) (example: sum the same cell across monthly sheets named Jan\]\[Feb ..\]\[Dec)\]
- \[=INDIRECT("'" & A1 & "'!B2") (use text in A1 as a sheet name to create a dynamic reference)\]
- \[=CONCATENATE(A1, " - "\]\[B1) or =A1 & " - " & B1 (helpful when building dynamic sheet names or labels)\]
- \[=VLOOKUP(E2, 'DataSheet'!A:B, 2\]\[FALSE) (lookup across a named sheet\]\[commonly used in workbook summaries)\]
Cell Referencing
Cell Referencing
Key Point: =A2+B2 — simple relative reference adds two cells; changes when copied.
What is a cell reference? A cell reference (or cell address) tells the spreadsheet which cell(s) to use in a formula. It uses the column letter and row number, for example A1 or a range like A1:A5.
Types of cell references
- Relative references (default): change when a formula is copied to another cell. Example:
=A2*B2in C2 becomes=A3*B3when copied to C3. - Absolute references: fixed when copied. Use the dollar sign before column and row. Example:
$A$1always refers to cell A1 no matter where the formula is copied. - Mixed references: part fixed, part relative.
$A1fixes the column A but allows the row to change;A$1fixes row 1 but allows the column to change.
Why it matters: Correct referencing avoids errors and saves time. When you copy formulas (fill down or across), knowing which references should move and which must stay constant is essential.
How to enter: In most spreadsheet programs you type the reference (e.g., =B2+C2) and press Enter. To toggle a reference between relative, absolute and mixed while editing, place the cursor on the cell reference and press F4 (in many spreadsheets).
Copying behavior (quick examples)
- Relative: Cell C2 contains
=A2*B2. Copy to C3 → becomes=A3*B3. - Absolute: Cell C2 contains
=A2*$B$1(B1 is a fixed tax rate). Copy to C3 → becomes=A3*$B$1. - Mixed: Cell C2 contains
=A$1*B2. Copy down → row part stays 1 for A; copy right → column part stays A for A$1.
Named ranges (optional but useful): you can assign a name to a cell or range (for example, name $B$1 as TaxRate) and then use =A2*TaxRate. This improves clarity and portability.
- Monthly expenses sheet: Unit Price in column A, Quantity in column B, Total in column C using formula <code>=A2*B2</code> copied down (relative references).
- Invoice with fixed tax: Tax rate in cell D1 (e.g., 0.05). Line total formula: <code>=A2*B2*(1+$D$1)</code> so the tax cell remains fixed when copied.
- Student marks: Weighted total where the weight for one subject is fixed in cell F1. Formula for each student: <code>=C2*F$1 + D2*F$2 + E2*F$3</code> (mixed or absolute where needed).
- Bulk discount: Discount percent stored in B1. Final price formula: <code>=A2*(1-$B$1)</code> (absolute B1 keeps discount same across rows).
- Progressive calculations: Running total in column D with <code>=D2 + C3</code> — use proper relative references to propagate running sums.
- \[<code>=A2+B2</code> — simple relative reference adds two cells\]\[changes when copied.\]
- \[<code>=SUM(A2:A10)</code> — range reference to sum a column segment.\]
- \[<code>=A2*$B$1</code> — uses absolute reference for a fixed multiplier (e.g.\]\[tax or rate).\]
- \[<code>=A2*$B1</code> or <code>=$A2*B$1</code> — mixed references (fixing column or row only).\]
- \[<code>=IF(A2>$C$1\]\[A2*$D$1\]\[A2*$E$1)</code> — conditional formula mixing absolute references for thresholds/parameters.\]
- \[<code>=A2/NamedRange</code> — use of a named range (e.g.\]\[NamedRange refers to a fixed cell or constant).\]
Formulas and Operators
Formulas and Operators
Key Point: =SUM(range) — adds all numbers in a range (example: =SUM(B2:B10))
What are formulas?
In an electronic spreadsheet, a formula is an expression entered into a cell that performs calculations or returns values. Every formula begins with an equals sign (=). A formula can contain numbers, cell references, operators and functions.
What are operators?
Operators are symbols that tell the spreadsheet how to manipulate the values in a formula. Common operator types are:
- Arithmetic: + (add), - (subtract), * (multiply), / (divide), ^ or POWER (exponent)
- Comparison: =, <> (not equal), >, <, >=, <= — return TRUE or FALSE
- Text: & or CONCAT / CONCATENATE — join text values
- Reference: : (range operator, e.g. A1:A10), , (union), space (intersection)
- Percentage & unary: % for percent, unary + and - for sign
Order of evaluation (precedence)
Parentheses ( ) > Exponentiation (^ or POWER) > Multiplication/Division (*, /) > Addition/Subtraction (+, -) > Comparison. Use parentheses to make the intended order explicit (for example: =(A1+B1)/C1).
Cell references
Use references to include other cells in formulas. There are three types:
- Relative (A1): changes when copied (good for rows/columns of similar calculations)
- Absolute ($A$1): stays fixed when copied (useful for constants like total marks or tax rate)
- Mixed ($A1 or A$1): one part fixed, the other relative
Functions vs. operators
Functions are built-in routines (SUM, AVERAGE, IF, COUNTIF, VLOOKUP, etc.) that simplify common tasks. Operators perform basic math or comparisons. You can combine both (for example: =IF(A2>=$B$1, A2*$C$1, 0)).
Common errors
#DIV/0! (division by zero), #VALUE! (wrong type), #REF! (invalid reference), #NAME? (unknown function/name). Check cell references, data types and function names to fix them.
Tips
Use absolute references for constants; name ranges (if available) to make formulas readable; test formulas on a few rows before copying; use parentheses for clear order; use built-in functions instead of long manual calculations.
Short examples (in-cell)
=SUM(B2:B6) =AVERAGE(C2:C20) =IF(D2>=35, "Pass", "Fail") =B2/$B$1*100 =A2 & " " & B2 =ROUND(E2, 2)
- Calculate total marks for a student: =SUM(B2:F2)
- Find percentage when total possible marks are in cell B1: =B2/$B$1*100 (use $B$1 to keep total fixed when copied)
- Decide pass or fail: =IF(B2>=35, "Pass", "Fail")
- Monthly expense split (text concatenation): =A2 & ": " & TEXT(B2, "₹#,##0.00")
- Apply discount rate stored in cell C1 to price in A2: =A2*(1-$C$1)
- \[=SUM(range) — adds all numbers in a range (example: =SUM(B2:B10))\]
- \[=AVERAGE(range) — calculates mean (example: =AVERAGE(C2:C10))\]
- \[=COUNT(range)\]\[COUNTA(range) — counts numbers or non-empty cells\]
- \[=MIN(range)\]\[MAX(range) — smallest and largest values in a range\]
- \[=ROUND(number\]\[decimals) — rounds to given decimal places (example: =ROUND(D2,2))\]
- \[=IF(condition\]\[value_if_true\]\[value_if_false) — conditional logic (example: =IF(B2>=40, "Pass", "Fail"))\]
Named Ranges
Named Ranges
Key Point: =SUM(Sales) // totals values in named range 'Sales'
What are Named Ranges? A named range is a meaningful name assigned to a cell or a range of cells in a spreadsheet (Excel, Google Sheets, LibreOffice Calc). Instead of using cell addresses like A2:A13, you can use a name such as Sales or Student_Marks. Named ranges make formulas easier to read, reduce errors, and simplify navigation.
How to create a named range (basic steps):
- Select the cell or range you want to name.
- Use the Name Box (left of the formula bar) to type the name and press Enter, or use the menu: Formulas > Define Name (Excel) / Data > Named ranges (Google Sheets).
- Use the name in formulas instead of cell addresses.
Rules for naming: Names must begin with a letter, underscore (_), or backslash (\). They cannot contain spaces (use underscore or CamelCase), cannot be the same as a cell reference (like A1), and are usually limited to 255 characters. Names can have workbook scope (available on all sheets) or worksheet scope (only on one sheet).
Benefits: Improved readability (e.g., =SUM(Sales) vs =SUM(B2:B13)), easier maintenance (change the range once), faster navigation (select name from name box), clearer charts and data validation, and safer formulas when rows/columns are inserted or moved.
Advanced: Dynamic named ranges can grow or shrink automatically when you add or remove data. They are created using functions like OFFSET, COUNTA or INDEX. Example (Excel/Google Sheets): =OFFSET(Sheet1!$A$2,0,0,COUNTA(Sheet1!$A:$A)-1,1) or =Sheet1!$A$2:INDEX(Sheet1!$A:$A,COUNTA(Sheet1!$A:$A)). These are useful for charts and reports that must update automatically as new rows are added.
- Monthly sales ledger: Name the months in column A as Months and sales figures in column B as Sales. Use =SUM(Sales) to get total sales and create a line chart using Months (x-axis) and Sales (y-axis).
- Student marks: Name the marks range for Mathematics as Math_Marks. Calculate class average with =AVERAGE(Math_Marks) and highest mark with =MAX(Math_Marks).
- Inventory list: Name product names range Products and stock counts Stock. Use a lookup like =VLOOKUP("Pen",ProductsStock,2,FALSE) where ProductsStock is a two-column named range combining Products and Stock.
- Monthly expenses pie chart: Name expense categories Category and amounts ExpenseAmt. Create a pie chart using Category and ExpenseAmt; if you use a dynamic named range, the chart updates when you add new expense rows.
- \[=SUM(Sales) // totals values in named range 'Sales'\]
- \[=AVERAGE(Prices) // average of named range 'Prices'\]
- \[=MAX(Student_Marks) // highest value in 'Student_Marks'\]
- \[=IF(TotalSales>10000,"Bonus","No Bonus") // using named cell 'TotalSales' in logic\]
- \[=VLOOKUP(ProductToFind,ProductsTable,2,FALSE) // lookup using named range 'ProductsTable'\]
- \[=OFFSET(Sheet1!$A$2,0,0,COUNTA(Sheet1!$A:$A)-1,1) // example dynamic named range using OFFSET\]
Mathematical and Numeric Functions
Mathematical and Numeric Functions
Key Point: =SUM(range) — adds all numbers in range (e.g., =SUM(A1:A10)).
Mathematical and numeric functions in an electronic spreadsheet are built-in formulas that perform arithmetic, summary and number-manipulation tasks on cell values and ranges. They let you add, average, count, round, take powers/roots, find remainders, and apply conditional calculations without manual computation.
Main categories:
- Aggregation: SUM, AVERAGE, COUNT, MIN, MAX, PRODUCT — compute totals, averages and basic statistics on ranges.
- Rounding and truncation: ROUND, ROUNDUP, ROUNDDOWN, INT, TRUNC — change the precision or drop fractional parts for display or currency handling.
- Algebraic and numeric: POWER, SQRT, ABS, MOD, FACT — exponentiation, square roots, absolute values, remainders and factorials.
- Conditional numeric: SUMIF, COUNTIF — perform numeric calculations only for cells that meet a condition.
- Other useful functions: PRODUCT, SUMPRODUCT, RAND, RANDBETWEEN — multiply ranges, combine sums of products, and create random numbers.
Typical syntax: functions start with = followed by the function name and arguments in parentheses. Arguments can be single cells, ranges (A1:A10), numbers or expressions. Example: =SUM(B2:B10). Use absolute references (e.g., $A$1) when copying formulas that must refer to the same cell.
Practical tips:
- Check for errors like #DIV/0! or #VALUE! when input data is missing or invalid.
- Combine functions: e.g., ROUND(AVERAGE(B2:B6), 2) gives an average rounded to 2 decimal places.
- Use conditional functions (SUMIF/COUNTIF) to filter by criteria, e.g., summing sales only for a specific product.
- Calculate total monthly expenses: =SUM(B2:B13) — adds values B2 through B13 to get total expenses.
- Find a student's average marks: =AVERAGE(C2:H2) — computes mean of marks across subjects for one student.
- Get the highest and lowest scores: =MAX(D2:D30) and =MIN(D2:D30).
- Count numeric entries (attendance days): =COUNT(E2:E31) — counts only cells with numbers.
- Count non-empty cells (responses): =COUNTA(F2:F50) — counts all non-blank cells including text.
- Round currency to nearest rupee: =ROUND(G5,0) — rounds value in G5 to 0 decimal places.
- \[=SUM(range) — adds all numbers in range (e.g., =SUM(A1:A10)).\]
- \[=AVERAGE(range) — returns mean of numbers in range (e.g., =AVERAGE(B2:B6)).\]
- \[=COUNT(range) — counts cells in range that contain numbers.\]
- \[=COUNTA(range) — counts non-empty cells (numbers and text).\]
- \[=MIN(range) / =MAX(range) — smallest and largest values in range.\]
- \[=PRODUCT(range) — multiplies all numbers in a range (e.g., =PRODUCT(A1:A3)).\]
Statistical and Aggregate Functions
Statistical and Aggregate Functions
Key Point: SUM(range) — adds values. Example: =SUM(B2:B10)
What they are
Statistical and aggregate functions in electronic spreadsheets are built‑in formulas that summarize and describe sets of numeric data. "Statistical" functions compute measures that describe distribution (mean, median, mode, spread, count), while "aggregate" functions perform summarizing operations (sum, min, max, subtotals) often used to combine many values into a single result.
Why they matter
- Quickly convert raw data (marks, sales, temperatures) into meaningful summaries.
- Help make decisions by showing averages, extremes, variability and counts.
- Are essential for reports, dashboards and class/real‑life analyses.
Common statistical functions
AVERAGE(range)— arithmetic mean.MEDIAN(range)— middle value when data sorted.MODE.SNGL(range)orMODE(range)— most frequent value.STDEV.P(range)/STDEV.S(range)— standard deviation (population/sample).VAR.P(range)/VAR.S(range)— variance.MIN(range)andMAX(range)— smallest and largest values.COUNT(range)/COUNTA(range)/COUNTBLANK(range)— count numbers, non‑empty cells, blank cells.PERCENTILE.INC(range, k),QUARTILE.INC(range, q)— position‑based measures.
Common aggregate functions
SUM(range)— total.SUBTOTAL(function_num, range)— subtotal that can ignore filtered/hidden rows depending on function_num.AGGREGATE(function_num, options, range, ...)— advanced aggregate that can ignore errors, hidden rows or nested subtotals.- Conditional aggregates:
SUMIF(range, criteria, [sum_range]),COUNTIF(range, criteria),AVERAGEIF(range, criteria, [average_range]).
Practical tips
- Use ranges like
B2:B31to include many rows; lock with absolute references (e.g.$B$2:$B$31) when copying formulas. - Use
COUNTto avoid dividing by the total cell count when cells may be blank or text (e.g.=SUM(B2:B31)/COUNT(B2:B31)to compute mean only over numeric entries). - Use
SUBTOTALwhen creating filtered reports to compute results only for visible rows. - Be careful with
STDEVandVARvariants: choose population (P) when you have the entire population, sample (S) if your data is a subset.
- Class test marks (B2:B31): Average marks =AVERAGE(B2:B31); Highest =MAX(B2:B31); Lowest =MIN(B2:B31); Number of students =COUNT(B2:B31).
- Monthly expenses (C2:C13): Total expenses =SUM(C2:C13); Average monthly expense =AVERAGE(C2:C13); Months with expenses > 20000 =COUNTIF(C2:C13, ">20000").
- Store sales with some errors (D2:D101): Use =AGGREGATE(9, 6, D2:D101) to compute SUM while ignoring errors (function_num 9 = SUM, option 6 = ignore errors).
- Survey ratings (E2:E201): Find the median =MEDIAN(E2:E201) and the most common rating =MODE.SNGL(E2:E201).
- Filtered table subtotal: After filtering rows, use =SUBTOTAL(9, F2:F100) to get the visible sum only (9 = SUM).
- \[SUM(range) — adds values\]\[Example: =SUM(B2:B10)\]
- \[AVERAGE(range) — arithmetic mean\]\[Example: =AVERAGE(B2:B10)\]
- \[MEDIAN(range) — middle value\]\[Example: =MEDIAN(B2:B10)\]
- \[MODE.SNGL(range) — most frequent value\]\[Example: =MODE.SNGL(B2:B10)\]
- \[MIN(range)\]\[MAX(range) — smallest and largest\]\[Examples: =MIN(B2:B10), =MAX(B2:B10)\]
- \[COUNT(range)\]\[COUNTA(range)\]\[COUNTBLANK(range) — counts\]\[Examples: =COUNT(B2:B10), =COUNTA(A2:A10)\]
Logical Functions
Logical Functions
Key Point: IF: =IF(condition, value_if_true, value_if_false)
What are Logical Functions?
Logical functions are spreadsheet formulas that test conditions and return TRUE/FALSE or other values based on those tests. They let you make decisions in sheets — for example, mark students as Pass/Fail, apply discounts, or compute grades automatically.
Common logical functions and operators
- IF(condition, value_if_true, value_if_false) – returns one value when the condition is true and another when false.
- AND(cond1, cond2, ...) – returns TRUE only if all conditions are true.
- OR(cond1, cond2, ...) – returns TRUE if any one condition is true.
- NOT(condition) – reverses a logical value (TRUE → FALSE, FALSE → TRUE).
- IFERROR(value, value_if_error) – returns a specified value if the formula results in an error.
Comparison operators: =, <> (not equal), >, <, >=, <=
How they work together
You can nest IFs for multi-way decisions or combine IF with AND/OR/NOT to express complex conditions. Logical functions evaluate left-to-right; nested IFs are evaluated until a TRUE condition is found.
Truth table (simple)
| A | B | AND | OR | NOT A |
|---|---|---|---|---|
| TRUE | TRUE | TRUE | TRUE | FALSE |
| TRUE | FALSE | FALSE | TRUE | FALSE |
| FALSE | TRUE | FALSE | TRUE | TRUE |
| FALSE | FALSE | FALSE | FALSE | TRUE |
Tips
- Use parentheses to make complex conditions readable: =IF(AND(A2>=40, B2>=50), "Pass", "Fail").
- Prefer combining AND/OR inside a single IF rather than many nested IFs where possible (or use IFS in newer Excel versions).
- Use IFERROR to handle division by zero or lookup failures: =IFERROR(A2/B2, "Error").
- 1) Simple Pass/Fail: Suppose marks in B2. =IF(B2>=40, "Pass", "Fail").
- 2) Pass with attendance: Marks in B2 and attendance % in C2. =IF(AND(B2>=40, C2>=75%), "Pass", "Fail").
- 3) Discount eligibility (OR): If customer is a member (D2="Yes") OR purchase > 500 (E2>500). =IF(OR(D2="Yes", E2>500), "Discount", "No Discount").
- 4) Nested IF for grades: Marks in A2. =IF(A2>=90, "A+", IF(A2>=80, "A", IF(A2>=70, "B", IF(A2>=60, "C", "D"))))
- 5) Use NOT to detect blanks: =IF(NOT(A2=""), "Has Data", "Blank").
- 6) Handle errors: =IFERROR(VLOOKUP(F2, A:B, 2, FALSE), "Not Found").
- \[IF: =IF(condition\]\[value_if_true\]\[value_if_false)\]
- \[AND: =AND(condition1\]\[condition2, ...)\]
- \[OR: =OR(condition1\]\[condition2, ...)\]
- \[NOT: =NOT(condition)\]
- \[Nested IF (multi-way): =IF(cond1\]\[val1\]\[IF(cond2\]\[val2\]\[val3))\]
- \[IFERROR: =IFERROR(expression\]\[value_if_error)\]
Lookup and Reference Functions
Lookup and Reference Functions
Key Point: VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup]) — Example: =VLOOKUP(A2, $A$2:$D$100, 3, FALSE)
What are Lookup and Reference Functions?
Lookup and Reference functions in a spreadsheet help you find, return, or refer to data stored in cells or ranges. They are essential when working with tables, databases, or when you need to fetch related information automatically (for example, getting a student’s grade from a marks table using the student ID).
Common purposes:
- Find a value in a table (e.g., get price for a product code).
- Return the address or value of a cell dynamically.
- Combine functions (INDEX+MATCH) to look up values that VLOOKUP can’t handle.
Key functions explained
- VLOOKUP (vertical lookup) — searches for a value in the leftmost column of a range and returns a value in the same row from a specified column. Has two modes: exact match (FALSE) and approximate match (TRUE).
- HLOOKUP (horizontal lookup) — like VLOOKUP but searches the top row and returns a value from a specified row.
- LOOKUP — legacy function that can work in vector or array form; generally replaced by VLOOKUP/HLOOKUP or INDEX+MATCH.
- INDEX — returns the value of a cell in a given row and column position within a range (useful to pick a value by position).
- MATCH — returns the relative position of an item in a range (useful to find the row/column number). Often combined with INDEX: INDEX(range, MATCH(...)).
- INDIRECT — converts a text string into a cell or range reference (useful for dynamic sheet or range names).
- ADDRESS — returns a cell address as text for given row and column numbers; combined with INDIRECT it can point to cells dynamically.
- ROW and COLUMN — return the row number or column number of a reference; useful in building dynamic formulas.
- OFFSET — returns a reference to a range that is a specified number of rows and columns away from a starting cell; useful for dynamic ranges and charts.
Exact vs Approximate matches
For VLOOKUP/HLOOKUP/MATCH you choose between exact and approximate matching:
- Exact match: use FALSE or 0 — finds only identical values.
- Approximate match: use TRUE or 1 (or omit in older spreadsheets) — requires the lookup column/row to be sorted and returns the nearest match <= lookup_value.
Limitations & best practices
- VLOOKUP looks to the right only: it requires the lookup column to be the leftmost in the table_array. To look left, use INDEX+MATCH.
- Use absolute references (e.g., $A$2:$D$100) for table ranges when copying formulas.
- For performance on large sheets prefer INDEX+MATCH over volatile functions like OFFSET and INDIRECT where possible.
- Make sure data types match (text vs numbers). VLOOKUP is case-insensitive.
- Student marks lookup: You have a table with Student ID in column A and Total Marks in column D. To fetch marks for the ID in cell F2 use: =VLOOKUP(F2, $A$2:$D$50, 4, FALSE).
- Product price lookup: Table of ProductCode (A), ProductName (B), Price (C). To get the price for code in E2 use: =INDEX($C$2:$C$200, MATCH(E2, $A$2:$A$200, 0)). This works even if Price column is left of ProductCode.
- Employee info on different sheets: Suppose sheet names are department codes in cell B1. To pull cell C5 from that sheet dynamically: =INDIRECT(B1 & "!C5").
- Dynamic chart source: Use OFFSET to create a dynamic range for last N sales entries: =OFFSET($B$2, COUNTA($B:$B)-N, 0, N, 1) and use it as chart series so the graph auto-updates as new rows are added.
- \[VLOOKUP(lookup_value\]\[table_array\]\[col_index_num, [range_lookup]) — Example: =VLOOKUP(A2, $A$2:$D$100, 3\]\[FALSE)\]
- \[HLOOKUP(lookup_value\]\[table_array\]\[row_index_num, [range_lookup]) — Example: =HLOOKUP(B1, $A$1:$G$4, 3\]\[FALSE)\]
- \[INDEX(array\]\[row_num, [column_num]) — Example: =INDEX($C$2:$C$50, 5) returns the 5th item in C2:C50\]
- \[MATCH(lookup_value\]\[lookup_array, [match_type]) — Example: =MATCH("John", $A$2:$A$50, 0) returns the row position of "John" in A2:A50\]
- \[INDEX + MATCH (to lookup left or more flexible): =INDEX($C$2:$C$200\]\[MATCH(E2, $A$2:$A$200, 0))\]
- \[INDIRECT(ref_text) — Example: =INDIRECT("Sheet2!B" & A2) to build references using text\]
Text and String Functions
Text and String Functions
Key Point: LEN(text) — returns length. Example: LEN('Hello') => 5
What are Text and String Functions?
Text (string) functions are spreadsheet functions used to create, modify, extract, clean and analyse text data stored in cells. They are essential for preparing data (name lists, addresses, codes), creating labels, and extracting meaningful parts from strings like first names or area codes.
Why they matter: real datasets often contain inconsistent text (extra spaces, mixed case, combined fields). Text functions help standardise, parse and combine text so formulas, lookups and reports work correctly.
Common categories
- Case conversion – make text UPPER, lower or Proper case.
- Trimming & cleaning – remove extra spaces and non-printing characters.
- Extraction – take left/right/middle parts of a string (first name, last 4 digits).
- Search & replace – find position of substrings and substitute or replace text.
- Concatenation / formatting – join text pieces or format numbers/dates into text.
Short descriptions of key functions
LEN(text)– returns number of characters.TRIM(text)– removes extra spaces (leads/trails and repeated spaces).LEFT(text, n),RIGHT(text, n),MID(text, start, n)– extract substrings.FIND(find_text, within_text, [start])/SEARCH– locate substring position (SEARCH is case-insensitive).UPPER/LOWER/PROPER(text)– change case.CONCATENATE(text1, text2, ...)or use&– join pieces into one string.SUBSTITUTE(text, old_text, new_text, [instance_num])– replace specific occurrences.REPLACE(old_text, start_num, num_chars, new_text)– replace by position.TEXT(value, format_text)– convert numbers/dates to text with a format (eg 'dd-mmm-yyyy' or '0.00').
Tips: Always TRIM imported names before splitting. Use FIND/SEARCH combined with LEFT/MID/RIGHT to extract variable-length parts (e.g., first name when names are "First Last"). Use TEXT to produce readable reports with dates or currency inside strings.
- Split full name into first and last name: If A2 contains 'Asha Sharma' then First name = LEFT(A2, FIND(' ', A2) - 1) => 'Asha'; Last name = RIGHT(A2, LEN(A2) - FIND(' ', A2)) => 'Sharma'.
- Create email id from name: If B2='Asha' and C2='Sharma', email = LOWER(B2 & '.' & C2 & '@school.edu') => 'asha.sharma@school.edu'.
- Remove extra spaces: If A2=' Rahul Kumar ' then TRIM(A2) => 'Rahul Kumar'.
- Extract area code from phone: If A2='(022)-23456789' use MID(A2, 2, 3) => '022'.
- Change case: PROPER('rahul kapoor') => 'Rahul Kapoor'; UPPER('maths') => 'MATHS'.
- Replace substring: SUBSTITUTE('Mr. John Doe', 'Mr. ', '') => 'John Doe'.
- \[LEN(text) — returns length\]\[Example: LEN('Hello') => 5\]
- \[TRIM(text) — removes extra spaces\]\[Example: TRIM(' Asha ') => 'Asha'\]
- \[LEFT(text\]\[n) — first n chars\]\[Example: LEFT('Maths', 2) => 'Ma'\]
- \[RIGHT(text\]\[n) — last n chars\]\[Example: RIGHT('2025', 2) => '25'\]
- \[MID(text\]\[start\]\[n) — extract n chars from start position\]\[Example: MID('ABC123', 4, 3) => '123'\]
- \[FIND(find_text\]\[within_text, [start]) — position (case-sensitive)\]\[Example: FIND(' ', 'Asha Sharma') => 5\]
Date and Time Functions
Date and Time Functions
Key Point: TODAY() -- returns current date
What they are: Date and time functions are built-in spreadsheet functions that let you create, extract, convert and calculate with dates and times. In spreadsheets (like MS Excel or LibreOffice Calc) dates and times are stored as numbers: the integer part is the date (days since a base date) and the fractional part is the time (fraction of a 24-hour day). This allows arithmetic (addition, subtraction, difference) on dates and times.
Common uses: calculating age, due dates, durations, working days between two dates, time spent on tasks, expiry dates and monthly reporting.
Key ideas:
- Date/time values are convertible: TEXT formats presentation, DATEVALUE/TIMEVALUE convert text to serial values.
- You can add/subtract dates:
start_date + 30adds 30 calendar days; useWORKDAYorNETWORKDAYSto consider business days. - Time arithmetic returns fractions of a day. Multiply by 24 to get hours, by 1440 to get minutes.
Typical functions and what they do (short):
TODAY()– returns current date (no time).NOW()– returns current date and time.DATE(year,month,day)andTIME(hour,minute,second)– build date/time from parts.DAY(), MONTH(), YEAR(), HOUR(), MINUTE(), SECOND()– extract parts.DATEDIF(start,end,unit)– difference in years/months/days (unit like "Y","M","D").EDATE(start,months)andEOMONTH(start,months)– add months / get end of month.DATEVALUE(text)andTIMEVALUE(text)– convert text to date/time values.WORKDAY(start,days,[holidays])andNETWORKDAYS(start,end,[holidays])– compute workdays excluding weekends and optional holidays.
Formatting: Use cell number formats or TEXT(value, "format") to show dates/times in dd-mm-yyyy, dd-mmm-yy, hh:mm:ss AM/PM etc.
Notes and tips: always ensure date inputs are real date values (not plain text) for correct calculations; when subtracting times, if result can be negative use functions or conditional checks; multiply time differences by 24 to convert to hours.
- Calculate age: if DOB in B2 -> =DATEDIF(B2, TODAY(), "Y") (returns completed years)
- Invoice due date (30 calendar days): if invoice date in A2 -> =A2 + 30
- Invoice due date (30 working days): if invoice date in A2 -> =WORKDAY(A2, 30) (skips weekends; add optional holidays list)
- Months after purchase (warranty expiry): if purchase date in A2 and warranty 6 months -> =EDATE(A2, 6)
- Days between two dates: if start in A2 and end in B2 -> =B2 - A2 (format as General or Number)
- Total work hours: if start time in C2 and end time in D2 -> =(D2 - C2) * 24 (result in hours; format as Number)
- \[TODAY() -- returns current date\]
- \[NOW() -- returns current date & time\]
- \[DATE(year\]\[month\]\[day) -- build a date\]\[e.g. =DATE(2025, 10, 10)\]
- \[TIME(hour\]\[minute\]\[second) -- build a time\]\[e.g. =TIME(14, 30, 0)\]
- \[DAY(date)\]\[MONTH(date)\]\[YEAR(date) -- extract parts\]\[e.g. =MONTH(A2)\]
- \[HOUR(time)\]\[MINUTE(time)\]\[SECOND(time) -- extract time parts\]
Error and Information Functions
Error and Information Functions
Key Point: ISERROR(value) - TRUE if value is any error (including #N/A)
Error and Information functions in a spreadsheet help detect, classify and handle errors or test the type of data in cells. These functions are useful for cleaning data, preventing unexpected error messages from appearing to users, and making formulas more robust.
Two groups:
- Error functions identify or convert error values. Example functions: ERROR.TYPE, IFERROR.
- Information (IS- ) functions return TRUE or FALSE depending on the value/type in a cell. Examples: ISERROR, ISERR, ISNA, ISNUMBER, ISTEXT, ISBLANK, ISLOGICAL, ISREF, ISFORMULA.
Common uses:
- Detecting lookup failures (VLOOKUP returning #N/A) and supplying a friendly message.
- Avoiding #DIV/0! by checking divisor before division.
- Counting how many cells contain numbers, text, blanks or errors.
- Diagnosing which error occurred using ERROR.TYPE.
Examples of how they behave (formula examples):
=ISERROR(A2) returns TRUE if A2 contains any error (including #N/A) =ISERR(A2) returns TRUE for errors except #N/A =ISNA(A2) returns TRUE only if A2 is #N/A =ERROR.TYPE(A2) returns a code (1..7 or 8) for the specific error, or returns an error if A2 is not an error =IFERROR(A2/B2, "-") replaces an error result with a chosen value
Notes and best practice:
- Use IFERROR (or IFNA for #N/A specifically) to show user-friendly messages or default values instead of Excel errors.
- Use specific tests (ISNA vs ISERR) when you need to handle certain error types differently (for example, treat missing lookup differently from other errors).
- Combine IS- functions with IF to create conditional logic: e.g.,
=IF(ISBLANK(A2),"No data",A2).
- Handle divide-by-zero: =IF(B2=0, "No divisor", A2/B2) or =IFERROR(A2/B2, "No result")
- Handle missing lookup from VLOOKUP: =IFNA(VLOOKUP(E2, A:B, 2, FALSE), "Not found") or =IF(ISNA(VLOOKUP(E2,A:B,2,FALSE)), "Not found", VLOOKUP(E2,A:B,2,FALSE))
- Count numeric entries in a range using an array: =SUMPRODUCT(--(ISNUMBER(A2:A20))) or simply =COUNT(A2:A20)
- Detect if a cell is text before concatenation: =IF(ISTEXT(A2), A2 & " OK", "Not text")
- Find the error type code: if A2 contains #DIV/0!, =ERROR.TYPE(A2) returns 2 (useful in debugging large sheets)
- \[ISERROR(value) - TRUE if value is any error (including #N/A)\]
- \[ISERR(value) - TRUE if value is an error except #N/A\]
- \[ISNA(value) - TRUE only if value is #N/A\]
- \[ERROR.TYPE(error_val) - Returns a number indicating the error type (1=#NULL!, 2=#DIV/0!, 3=#VALUE!, 4=#REF!, 5=#NAME?, 6=#NUM!, 7=#N/A\]\[newer versions may include 8=#GETTING_DATA)\]\[Returns an error if error_val is not an error.\]
- \[IFERROR(value\]\[value_if_error) - If value results in an error\]\[returns value_if_error\]\[otherwise returns value (simpler than IF+ISERROR).\]
- \[ISNUMBER(value) - TRUE if value is numeric\]
Conditional Formatting
Conditional Formatting
Key Point: =A2>60 (highlight values greater than 60)
Conditional Formatting is a spreadsheet feature (available in Excel, Google Sheets, etc.) that automatically changes the appearance of cells—such as their fill color, font color, border, or icons—based on rules you define. It helps you quickly spot patterns, trends, exceptions, and outliers without manually inspecting large data sets.
Key ideas:
- Rules consist of a logical test (condition) and a format to apply when the test is TRUE.
- You can use built-in rule types (color scales, data bars, icon sets, top/bottom rules) or custom formulas for complex conditions.
- Relative and absolute references in formula-based rules determine how the rule is applied across the selected range. The formula is evaluated with respect to the top-left cell of the selected range.
- Multiple rules can apply to the same cells; rule order and options like "Stop If True" determine precedence.
Common uses: highlight failing students, mark approaching due dates, flag high expenses, show top performers, identify duplicates, and create heat maps for quick visual scanning.
Basic steps to apply a rule (Excel/Sheets): select the range → Conditional Formatting → choose rule type or use a formula → set the formatting → apply. For formula rules use a logical expression that returns TRUE or FALSE.
- Highlight failing students: For marks in A2:A31, select A2:A31 and use a rule with formula =A2<40, then apply red fill to mark failures.
- Top 3 scores: To highlight top 3 in B2:B50 use a built-in Top/Bottom rule 'Top 3' or formula =RANK(B2,$B$2:$B$50)<=3 and apply gold fill.
- Due dates approaching: For due dates in C2:C100, use =AND(C2>=TODAY(), C2<=TODAY()+7) to highlight items due within 7 days.
- Expenses above budget: With expenses in D2:D100 and budget in E2 (single value), use =D2>$E$2 to mark over-budget entries.
- Duplicate entries: For IDs in F2:F200 use a built-in rule 'Duplicate Values' or formula =COUNTIF($F$2:$F$200,F2)>1 and apply a color to duplicates.
- Low inventory alert: For stock levels in G2:G100 use =G2<20 to highlight items with fewer than 20 units.
- \[=A2>60 (highlight values greater than 60)\]
- \[=A2=MAX($A$2:$A$10) (highlight the maximum value in the range)\]
- \[=A2=MIN($A$2:$A$10) (highlight the minimum value in the range)\]
- \[=AND(B2>=50,C2="Yes") (both conditions true)\]
- \[=OR(A2<40,B2<40) (either condition true)\]
- \[=ISBLANK(A2) (highlight empty cells)\]
Data Validation
Data Validation
Key Point: =AND(A2>=10, A2<=19) // whole-number range (age 10–19)
Data Validation in an electronic spreadsheet is the process of restricting the type, format or range of values that users can enter into cells. It helps keep data accurate, consistent and useful for analysis.
Why use data validation?
- Prevent input errors (e.g., marks above 100).
- Maintain consistent formats (e.g., dates, categories).
- Improve data quality for formulas, reports and graphs.
Common validation types
- Whole number / Decimal: restrict numeric range (e.g., 0–100).
- List: provide a dropdown of allowed values (e.g., sections A/B/C).
- Date / Time: restrict to a date or time range.
- Text length: limit number of characters.
- Custom (formula-based): use a logical formula to validate complex rules (e.g., unique IDs).
How to set validation (general steps)
- Select the cell(s) to protect.
- Open Data > Data Validation (or Tools > Validation).
- Choose validation type, enter criteria (range, list values or formula).
- Optionally add an input message (guidance) and an error alert (Stop/Warning/Info).
- Test by entering valid and invalid values.
Input messages and error alerts
- Input message: shown when the cell is selected to guide users.
- Error alert: appears when invalid data is entered (can block input or warn).
Limitations & tips
- Validation can be bypassed by copy-paste; use sheet protection to prevent changes.
- Custom validation formulas usually refer to the active cell (use relative/absolute references carefully).
- Combine validation with conditional formatting to highlight mistakes.
- Age check (school club): Allow only whole numbers between 10 and 19. Steps: select column, Data Validation → Whole number → between 10 and 19. Add input message: "Enter age 10–19."
- Marks entry: Allow decimals from 0 to 100. Use Data Validation → Decimal → between 0 and 100. Optionally show error alert "Marks must be 0–100."
- Section dropdown: Create a list of sections (A,B,C) in cells F1:F3 or type A,B,C as source. Use Data Validation → List → source F1:F3 (or "A,B,C") to show a dropdown.
- Assignment date range: Allow only submission dates during the term. Use Date validation with start and end date (or formula-based dates using DATE()).
- Unique student ID: Ensure IDs are unique using a custom validation formula. For ID cells in A2:A100 use custom rule: =COUNTIF($A$2:$A$100,A2)=1 (prevents duplicate IDs).
- Simple email check: Basic validation to ensure an '@' and a dot exist: use custom formula =AND(ISNUMBER(SEARCH("@",A2)),ISNUMBER(SEARCH(".",A2))). (This is a simple check; complex email rules need more advanced patterns.)
- \[=AND(A2>=10\]\[A2<=19) // whole-number range (age 10–19)\]
- \[=AND(A2>=0\]\[A2<=100) // numeric range (marks 0–100)\]
- \[=LEN(A2)<=20 // text length ≤ 20 characters\]
- \[=ISNUMBER(A2) // cell must be numeric\]
- \[=AND(A2>=DATE(2025,4,1)\]\[A2<=DATE(2026,3,31)) // date within an academic year\]
- \[=COUNTIF($A$2:$A$100\]\[A2)=1 // unique entries in A2:A100\]
Sorting and Filtering
Sorting and Filtering
Key Point: SUBTOTAL(function_num, range) — performs calculations only on visible cells (after filtering). Example: =SUBTOTAL(9, E2:E100) returns SUM of visible cells in E2:E100. (function_num 9 = SUM, 1 = AVERAGE, 2 = COUNT, etc.)
What are Sorting and Filtering?
Sorting and filtering are spreadsheet features that help you organize and view data. Sorting rearranges entire rows based on the values in one or more columns (for example, A→Z or largest→smallest). Filtering hides rows that do not meet criteria so you can focus on a subset of the data.
Why they are useful
They help you find patterns, prepare reports, compare values, and perform calculations on specific groups (e.g., top students, sales for a specific month, expired items).
Basic concepts
- Stable table structure: Always include the whole table (all columns) when sorting so rows remain intact.
- Headers: Mark the first row as headers so sort/filter uses column labels, not header text.
- Single-level sort: Sort by one column (e.g., Marks descending).
- Multi-level (compound) sort: Sort by a primary column then a secondary column (e.g., Class ascending, then Marks descending) to break ties.
- Ascending / Descending: Alphabetical (A→Z / Z→A) or numerical (smallest→largest / largest→smallest).
How to sort (typical steps in Excel/Sheets):
- Select the entire table (including headers).
- Data > Sort (or Data > Sort range). Choose whether data has header row.
- Pick the column to sort by, choose Order (A→Z, Z→A, smallest→largest, largest→smallest).
- For multi-level sort, add levels (e.g., first by Class, then by Name).
- Apply—rows are rearranged but remain consistent across columns.
How to filter (typical steps):
- Select the header row and turn on Filter (Data > Filter or the funnel icon).
- Click the filter arrow on a column to choose criteria: checkboxes (values), text filters, number filters (>, <, between), date filters, or custom formulas.
- Apply filter—the sheet hides rows that do not match. Use Clear Filter to show all rows again.
Advanced filter options
- Filter by color / icon (if cells are color-coded).
- Custom filter conditions (e.g., marks >= 75 and <= 100).
- Use FILTER() and SORT() functions (Google Sheets / modern Excel) for dynamic results in new ranges.
- Use SUBTOTAL() to calculate sums/averages only for visible (filtered) rows.
Important cautions
- Always select the whole dataset so rows don’t get mismatched.
- Make a backup before large sorts if you are unsure.
- Converting data to a Table (Excel) helps preserve sorting/filtering and formulas.
- Student Marks: A table has columns StudentID, Name, Class, Marks. To find top scorers: sort Marks column in descending order and/or apply a filter for Marks >= 90. Steps: select table → Data → Sort by Marks (Largest to Smallest).
- Inventory Management: A list with Item, Category, Quantity, Expiry Date. To see expiring items: sort by Expiry Date (oldest first) or filter Expiry Date to show dates before a chosen date. Useful for first-to-expire dispatch.
- Sales Report by Month: Sales table with Date, Region, SalesAmount. To view sales for March only: apply a Date filter for March or use a custom filter for dates between 2025-03-01 and 2025-03-31. Then create summary calculations for filtered rows.
- Employee Directory: Table with EmpID, Name, Department, JoiningDate. To list employees in HR sorted by Name: apply a filter Department = 'HR' then sort Name A→Z.
- Bank Transactions: A ledger with Date, Description, Type (Credit/Debit), Amount. To total credits in a month: filter Type = 'Credit' and Date = chosen month, then use SUBTOTAL to get the sum of visible Amounts.
- \[SUBTOTAL(function_num\]\[range) — performs calculations only on visible cells (after filtering)\]\[Example: =SUBTOTAL(9\]\[E2:E100) returns SUM of visible cells in E2:E100. (function_num 9 = SUM, 1 = AVERAGE, 2 = COUNT\]\[etc.)\]
- \[FILTER(range\]\[include, [if_empty]) — returns rows that match a condition (Google Sheets / Excel dynamic arrays)\]\[Example: =FILTER(A2:E100\]\[C2:C100="HR", "No results") returns rows where Department = 'HR'.\]
- \[SORT(range\]\[sort_index\]\[sort_order) — sorts a range and returns sorted output (1 = ascending, -1 = descending)\]\[Example: =SORT(A2:B100, 2, -1) sorts by 2nd column descending.\]
- \[SORTBY(range\]\[by_range1\]\[sort_order1, ...) — sort a range by one or more ranges\]\[Example: =SORTBY(A2:D100\]\[C2:C100, -1\]\[B2:B100, 1) sorts by C desc\]\[then B asc.\]
- \[SUMIF(range\]\[criteria, [sum_range]) — sums cells that meet a single condition\]\[Useful after filtering or when you want totals without filtering\]\[Example: =SUMIF(C2:C100, ">=500"\]\[D2:D100).\]
- \[COUNTIF(range\]\[criteria) — counts the number of cells meeting criteria\]\[Example: =COUNTIF(B2:B100, "Passed").\]
Charts and Graphical Representation
Charts and Graphical Representation
Key Point: =SUM(B2:B13) // total of values in B2 to B13
Overview: Charts and graphical representation turn spreadsheet data into visual forms that are easier to read, compare and interpret. A good chart highlights patterns, trends and relationships that are hard to see in rows and columns.
Components of a chart
- Title - explains what the chart shows.
- Axes - x axis (categories) and y axis (values) for most charts.
- Data series - the actual data plotted.
- Legend - identifies different series or categories.
- Data labels - numeric values shown on the chart.
- Gridlines - help read values accurately.
Common chart types and when to use them
- Column / Bar chart - compare quantities across categories (monthly sales, marks of students).
- Line chart - show trends over time (temperature, stock prices).
- Pie chart - show parts of a whole (market share, expense distribution). Use only when you have a small number of categories and values are positive.
- Area chart - like line chart but emphasizes volume over time.
- Scatter plot - show relationship between two numeric variables (height vs weight).
- Histogram - show frequency distribution of continuous data (test score ranges).
How to create a chart (typical steps in an electronic spreadsheet)
- Select the data range including headers.
- Insert > Chart and choose the chart type.
- Assign axes, series and categories if needed.
- Add a title, axis labels, legend and data labels.
- Format colors, gridlines and number formats for clarity.
Tips for effective charts
- Start the value axis at zero for column/bar charts unless there is a strong reason not to.
- Sort categories logically (time order, size order) for clearer reading.
- Use contrasting colors but avoid unnecessary 3D effects that distort perception.
- Limit the number of categories in a pie chart (ideally 3 to 6).
- Use labels and legends so the reader can understand the chart without the sheet.
Common uses in real life
Business reports, school result analysis, weather trends, survey results, budgets, and scientific data exploration are typical applications. Charts help take decisions quickly by presenting data visually.
- Monthly sales report: Use a column chart to compare sales for each month. Create a table with months in column A and sales values in column B, then insert a column chart. Add data labels showing sales figures.
- Student marks comparison: Use a grouped column chart to compare marks of students across subjects. Rows = students, columns = marks in each subject.
- Market share of products: Use a pie chart to show percentage contribution of each product to total sales. Compute percentage = (product sales / total sales) * 100 before plotting.
- Temperature trend over a year: Use a line chart with months on the x axis and average temperature on the y axis to show seasonal trends.
- Distribution of test scores: Use a histogram to show how many students fall into score ranges (0-10, 11-20, etc.). Use FREQUENCY function or pivot table to prepare bins.
- Monthly expense breakdown: Use a stacked bar chart to show different expense categories each month, highlighting composition and total.
- \[=SUM(B2:B13) // total of values in B2 to B13\]
- \[=AVERAGE(B2:B13) // mean of a range\]
- \[=COUNT(B2:B13) // count of numeric entries\]
- \[=COUNTIF(C2:C50, ">=50") // count values meeting a condition\]
- \[=B2 / SUM($B$2:$B$13) * 100 // percentage of total for pie chart (use absolute references)\]
- \[=C2 - C1 // simple difference (useful for change calculations)\]
Pivot Tables and Data Summarization
Pivot Tables and Data Summarization
Key Point: SUM(range) — adds numbers in a range (useful outside pivot tables).
What is a Pivot Table?
A pivot table is a powerful spreadsheet tool that quickly summarizes, analyzes and explores large tables of data by organizing it into meaningful summaries (totals, averages, counts, etc.) without changing the original data. It lets you rearrange ("pivot") rows and columns to view the data from different perspectives.
Why use Pivot Tables?
- Summarize large datasets in seconds (totals, averages, counts).
- Compare categories, spot trends and find exceptions.
- Filter and drill down into details without formulas.
- Create interactive reports (with Pivot Charts and slicers).
Main components
- Rows: fields placed as row labels (e.g., Product, Student).
- Columns: fields placed across the top (e.g., Month, Subject).
- Values: numeric fields summarized (Sum, Count, Average, etc.).
- Filters: restrict the data shown (e.g., Region = East).
How to create a Pivot Table (basic steps)
- Prepare data as a table: each column has a header, no blank rows/merged cells.
- Select the data range (or click inside the table) and choose Insert → PivotTable.
- Place fields into Rows, Columns, Values and Filters areas in the PivotTable Field List.
- Change the summary function of a Value field (e.g., Sum, Count, Average) as needed.
- Use filters, sort or group items (dates or numeric ranges) to refine the view.
Key operations and features
- Summarize by: Sum, Count, Average, Max, Min, StdDev etc. (choose via Value Field Settings).
- Grouping: Group date fields by Month/Quarter/Year or group numeric ranges (e.g., ages 0–10, 11–20).
- Drill-down: Double-click a value to see source rows that make it up.
- Calculated fields/items: create custom calculations inside the pivot (e.g., Profit = Sales - Cost).
- Refresh: Pivot tables don’t auto-update when source data changes — use Refresh.
- GETPIVOTDATA: formula to extract a specific value from a pivot table into a cell.
- Pivot Charts & Slicers: Visual, interactive filters and charts linked to the pivot table.
Best practices
- Keep source data clean: headers, no subtotals, consistent data types.
- Convert your source to a Table (so range expands automatically).
- Avoid merged cells in the source range.
- Use clear field names (single-row headers).
- School marks: Given a table of student names, class, subject and marks, create a pivot table with Student or Class in Rows, Subject in Columns and Marks in Values (set to Average) to show average marks per student and per subject.
- Sales data: From a sheet with Date, Region, Salesperson, Product and Amount, build a pivot table with Region in Rows, Product in Columns and Amount in Values (Sum). Add Date to Columns (grouped by Month) to see monthly product sales by region.
- Inventory: With Item, Category and Quantity columns, place Category in Rows and Quantity in Values (Sum) to get total stock per category. Add a Filter for Warehouse to view per location.
- Attendance: Table with Student, Date and Status (Present/Absent). Put Student in Rows and Status in Columns with Count of Status to get total Presents/Absents per student.
- \[SUM(range) — adds numbers in a range (useful outside pivot tables).\]
- \[AVERAGE(range) — calculates mean of numbers.\]
- \[COUNT(range) / COUNTA(range) — counts numeric / non-empty entries.\]
- \[COUNTIF(range\]\[criteria) — counts cells meeting a condition (e.g., =COUNTIF(B2:B100, "Math")).\]
- \[SUMIF(range\]\[criteria\]\[sum_range) / SUMIFS(sum_range\]\[criteria_range1\]\[crit1, ...) — conditional sums.\]
- \[COUNTIFS — multiple-condition counts.\]
What‑If Analysis and Scenario Tools
What‑If Analysis and Scenario Tools
Key Point: SUM(range) — total of a range of numbers
What‑If Analysis is a set of spreadsheet techniques used to explore how changing input values affects results. It helps you test different possibilities (hypotheses) quickly without rewriting formulas. It is useful for budgeting, forecasting, planning and decision making.
Main types
- Goal Seek — Changes one input value to make a single formula result reach a target. Use when you know the desired result and need the input that produces it.
- Scenario Manager (Scenarios) — Saves and compares a few different sets of inputs (for example: Best, Worst, and Likely). Each scenario is a complete set of values for several input cells; you can switch between scenarios to see different outcomes.
- Data Tables — Show results for many input values at once. One‑variable tables vary one input and show corresponding outputs; two‑variable tables vary two inputs and show a grid of outputs.
How they work (steps)
- Goal Seek: Select the cell with the formula (Set Cell), choose the target value (To Value) and pick the input cell to change (By Changing Cell). Run Goal Seek and it finds an input that achieves the target.
- Scenarios: Identify the input cells that change. Create scenarios by entering different values for those cells and naming each scenario. Use a summary to view the formula results for each scenario side by side.
- Data Table: Put the input values in a column (one‑variable) or both a row and a column (two‑variable). Link the top-left cell of the table to the formula cell. Use the Data Table command to fill the table with results for every input value.
When to use which tool
- Use Goal Seek when you have one unknown input and one target result.
- Use Scenarios to compare a few different realistic situations that change several inputs at once.
- Use Data Tables to examine many possible input values and see the corresponding outputs at a glance.
Limitations and tips
- Goal Seek only changes one cell and finds one solution (may fail if no solution or multiple solutions exist).
- Scenarios are manual to set up but good for named cases; use scenario summary reports for comparison.
- Data Tables can slow large workbooks. Freeze or copy results if you need to keep them while changing formulas.
- Monthly savings plan: Formula cell calculates final balance based on monthly deposit and interest. Use Goal Seek to find the monthly deposit required to reach a target balance by a set month.
- School fundraiser: Revenue = Price * Quantity. Create scenarios (Low, Medium, High) for expected quantity sold and compare total revenue and profit under each scenario.
- Household budget: Use a two‑variable data table to see how total monthly expense changes if electricity cost per unit and number of units used change.
- Small shop profit planning: Define Price, Quantity, Fixed cost, Variable cost. Create scenarios: ‘Best’ (high sales, low costs), ‘Worst’ (low sales, high costs) and compare Net Profit for each.
- Loan planning (approximate): Use Goal Seek to find the maximum principal you can afford for a fixed EMI and tenure, using the EMI formula (see formulas).
- \[SUM(range) — total of a range of numbers\]
- \[Revenue = Price * Quantity\]
- \[Total Cost = Fixed Cost + (Variable Cost per unit * Quantity)\]
- \[Profit = Revenue - Total Cost\]
- \[BreakEvenUnits = Fixed Cost / (Price - Variable Cost per unit)\]
- \[Percentage change = (New - Old) / Old * 100\]
Data Tools and Cleaning
Data Tools and Cleaning
Key Point: TRIM(text) — removes extra spaces: e.g. =TRIM(A2)
Data Tools and Cleaning in an electronic spreadsheet means using built‑in features and formulas to prepare raw data so it is accurate, consistent and ready for analysis. Cleaning tasks include removing duplicates, fixing spacing and case, converting text to numbers or dates, splitting and joining fields, handling missing values, and validating inputs. Spreadsheets provide both menu commands (like Remove Duplicates, Text to Columns, Data Validation, Flash Fill) and functions (TRIM, CLEAN, SUBSTITUTE, VALUE, DATEVALUE, IFERROR, etc.) to automate these tasks.
Common steps in a cleaning workflow:
- Inspect: look for inconsistent formats, extra spaces, missing entries, and outliers using filters and conditional formatting.
- Standardize text: remove invisible characters, trim spaces, and set consistent capitalization.
- Convert types: turn numeric text to numbers and text dates to real date values so formulas and charts work correctly.
- Split and merge: break full names or addresses into parts (Text to Columns) or join fields (CONCAT/CONCATENATE or &).
- Remove duplicates and validate entries: use Remove Duplicates and Data Validation (drop‑down lists, rules) to prevent bad data.
- Handle missing values: fill, interpolate, or mark blanks using formulas like IF, IFERROR or use aggregation to decide replacements.
Tips and small procedures:
- Remove extra spaces: TRIM(cell) removes leading, trailing and repeated internal spaces.
- Remove non‑printable characters: CLEAN(cell) removes many hidden characters imported from other systems.
- Replace patterns: SUBSTITUTE(cell, 'old', 'new') or Find & Replace for bulk edits.
- Convert numeric text to number: VALUE(cell) or multiply by 1 (cell*1); for locale issues use NUMBERVALUE.
- Convert text dates to real dates: DATEVALUE(textDate) or use Text to Columns with Date option.
- Detect duplicates: use COUNTIF(range, value)>1 or built‑in Remove Duplicates; use UNIQUE to extract unique list.
- Prevent bad entries: Data Validation to allow only numbers within a range, or restrict entries to items on a list.
Using these tools makes datasets reliable for sorting, filtering, pivot tables and charts so that downstream analysis and reports are correct.
- Student marks sheet: remove leading/trailing spaces in names with =TRIM(A2), fix capitalization with =PROPER(TRIM(A2)), convert marks stored as text to numbers with =VALUE(B2), then use Remove Duplicates to clear repeated student rows.
- Contacts list from phone export: use TRIM and SUBSTITUTE to remove unwanted characters (e.g., SUBSTITUTE(A2, '‑', '') ), split full name into first and last with Text to Columns using space as delimiter, and use Data Validation to ensure phone numbers have 10 digits.
- Sales CSV with mixed date formats: standardize date strings using DATEVALUE or Text to Columns (choose DMY/MDY as appropriate), then sort by date and build time series charts. Use IFERROR to catch conversion errors: =IFERROR(DATEVALUE(A2), "check")
- Inventory data: detect duplicate product codes with =COUNTIF($A$2:$A$100, A2)>1 and highlight with conditional formatting; use VLOOKUP/XLOOKUP to fill missing category names from a reference table.
- Imported CSV with hidden characters: apply CLEAN(TRIM(cell)) to each text field, then copy‑paste values to remove formulas and finalize the cleaned table.
- \[TRIM(text) — removes extra spaces: e.g. =TRIM(A2)\]
- \[CLEAN(text) — removes non‑printable characters: e.g. =CLEAN(A2)\]
- \[SUBSTITUTE(text\]\[old_text\]\[new_text) — replace substrings: e.g. =SUBSTITUTE(A2, "/", "-")\]
- \[UPPER/LOWER/PROPER(text) — change case: e.g. =PROPER(TRIM(A2))\]
- \[VALUE(text) or NUMBERVALUE(text\]\[decimal_sep\]\[group_sep) — convert text to number: e.g. =VALUE(B2)\]
- \[DATEVALUE(text) — convert text to a date serial: e.g. =DATEVALUE(C2)\]
Linking, Importing and Exporting Data
Linking, Importing and Exporting Data
Key Point: =Sheet2!A1 (reference a cell in another sheet within the same workbook)
Overview
Linking, importing and exporting data are techniques used to move or connect information between spreadsheets, files and programs. They let you reuse data, keep multiple sheets synchronized, combine data from many sources and share results in different formats.
Linking
- Linking creates a live connection from one cell or workbook to another so that when the source changes, the destination updates automatically.
- Types of links:
- Within the same sheet: cell references like =A1
- Between sheets in the same workbook: =Sheet2!B3
- Between different workbooks (external reference): =[Sales.xlsx]Jan!$B$2
- 3D references (same cell across many sheets): =SUM(Sheet1:Sheet3!A1)
- How to create links in typical spreadsheet programs:
- Excel / LibreOffice Calc: Type = then click the source cell in the other sheet/workbook; press Enter. When linking to another file, that workbook usually must be open for the link to be created easily.
- Google Sheets: Use IMPORTRANGE() to pull ranges from another Google Sheet.
- Link characteristics:
- Dynamic: updates automatically (unless links are set to manual update).
- Can be relative or absolute (use $ to fix row/column).
- May prompt for permission/security when opening files with external links.
Importing Data
- Importing means bringing external data into a spreadsheet without manually retyping it. Common sources: CSV, TXT, another spreadsheet, database, web page or XML.
- Common import methods:
- Open or Insert > From Text/CSV: choose delimiter (comma, tab), set text encoding (UTF-8), preview and import.
- From other spreadsheets: use built‑in import or copy/paste special (Paste values or Paste link).
- From web: use web queries or functions (e.g., IMPORTHTML / IMPORTXML in Google Sheets) to fetch tables from a webpage.
- From databases: use ODBC/OLE DB connections or dedicated Data > Get External Data features to query and refresh data.
- Import tips:
- Always check delimiters, headers and encoding so columns parse correctly.
- Preview before import and clean data (trim spaces, fix date formats) as needed.
Exporting Data
- Exporting means saving spreadsheet data into another file format for use elsewhere (web upload, other programs, backup).
- Common export formats: .xlsx, .xls, .csv, .ods, .txt, .pdf, .html, .xml.
- Export considerations:
- CSV exports flatten formatting and keep plain text; good for importing into databases or web services but watch delimiters and encoding.
- PDF/HTML preserve layout for sharing or publishing, not for further data editing.
- When exporting to older Excel formats (.xls) or CSV, formulas may be lost or converted — values are kept.
Managing Links and Data Flow
- Update and refresh: linked data can be set to auto-refresh or manual refresh depending on the tool.
- Breaking links: you can convert links to values to freeze data or break unwanted external dependencies.
- Security: external links may show warnings; verify sources before enabling automatic updates.
Best Practices
- Keep source files in a stable location; moving or renaming files breaks external links.
- Use meaningful sheet and file names to reduce confusion when linking.
- Document where your data comes from and how often it should refresh.
- When sharing, decide whether to send live links (requires access to sources) or export a static copy (e.g., CSV or PDF).
Summary
Linking keeps data live and synchronized across sheets and workbooks. Importing brings external raw data into your workbook for processing. Exporting creates copies or alternate formats for sharing, publishing or using in other programs. Understanding the differences and tools helps you manage accurate, maintainable data workflows.
- School marks consolidation: Class teachers keep individual Excel files with student marks. The class coordinator creates a master workbook that links to each teacher's workbook so the master updates automatically when teachers change marks (external references like =[TeacherA.xlsx]Sheet1!B2).
- Monthly sales report: Each regional office uploads a CSV of transactions. The central analyst imports each CSV into separate sheets and then uses formulas (e.g., SUM and VLOOKUP) to build aggregated reports and charts.
- Web data import: A student imports a table of daily temperatures from an HTML page using IMPORTHTML (Google Sheets) or a web query (Excel) to analyze weather trends.
- Exporting contacts: A teacher exports a class contact list from spreadsheet to CSV (comma-separated) and then uploads the CSV to a school messaging system that accepts CSV imports.
- \[=Sheet2!A1 (reference a cell in another sheet within the same workbook)\]
- \[=[Book1.xlsx]Sheet1!$B$2 (external workbook reference in Excel — workbook name in brackets)\]
- \[=SUM(Sheet1:Sheet3!A1) (3D reference summing cell A1 across Sheet1 to Sheet3)\]
- \[=VLOOKUP(A2, '[Data.xlsx]Lookup'!$A$1:$C$100, 3\]\[FALSE) (lookup value in a table located in another workbook)\]
- \[=IMPORTRANGE("https://docs.google.com/spreadsheets/d/KEY","Sheet1!A1:C10") (Google Sheets function to import a range from another Google Sheet)\]
- \[=IMPORTHTML("http://example.com/page","table",1) (Google Sheets: import first table from a webpage)\]
Protection, Sharing and Collaboration
Protection, Sharing and Collaboration
Key Point: COUNTIF(range, criteria) — count how many edits or entries meet a condition. Example: =COUNTIF(D:D, "Alice") counts occurrences of 'Alice' in column D (e.g., EditedBy).
Overview
Protection, Sharing and Collaboration in electronic spreadsheets means controlling who can see or change your workbook and enabling multiple users to work together safely. It covers file-level security (passwords, encryption), workbook and sheet protection (locking structure and cells), data validation to prevent bad entries, and collaboration tools (sharing links, comments, co-authoring, version history).
Types of protection
- File encryption / Password to open – Prevents anyone without the password from opening the file. (File > Info > Protect Workbook > Encrypt with Password)
- Read-only / Password to modify – Allows opening but restricts editing unless password supplied.
- Protect Workbook (Structure) – Stops insertion, deletion, renaming or moving of sheets inside the workbook.
- Protect Sheet – Restricts changes to the worksheet: you can allow specific actions (format cells, sort, use AutoFilter, etc.).
- Cell locking & unlocking – By default cells are locked, but locking only takes effect after protecting the sheet. Unlock specific cells you want users to edit before protecting.
- Data validation – Restricts inputs (e.g., only numbers, dates, or values from a list) to prevent wrong data.
- Digital signatures – Certify that workbook content is from a trusted source and hasn’t been tampered with.
Sharing and Collaboration
- Co-authoring (real-time collaboration) – Multiple users edit simultaneously in cloud-hosted spreadsheets (Google Sheets, Excel on OneDrive/SharePoint). Changes appear in near real-time and each user's cursor/color is shown.
- Share links & permissions – Share a link with View / Comment / Edit permissions. Use expiration or require sign-in for sensitive files.
- Comments and Notes – Leave threaded comments for discussion; resolve comments when done. Use @mentions to notify specific users.
- Version history – Restore earlier versions or review what changed and who changed it. Helpful for undoing mistakes or auditing.
- Track Changes / Compare & Merge – In desktop Excel you can track changes or compare two workbooks and accept/reject modifications.
- Conflict management – When two people edit the same cell offline, merge prompts or last-save-wins may occur; use cloud co-authoring or locking to avoid conflicts.
Practical workflow: protect and share safely
- Decide which sheets/cells must remain editable. Unlock those cells (Format Cells > Protection > uncheck Locked).
- Set up Data Validation for key input cells to reduce errors.
- Protect the sheet (Review > Protect Sheet) and set a strong password if needed. For workbook structure protection use Protect Workbook.
- Store the file in a cloud service (Google Drive, OneDrive) to enable co-authoring and version history.
- Share with specific people using Edit/View/Comment permissions and use @mentions for collaboration tasks.
- Monitor version history and resolve comments; periodically review access permissions.
Best practices and tips
- Use cloud-based co-authoring for real-time work; avoid emailing many copies.
- Keep an unprotected master copy (or a read-only master) and allow contributors to work on copies if you need strict control.
- Use descriptive comments and change notes (or an "EditedBy" and "EditedOn" log table) to track manual edits when automatic history is not available.
- Give minimum necessary permissions: if someone only needs to view, do not give Edit rights.
- Use data validation and conditional formatting (e.g., highlight invalid entries) to catch mistakes early.
- School markbook: The teacher locks total and grade formulas, unlocks cells for marks entry, protects the sheet with a password, and shares the workbook with senior teachers as view-only. Real steps: unlock data-entry cells → set validation (0–100) → Protect Sheet → Share link as view-only with others.
- Group project plan: Team stores a task tracker on Google Sheets. Each member edits assigned rows; comments used for discussion. Version history is used to restore an earlier schedule after an accidental deletion.
- Budget approval workflow: Finance owner protects formula cells and structure; prepares a shared copy for department heads to fill their department’s expenses. Department heads have edit permission only on their sheet; finance has full access.
- Survey data collection: A Google Form feeds responses to a sheet. The responses sheet is protected from edits; analysts are given a separate, linked sheet to analyze cleaned data.
- Attendance register: Teacher applies data validation (only 'Present'/'Absent' from a list), protects headers and summary formulas, and shares with the principal as read-only.
- \[COUNTIF(range\]\[criteria) — count how many edits or entries meet a condition\]\[Example: =COUNTIF(D:D, "Alice") counts occurrences of 'Alice' in column D (e.g.\]\[EditedBy).\]
- \[COUNTIFS(range1\]\[criteria1\]\[range2\]\[criteria2) — count with multiple conditions\]\[Example: =COUNTIFS(UserRange, "Alice"\]\[DateRange, ">=" & DATE(2025,1,1)).\]
- \[UNIQUE(range) — list distinct collaborators (Google Sheets / Excel 365)\]\[Example: =UNIQUE(D2:D100).\]
- \[FILTER(range\]\[condition) — extract rows edited by a user\]\[Example: =FILTER(A2:E100\]\[D2:D100="Alice").\]
- \[TODAY() and NOW() — insert current date/time in logs\]\[Example in a manual log: =NOW() when a change is made.\]
- \[CONCAT or & — build audit text\]\[Example: =A2 & " by " & B2 (cell A2 content plus editor name in B2).\]
Printing and Page Setup
Printing and Page Setup
Key Point: =SUM(B2:F2) — Calculates total marks for a student (useful before printing a marksheet).
What it is: "Printing and Page Setup" is the process of preparing a spreadsheet for physical (or PDF) output so the printed result looks correct, readable and professional. Page setup controls page size, orientation, margins, headers/footers, scaling, print area and how page breaks appear.
Key page-setup options (general spreadsheet apps):
- Paper size: Choose A4, Letter, etc., to match the paper in the printer.
- Orientation: Portrait (tall) or Landscape (wide) — use Landscape for wide tables.
- Margins: Top/Bottom/Left/Right — reduce margins to fit more columns.
- Scale / Fit to: Reduce or enlarge the sheet when printing. Options include percent scaling or "Fit all columns on one page" / "Fit sheet on one page".
- Print area: Specify which range of cells to print (so you don’t print the whole sheet).
- Print titles: Repeat specific rows (e.g., header row) and columns on every printed page.
- Headers and footers: Add school/business name, date, page numbers, file name or custom text.
- Gridlines and row/column headings: Choose whether to print gridlines and/or A,B,C... and 1,2,3… headings.
- Page breaks: Automatic page breaks are inserted; you can view and move manual page breaks to control content per page.
- Print preview: Shows how the pages will look before printing — use it to fix layout issues.
Typical workflow (concise):
- Prepare and format your sheet (fonts, column widths, number formats).
- Set the Print Area to the exact cells you want printed.
- Open Page Setup / Page Layout: choose paper size, orientation and margins.
- Use Scale / Fit to or adjust column widths so content fits; set "Print Titles" for repeating headers.
- Check Headers/Footers for page numbers and other details.
- Use Print Preview and Page Break Preview to verify output; move page breaks if needed.
- Adjust print settings (copies, duplex, print range) and print or export to PDF.
Tips & best practices:
- Use Landscape for wide tables and Portrait for mostly vertical data.
- Set header rows as "Print Titles" so column headers appear on every page during printing.
- Turn on gridlines only if they help readability; otherwise use borders selectively.
- Use "Fit to" carefully — very small scaling can make text unreadable. Prefer adjusting column widths and font size first.
- For long reports, include page numbers and date/time in the footer to help organization.
- Use Print Preview every time to avoid wasting paper and ink.
Troubleshooting common problems:
- If columns are cut off: switch to Landscape, reduce margins, or use "Fit all columns on one page".
- If text is too small: instead of extreme scaling, reduce columns or split the sheet into multiple printable reports.
- If header row is missing on pages after page 1: set Print Titles / Repeat Rows.
- School marksheet: Set print area to the marks table, repeat the header row as a print title, use Landscape if subject columns are many, add school name and "Class & Section" in the header, and include page numbers in the footer before printing student reports.
- Monthly budget report: Format the expense table, choose A4 portrait, include gridlines for clarity, set "Fit to 1 page wide" so categories appear on one page, and print a PDF to share with family/office.
- Attendance register: Use print titles to repeat the student name column and date header row on every printed page; print gridlines and use narrow margins to include more dates per page.
- Invoice or bill: Set paper size to A4 or Letter, set narrow margins, include company name and logo in header, print row and column headings off, and export to PDF for emailing.
- Timetable or roster: Use Landscape orientation and adjust scaling so the full week timetable fits on a single page for easy wall posting.
- \[=SUM(B2:F2) — Calculates total marks for a student (useful before printing a marksheet).\]
- \[=AVERAGE(B2:B31) — Computes average daily attendance or class average for printing in a summary section.\]
- \[=COUNTIF(C2:C31, "P") — Counts days marked 'P' (Present) in an attendance column to print attendance totals.\]
- \[=ROUND((E2 / F2) * 100, 2) — Calculates percentage with 2 decimal places for marksheet or financial ratios before printing.\]
- \[=MAX(B2:B31) and =MIN(B2:B31) — Show highest and lowest values in a report to be printed (e.g.\]\[top score and lowest score).\]
- \[=CONCATENATE(A1, " - "\]\[TEXT(TODAY(), "dd-mmm-yyyy")) — Create a dynamic header string (e.g., 'Class 9 - 10-Oct-2025') that you can copy into header/footer before printing.\]
Templates, Styles and Formatting
Templates, Styles and Formatting
Key Point: SUM(A2:A10) — adds a range of numbers (useful for totals in templates).
Templates, styles and formatting are tools in electronic spreadsheets that help you present data clearly, reuse designs and apply consistent appearance across worksheets.
- Templates: Pre-made workbook or worksheet layouts that include ready cells, formulas, charts and formatting. Use a template to save time for recurring tasks (invoices, grade sheets, budgets). Create a template by designing a sheet, saving it as a template file and opening it whenever needed.
- Styles: Named combinations of formatting (font, size, color, number format, borders, alignment) that you can apply in one click. Built-in styles (Title, Heading, Accent) ensure consistency. You can modify or create custom styles for headings, data, totals, etc.
- Cell formatting: Individual formatting options you apply to cells:
- Number formats: General, Number, Currency, Percentage, Date, Time, Custom.
- Text formatting: font family, size, bold/italic/underline, color.
- Alignment and wrapping: left/center/right, vertical alignment, wrap text, merge cells.
- Borders and fills: cell borders, background colors to separate sections.
- Conditional formatting: apply formats automatically based on rules (e.g., highlight marks below passing grade).
- Format Painter: copy formatting from one cell and apply to others.
- Best practices:
- Keep layout and raw data separate (use different sheets for input, calculations, and reports).
- Use styles for consistent headings, data and totals.
- Use templates for repetitive documents to avoid rebuilding formats and formulas.
- Use named ranges to make formulas readable and templates portable.
- Limit use of many different fonts and colors; use color sparingly for emphasis.
- Printing and page layout: Templates can include print settings (margins, headers/footers, page breaks, orientation) so every time you use the template, the output prints consistently.
- Invoice template: Header with company name style, customer details area, table for items (quantity, rate, amount), formulas for line total and grand total, currency number format and a final bold Total style.
- Marks sheet template: Student details area, table of subjects and marks, conditional formatting to highlight marks below 33, column with formula =AVERAGE(B2:F2) to compute average and a custom style for 'Passed' and 'Failed' status.
- Monthly budget template: Categories (Rent, Food, Transport), actual vs budget columns, SUM formulas for totals, conditional formatting to highlight overspend, and a pie chart sheet linked to formatted categories.
- Attendance register: Dates across columns with Check/Absent marks, custom styles for Present/Absent cells (green/red), and conditional formatting counting absences using COUNTIF.
- Project timeline template: Task list, start and end dates formatted as dd-mmm-yyyy, progress column with percentage format and a Gantt-style bar chart created from formatted data.
- \[SUM(A2:A10) — adds a range of numbers (useful for totals in templates).\]
- \[AVERAGE(B2:B10) — calculates average (e.g.\]\[average marks or monthly sales).\]
- \[COUNT(A2:A30) — counts numeric entries\]\[COUNTA counts non-empty cells.\]
- \[COUNTIF(range\]\[criteria) — counts cells meeting a condition (e.g.\]\[COUNTIF(C2:C31,"Absent") ).\]
- \[SUMIF(range\]\[criteria\]\[sum_range) — sums values that meet a condition (e.g.\]\[sum expenses of a certain category).\]
- \[IF(condition\]\[value_if_true\]\[value_if_false) — logical test to assign statuses (e.g.\]\[IF(B2>=33, "Pass", "Fail")).\]
Efficiency Tips and Shortcuts
Efficiency Tips and Shortcuts
Key Point: SUM(range) — adds numbers. Example: =SUM(B2:B12)
Overview
Efficiency in electronic spreadsheets means doing common tasks faster, avoiding errors, and making your sheets easier to read and maintain. Below are practical tips, keyboard shortcuts, and workflow shortcuts that students can apply in programs like Microsoft Excel, Google Sheets or LibreOffice Calc.
Quick navigation & selection
- Move to edges: use Ctrl + Arrow to jump to the end of a data region.
- Select blocks: Ctrl + Shift + Arrow to select to the last filled cell, Ctrl + Space to select a column, Shift + Space to select a row.
- Go To: use F5 or Ctrl + G to jump to a specific cell or named range.
Editing & formula shortcuts
- F2 to edit a cell in place; Enter to accept, Esc to cancel.
- Ctrl + D to fill down, Ctrl + R to fill right; Ctrl + Enter to enter the same value into multiple selected cells.
- F4 to toggle absolute/relative references when editing a formula (A1 → $A$1 → A$1 → $A1).
- Alt + = to quickly insert SUM for an adjacent range.
- Ctrl + ` (grave) to toggle display of formulas instead of results.
Autofill, Flash Fill & tables
- Drag the fill handle to copy values or extend a series (dates, numbers). Double-click the fill handle to auto-fill down as far as adjacent data goes.
- Flash Fill (Excel) detects patterns (e.g., splitting or combining names) and completes columns automatically (Data > Flash Fill or Ctrl + E).
- Convert ranges to a Table (Insert > Table) to get automatic column headers, structured references, filter arrows and dynamic ranges for formulas.
Paste Special & formatting
- Use Paste Special to paste values only, formats, formulas, or transpose rows/columns (right-click > Paste Special).
- Format Painter copies formatting quickly between ranges.
- Limit excessive cell formatting — it slows files. Use cell styles or Tables for consistent formatting.
Data tools that save time
- Filters and Sorts: quickly analyze subsets of data with filter dropdowns.
- Conditional Formatting: visually highlight top/bottom values, duplicates, or apply color scales to see patterns instantly.
- Data Validation: prevent errors by restricting entries to a list, number range, or date range.
- Find & Replace (Ctrl + F, Ctrl + H) to correct or update many cells at once.
- PivotTables: summarize large datasets in seconds (drag fields to rows/cols/values) and create quick PivotCharts.
Formula design & performance
- Prefer helper columns (intermediate steps) to very long nested formulas — easier to debug and faster to calculate.
- Use named ranges instead of cell addresses for clarity and easier maintenance.
- Avoid excessive volatile functions (e.g., NOW, TODAY, INDIRECT, OFFSET) in large workbooks — they recalc often and slow performance.
- Use INDEX+MATCH instead of VLOOKUP for flexible, faster lookups and to avoid column-order dependence.
Collaboration & protection
- Protect sheets or ranges to prevent accidental edits, and use comments/notes to explain complex formulas.
- Keep a clean layout: inputs/parameters at the top or a separate sheet, results summarized on a dashboard sheet for easy review.
Audit & check
- Trace precedents/dependents and use formula auditing tools to find errors.
- Use Error Checking rules and highlight inconsistent formulas.
Summary
Combining keyboard shortcuts, good layout practices (tables, named ranges), built-in automation (Flash Fill, PivotTables, conditional formatting) and thoughtful formulas makes spreadsheet work much faster, less error-prone and easier to share or update.
- Student gradebook: Use a Table for student list and marks. Formula for total: =SUM(B2:E2). Average: =AVERAGE(B2:E2). Apply conditional formatting to highlight marks < 40. Use PivotTable to get class average per subject.
- Monthly budget and expense tracker: List transactions with Category, Date, Amount. Use SUMIF to total each category, e.g. =SUMIF(C:C, "Food", D:D). Create a pie chart showing category percentage and a line chart for monthly spending trend. Use filters to view one month quickly.
- Inventory restock alert: Columns: Item, Stock, ReorderLevel. Use formula =IF(B2<=C2, "Reorder", "OK") to flag items. Apply conditional formatting to highlight 'Reorder' rows and use data validation to provide a dropdown of categories.
- Attendance tracker: Mark P/A for each day. Use COUNTIF to count present days per student: =COUNTIF(C2:AG2, "P"). Calculate attendance %: =COUNTIF(C2:AG2, "P")/COUNTA(C2:AG2). Use freeze panes to keep student names visible while scrolling.
- Sales lookup & commission: Create a table of Products with Price and CommissionRate. Use VLOOKUP or INDEX/MATCH to fetch price: =VLOOKUP(E2, Products!A:C, 2, FALSE). Commission = Price * CommissionRate.
- \[SUM(range) — adds numbers\]\[Example: =SUM(B2:B12)\]
- \[AVERAGE(range) — calculates mean\]\[Example: =AVERAGE(B2:B12)\]
- \[COUNT(range) / COUNTA(range) — counts numbers / non-empty cells\]\[Example: =COUNT(A2:A30), =COUNTA(A2:A30)\]
- \[COUNTIF(range\]\[criteria) — counts cells meeting a criterion\]\[Example: =COUNTIF(C2:C50, ">=50")\]
- \[SUMIF(range\]\[criteria, [sum_range]) — conditional sum\]\[Example: =SUMIF(CategoryRange, "Food"\]\[AmountRange)\]
- \[IF(condition\]\[value_if_true\]\[value_if_false) — conditional logic\]\[Example: =IF(B2<=C2, "Reorder", "OK")\]
Practical Examples and Exercises
Practical Examples and Exercises
Key Point: SUM(range) — adds numbers. Example: =SUM(B2:B10)
Practical examples and exercises for the Electronic Spreadsheet (Advanced) show how spreadsheets solve real problems by combining data entry, formulas, functions, formatting, analysis tools and charts. Exercises build skills in data organization, automatic calculation, conditional logic, lookup, and visual presentation.
Core steps when approaching exercises:
- Plan the worksheet layout (labels, data columns, totals).
- Enter sample data and apply consistent formatting (numbers, dates, text).
- Use formulas and built-in functions to calculate results rather than typing values.
- Apply conditional formatting and data validation to reduce errors and highlight results.
- Create charts to visualise patterns and use sort/filter or basic pivot analysis for summaries.
Common exercise types include: student marksheets, monthly expense trackers, inventory managers, bill calculators (slab rates), and basic what-if scenarios (changing inputs to see outcomes). Each exercise should emphasise correct use of cell references (relative and absolute), reliable functions, and meaningful charts.
- Student marksheet: Columns for subjects, marks; calculate Total =SUM(B2:F2), Average =AVERAGE(B2:F2), Grade using IF: =IF(G2>=90,"A+",IF(G2>=75,"A",IF(G2>=60,"B",IF(G2>=40,"C","F")))) ; use conditional formatting to highlight failing students and a bar chart to compare subject totals.
- Monthly expense tracker: Date, Category, Amount. Use SUMIF to total by category: =SUMIF(B:B,"Food",C:C). Create a pie chart of total expenses by category and a line chart of monthly totals.
- Inventory management: Item, OpeningQty, Received, Sold, ClosingQty =OpeningQty+Received-Sold. Use IF for reorder alert: =IF(E2<=ReorderLevel,"Reorder","OK"). Use COUNTIF to count low-stock items.
- Electricity bill calculator with slabs: Use nested IF or LOOKUP to apply different per-unit rates. Example using LOOKUP: =B2*LOOKUP(B2,{0,100,201},{0.5,1.0,1.5}) (adjust to correct slab ranges) and SUM to add fixed charges.
- Simple loan/EMI schedule (optional advanced): Use PMT to compute EMI: =-PMT(annual_rate/12,years*12,principal). Build amortization table with interest and principal columns and cumulative totals.
- \[SUM(range) — adds numbers\]\[Example: =SUM(B2:B10)\]
- \[AVERAGE(range) — mean\]\[Example: =AVERAGE(B2:B10)\]
- \[MIN(range)\]\[MAX(range) — smallest and largest values\]
- \[COUNT(range)\]\[COUNTA(range) — counts numeric entries or non-empty cells\]
- \[COUNTIF(range,criteria) — conditional counts\]\[Example: =COUNTIF(C2:C50,">=40")\]
- \[SUMIF(range,criteria,sum_range) — conditional sum\]\[Example: =SUMIF(B:B,"Food",C:C)\]
Key Concepts
- Spreadsheet
- A software application for organizing, calculating and analyzing data in a grid of rows and columns.
- Workbook
- A file that contains one or more worksheets in a spreadsheet program.
- Worksheet
- A single tab within a workbook made up of cells organized in rows and columns.
- Cell
- The intersection of a row and a column that stores a single data item (value, text or formula).
- Cell Reference
- The address of a cell identified by its column letter and row number (e.g., A1).
- Range
- A group of contiguous cells selected together, written using start:end notation.
- Formula
- An expression entered in a cell that performs calculations using operators and cell references, starting with =.
- Function
- A predefined routine that performs a specific calculation, taking arguments inside parentheses.
- Relative Reference
- A cell reference that changes when a formula is copied to another cell (e.g., A1).
- Absolute Reference
- A fixed cell reference that does not change when copied, marked with $ (e.g., $A$1).
- Mixed Reference
- A reference with one fixed part (row or column) and one relative part (e.g., $A1 or A$1).
- Named Range
- A meaningful name assigned to a cell or range to simplify formulas and navigation.
- Fill Handle (Autofill)
- A small square at the cell corner used to copy cell contents or continue a series by dragging.
- Sort
- Arrange rows based on the values in one or more columns in ascending or descending order.
- Filter
- Temporarily display only rows that meet specified criteria while hiding others.
- Conditional Formatting
- Apply formatting (color, font, etc.) to cells automatically based on rules or conditions.
- Data Validation
- Set rules to restrict the type or range of data entered in cells (e.g., lists, numbers).
- IF Function
- A logical function that returns one value if a condition is TRUE and another if FALSE.
- VLOOKUP
- A lookup function that searches the first column of a range for a key and returns a value from a specified column.
- Chart
- A graphical representation of worksheet data (bar, line, pie, etc.) to visualize trends and comparisons.
Practice Questions
-
What is the difference between a relative cell reference and an absolute cell reference in a spreadsheet? / स्प्रेडशीट में रिलेटिव सेल संदर्भ और एब्सोल्यूट सेल संदर्भ में क्या अंतर है? (a) Relative changes when copied; absolute stays fixed / रिलेटिव कॉपी करने पर बदलता है; एब्सोल्यूट स्थिर रहता है (b) Relative stays fixed; absolute changes when copied / रिलेटिव स्थिर रहता है; एब्सोल्यूट बदलता है (c) Both change when copied / दोनों कॉपी करने पर बदलते हैं (d) Both stay fixed when copied / दोनों स्थिर रहते हैं
Show answer
(a) Relative changes when copied; absolute stays fixed / रिलेटिव कॉपी करने पर बदलता है; एब्सोल्यूट स्थिर रहता है — Relative reference (e.g., A2) adjusts when copied to a new location. Absolute reference (e.g., $A$2) uses dollar signs to lock both row and column so it always refers to the same cell. / रिलेटिव संदर्भ (जैसे A2) कॉपी होने पर नई स्थिति के अनुसार बदल जाता है। एब्सोल्यूट संदर्भ (जैसे $A$2) डॉलर चिह्न का उपयोग करके पंक्ति और स्तंभ दोनों को लॉक करता है।
-
A student's marks are in cell B2. Which formula correctly checks if the student passed (marks ≥ 35)? / एक छात्र के अंक सेल B2 में हैं। कौन-सा फ़ॉर्मूला सही ढंग से जाँचता है कि छात्र पास हुआ या नहीं (अंक ≥ 35)? (a) =IF(B2=35, "Pass", "Fail") / =IF(B2=35, "Pass", "Fail") (b) =IF(B2>=35, "Pass", "Fail") / =IF(B2>=35, "Pass", "Fail") (c) =IF(B2>35, "Pass", "Fail") / =IF(B2>35, "Pass", "Fail") (d) =PASS(B2, 35) / =PASS(B2, 35)
Show answer
(b) =IF(B2>=35, "Pass", "Fail") / =IF(B2>=35, "Pass", "Fail") — The >= operator means 'greater than or equal to', so a student scoring exactly 35 or above is marked Pass. The = operator (option a) would only pass those with exactly 35. / >= ऑपरेटर का अर्थ है 'इससे बड़ा या बराबर', इसलिए ठीक 35 या उससे अधिक अंक पाने वाले छात्र को पास माना जाता है।
-
What does VLOOKUP do in a spreadsheet? / स्प्रेडशीट में VLOOKUP क्या करता है? (a) Counts values vertically / मानों को लंबवत गिनता है (b) Searches for a value in the leftmost column of a table and returns a value from a specified column in the same row / तालिका के सबसे बाएँ कॉलम में मान खोजता है और उसी पंक्ति के निर्दिष्ट कॉलम से मान लौटाता है (c) Splits text vertically across cells / पाठ को सेलों में लंबवत विभाजित करता है (d) Sums a column of numbers / संख्याओं के एक कॉलम को जोड़ता है
Show answer
(b) Searches for a value in the leftmost column of a table and returns a value from a specified column in the same row / तालिका के सबसे बाएँ कॉलम में मान खोजता है और उसी पंक्ति के निर्दिष्ट कॉलम से मान लौटाता है — VLOOKUP(lookup_value, table_array, col_index_num, FALSE) is widely used to fetch related data, such as getting a student's grade from a marks table using the student ID. / VLOOKUP संबंधित डेटा प्राप्त करने के लिए व्यापक रूप से उपयोग किया जाता है।
-
In spreadsheets, the function ________ counts only cells that contain numbers in a specified range. / स्प्रेडशीट में, ________ फ़ंक्शन निर्दिष्ट श्रेणी में केवल संख्याएँ वाले सेलों को गिनता है।
Show answer
COUNT / काउंट — =COUNT(range) counts only cells with numeric values. =COUNTA(range) counts all non-empty cells including text. Use COUNT when you need to know how many numeric entries exist. / =COUNT(range) केवल संख्यात्मक मान वाले सेलों को गिनता है। =COUNTA(range) सभी गैर-रिक्त सेलों को गिनता है जिनमें पाठ भी शामिल है।
-
The ________ function in a spreadsheet returns the middle value of a dataset when arranged in order, and is less affected by extreme values than the mean. / स्प्रेडशीट में ________ फ़ंक्शन क्रम में व्यवस्थित डेटासेट का मध्य मान लौटाता है और औसत की तुलना में अत्यधिक मानों से कम प्रभावित होता है।
Show answer
MEDIAN / मीडियन — =MEDIAN(range) returns the middle value of a sorted dataset. It is a better central measure than AVERAGE when data contains outliers (very high or very low values). / =MEDIAN(range) क्रमबद्ध डेटासेट का मध्य मान लौटाता है। जब डेटा में आउटलायर होते हैं तो यह AVERAGE से बेहतर केंद्रीय माप है।
-
True or False: In a spreadsheet, SUMIF(A2:A10, "Science", B2:B10) adds the values in B2:B10 only for rows where column A contains "Science". / सत्य या असत्य: स्प्रेडशीट में SUMIF(A2:A10, "Science", B2:B10) केवल उन पंक्तियों के B2:B10 में मान जोड़ता है जहाँ कॉलम A में "Science" है।
Show answer
True / सत्य — SUMIF evaluates a condition range, checks for the criteria, and sums the corresponding cells in the sum range. This is very useful for category-based totals such as total marks in a particular subject. / SUMIF एक शर्त श्रेणी का मूल्यांकन करता है, मानदंड की जाँच करता है, और योग श्रेणी में संबंधित सेलों को जोड़ता है।
-
What is conditional formatting in a spreadsheet and give one example of its practical use? / स्प्रेडशीट में सशर्त स्वरूपण क्या है और इसके व्यावहारिक उपयोग का एक उदाहरण दीजिए?
Show answer
Conditional formatting automatically changes the appearance (color, font, icon) of cells based on rules. For example, in a class marksheet, you can use conditional formatting to highlight marks below 35 in red to instantly identify failing students without reading every cell manually. / सशर्त स्वरूपण नियमों के आधार पर सेलों की उपस्थिति (रंग, फ़ॉन्ट, आइकन) स्वचालित रूप से बदलता है। उदाहरण के लिए, कक्षा की अंक सूची में 35 से कम अंकों को लाल रंग में हाइलाइट कर सकते हैं।
-
A shop has prices in column A and a fixed discount rate of 10% stored in cell C1. Write the formula for the discounted price in B2 that can be correctly copied down to B3, B4, etc. / एक दुकान में कॉलम A में कीमतें हैं और सेल C1 में 10% की निश्चित छूट दर है। B2 में छूट के बाद की कीमत का वह फ़ॉर्मूला लिखिए जिसे B3, B4 आदि में सही ढंग से कॉपी किया जा सके।
Show answer
=A2*(1-$C$1) — Using $C$1 (absolute reference) locks the discount rate cell so it does not change when the formula is copied down. A2 is relative so it becomes A3, A4 etc. as the formula is copied. / =A2*(1-$C$1) — $C$1 (एब्सोल्यूट संदर्भ) का उपयोग करने से छूट दर सेल लॉक हो जाती है ताकि फ़ॉर्मूला कॉपी होने पर वह न बदले। A2 रिलेटिव है इसलिए कॉपी होने पर A3, A4 बन जाता है।
Related Laws & Principles
Explore allFoundational laws & principles connected to this chapter — tap to open in the Laws Explorer.