Overview
Introduction: The "Electronic Spreadsheet (Advanced)" chapter for CBSE Class 10 Information Technology (Code 402) builds on basic spreadsheet skills to teach powerful tools for data analysis, automation and presentation. It covers advanced formulas and functions, data tools for sorting/filtering and validation, analytical features such as PivotTables and what‑if analysis, visualisation with charts, and basic automation (macros). Importance: Advanced spreadsheet skills are essential for academic projects, practical real‑world problem solving, and many career paths (data analysis, accounting, finance, administration). Mastery improves decision making, saves time through automation, and enables clear communication of numerical information. Key themes: advanced functions (logical, lookup & reference, statistical, financial, text and date/time), array formulas and named ranges, data cleaning and validation, conditional formatting, PivotTables and advanced charts, what‑if analysis (Goal Seek, Scenario Manager), macros and basic scripting, protecting and sharing workbooks, import/export and templates. What the student will learn: students will learn to design robust worksheets using…
Learning Objectives
- Define absolute, relative and mixed cell references and illustrate their effect when formulas are copied or filled.
- Explain common spreadsheet functions (SUM, AVERAGE, MIN, MAX) and apply them to solve numerical problems.
- Use logical and conditional functions (IF, AND, OR, NOT) to perform decision-based computations within worksheets.
- Apply lookup functions (VLOOKUP, HLOOKUP, INDEX, MATCH) to retrieve and cross-reference data from tables.
- Demonstrate data validation techniques to restrict inputs, create drop-down lists and prevent entry errors.
- Create and format charts (column, line, pie) to visually represent data and interpret charted results.
- Perform sorting and filtering operations to organize, extract and analyze relevant records from datasets.
- Employ conditional formatting to highlight trends, outliers, duplicates and rule-based conditions in data ranges.
Topics in this chapter
17 topics · tap a topic title to jump straight to it.
Introduction to Advanced Electronic Spreadsheet
Introduction to Advanced Electronic Spreadsheet
Key Point: SUM(range) — adds numbers in a range
Introduction: An advanced electronic spreadsheet extends basic sheet skills (entering data, basic SUM) with powerful tools to analyze, visualize and automate data. It helps convert raw rows and columns into meaningful reports, forecasts and interactive dashboards.
Key capabilities:
- Formulas & functions — complex calculations (conditional, statistical, financial, lookup and array formulas).
- Lookup & reference — VLOOKUP/HLOOKUP, INDEX+MATCH to fetch data from tables.
- Structured Tables & Named Ranges — automatic expansion, readable formulas and consistent references.
- Pivot Tables & Pivot Charts — fast multi-dimensional summarization and drill-down.
- Charts & Visualization — multiple chart types, combo charts, secondary axis, trendlines and sparklines for quick insights.
- Conditional Formatting & Data Validation — visual rules, input controls (drop-downs), and error-prevention.
- What‑If Analysis — Goal Seek, Scenario Manager, Data Tables for sensitivity analysis and forecasting.
- Automation & Macros — recorded macros or scripts to automate repetitive tasks (introduces basic programming).
- Data tools — sorting, filtering, advanced filters, text-to-columns, import from CSV/SQL/web and data cleansing functions.
- Absolute vs Relative References — use $A$1 to fix references when copying formulas; relative (A1) changes with position.
- Best practices — use headers, freeze panes, keep raw data separate from calculations, use tables and named ranges, document formulas.
How it helps (brief workflow): import or enter data → convert to a Table → add calculated columns and named ranges → build pivot tables/charts → apply conditional formatting and slicers → create what‑if scenarios → protect and share results.
- Family monthly budget: Create a table with columns Category, Planned, Actual. Use SUM to total, SUMIF to total each category, conditional formatting to highlight overspend, and a pie chart to show percentage by category.
- Class marks analysis: Store student marks in a table. Use AVERAGE, COUNTIF to find pass/fail counts, VLOOKUP or INDEX+MATCH to fetch a student's record, pivot table to show class wise average, and a bar chart to compare subject averages.
- Small shop inventory & sales: Maintain an item master (ItemID, Price, Reorder Level). Use SUMIFS to calculate monthly sales per item, conditional formatting to mark low stock, and a line chart to show sales trend. Use PMT to calculate loan EMI if buying stock on credit.
- Sales commission sheet: Use IF and nested IF (or IFS) to apply different commission rates by sales band; use absolute reference for commission rate table so it can be copied across rows.
- Loan amortization schedule: Use PMT to compute monthly payment, then create columns for interest, principal and remaining balance. Plot a stacked area chart to show interest vs principal over time.
- \[SUM(range) — adds numbers in a range\]
- \[AVERAGE(range) — arithmetic mean of values\]
- \[COUNT(range) / COUNTA(range) — counts numeric cells / non-empty cells\]
- \[COUNTIF(range\]\[criteria) — count cells that meet criteria\]
- \[SUMIF(range\]\[criteria\]\[sum_range) / SUMIFS(sum_range\]\[criteria_range1\]\[criteria1, ...) — conditional sums\]
- \[IF(condition\]\[value_if_true\]\[value_if_false) — conditional logic\]
Advanced Formulas and Function Categories
Advanced Formulas and Function Categories
Key Point: Math & Aggregate: SUM(range), SUMPRODUCT(range1, range2), PRODUCT(...), ROUND(number, digits), ABS(number)
Overview
Advanced formulas extend basic spreadsheet calculations into powerful, real‑world solutions. They combine functions across categories (math, statistical, logical, text, date/time, lookup/reference, financial, array) and use conditional, aggregate and lookup techniques to analyze and automate data.
Why it matters
Advanced formulas let you: automate reports, compute conditional totals, clean and transform text, look up values from tables, analyze trends, and build decision logic (e.g., grade assignment, payroll, budgets).
Core concepts
- Function categories — each group solves a class of problems (SUM-like math, AVERAGE-like statistics, IF-like logic, VLOOKUP/INDEX for table lookup, TEXT functions for names/dates).
- Nested functions — putting one function inside another (e.g., IF(AVERAGE(range)>70, "Pass", "Fail")).
- Conditional aggregation — SUMIF, COUNTIF, SUMIFS, COUNTIFS to total or count only when criteria are met.
- Lookup and reference — VLOOKUP/HLOOKUP, INDEX+MATCH (more flexible), XLOOKUP (modern), to pull related data from tables.
- Text handling — split/concatenate and clean text for reports (LEFT, RIGHT, MID, FIND, TRIM, CONCAT/CONCATENATE, TEXTJOIN).
- Date/time calculations — age, service length, or elapsed days using DATE, TODAY, DATEDIF, NETWORKDAYS.
- Array/dynamic formulas — operate on ranges to return multiple results (FILTER, UNIQUE, SEQUENCE) or use array formulas in older spreadsheets.
- Error handling — IFERROR to replace error values with friendly messages or alternatives.
Tips for building advanced formulas
- Break complex tasks into helper columns (intermediate results) for clarity.
- Test nested functions step by step.
- Use absolute references ($A$1) when copying formulas that must keep a fixed cell or range.
- Prefer INDEX+MATCH (or XLOOKUP) over VLOOKUP when you need left‑side lookup or better performance.
- Document key formulas with comments so others understand the logic.
- 1) Student grades and pass/fail: Calculate total and grade. Total = SUM(B2:F2). Percentage = (Total / 500) * 100. Grade using IF and nested IFS: =IF(Percentage>=90, "A1", IF(Percentage>=80, "A2", IF(Percentage>=70, "B1", IF(Percentage>=60, "B2", "C"))))
- 2) Conditional totals for inventory: Total value of items in category 'Electronics' = SUMIF(CategoryRange, "Electronics", ValueRange). Example: =SUMIF(A2:A100, "Electronics", C2:C100)
- 3) Lookup student name from ID: =VLOOKUP(G2, A2:B100, 2, FALSE) — finds the name (column 2) for ID in G2. More robust: =INDEX(B2:B100, MATCH(G2, A2:A100, 0))
- 4) Commission slab using nested IF or IFS: =IFS(Sales>50000, Sales*0.1, Sales>20000, Sales*0.05, TRUE, Sales*0.02)
- 5) Attendance percentage and eligibility: Attendance% = (PresentDays / TotalWorkingDays) * 100. Eligible for exam? =IF(Attendance%>=75, "Eligible", "Not Eligible")
- 6) Extract first name from full name: =LEFT(A2, FIND(" ", A2)-1) — returns substring before first space.
- \[Math & Aggregate: SUM(range)\]\[SUMPRODUCT(range1\]\[range2)\]\[PRODUCT(...)\]\[ROUND(number\]\[digits)\]\[ABS(number)\]
- \[Statistical: AVERAGE(range)\]\[MEDIAN(range)\]\[MODE.SNGL(range)\]\[STDEV.P(range)\]\[MIN(range)\]\[MAX(range)\]
- \[Conditional aggregation: SUMIF(range\]\[criteria, [sum_range])\]\[SUMIFS(sum_range\]\[crit_range1\]\[crit1\]\[crit_range2\]\[crit2)\]\[COUNTIF\]\[COUNTIFS\]
- \[Logical: IF(condition\]\[value_if_true\]\[value_if_false)\]\[IFS(cond1\]\[val1\]\[cond2\]\[val2, ...)\]\[AND(...)\]\[OR(...)\]\[NOT(...)\]
- \[Lookup & Reference: VLOOKUP(key\]\[table\]\[col_index\]\[FALSE)\]\[HLOOKUP(...)\]\[INDEX(range\]\[row, [col])\]\[MATCH(key\]\[range, 0)\]\[XLOOKUP(key\]\[lookup_range\]\[return_range, [if_not_found])\]
- \[Text: CONCATENATE(text1\]\[text2)\]\[CONCAT(text1\]\[text2)\]\[TEXTJOIN(delimiter\]\[ignore_empty\]\[range)\]\[LEFT(text\]\[n)\]\[RIGHT(text\]\[n)\]\[MID(text\]\[start\]\[len)\]\[LEN(text)\]\[TRIM(text)\]\[UPPER/LOWER/PROPER(text)\]
Logical Functions
Logical Functions
Key Point: IF(condition, value_if_true, value_if_false) — Example: =IF(A2>=33,"Pass","Fail")
What are Logical Functions?
Logical functions are spreadsheet functions that test conditions and return TRUE/FALSE, or choose values based on those conditions. They let you make decisions in formulas — for example, to mark students as Pass/Fail, apply discounts, or check multiple criteria before taking an action.
Common logical functions
IF— returns one value if a condition is true and another if it is false.AND— returns TRUE only if all given conditions are TRUE.OR— returns TRUE if at least one condition is TRUE.NOT— reverses the logical value: TRUE becomes FALSE and vice versa.XOR— exclusive OR: TRUE when an odd number of arguments are TRUE (depends on spreadsheet version).IFS— evaluates multiple conditions in order and returns a corresponding value for the first TRUE condition (newer function in many spreadsheets).IFERROR— returns a specified value if the formula results in an error.
How they work (basic patterns)
- Single test:
IF(test, value_if_true, value_if_false) - Combine tests:
IF(AND(test1, test2), value_if_true, value_if_false)orIF(OR(test1, test2), ...) - Nested decisions:
IF(..., IF(..., ...), ...)to handle multiple outcomes.
Best practices
- Keep logical tests simple and readable; prefer
IFSover deeply nestedIFwhere available. - Use
IFERRORto handle divide-by-zero or lookup errors gracefully. - Document complex logic with adjacent notes or column headers so others can understand the decision rules.
Short example explained:
To mark Pass/Fail where a pass requires marks >= 33: =IF(A2>=33,"Pass","Fail"). The test is A2>=33. If TRUE the formula returns "Pass", otherwise "Fail".
- =IF(A2>=90,"A",IF(A2>=80,"B",IF(A2>=70,"C",IF(A2>=60,"D","F")))) // Nested IF for grade bands
- =IF(B2>=75,"Eligible","Not Eligible") // Attendance eligibility based on percentage
- =IF(AND(C2>1000,D2="Member"),C2*0.9,C2) // 10% discount if purchase>1000 and customer is a Member
- =IF(OR(E2="Admin",E2="Teacher"),"Access Granted","Access Denied") // Role-based access
- =IF(AND(F2="Employed",G2>50000),"Approved","Rejected") // Simple loan eligibility using AND
- =IF(H2<=Reorder_Level,"Reorder","Sufficient") // Inventory reorder alert
- \[IF(condition\]\[value_if_true\]\[value_if_false) — Example: =IF(A2>=33,"Pass","Fail")\]
- \[AND(condition1\]\[condition2, ...) — Example: =AND(B2>=50,C2>=50) returns TRUE only if both are TRUE\]
- \[OR(condition1\]\[condition2, ...) — Example: =OR(D2="Yes",E2="Yes") returns TRUE if any is TRUE\]
- \[NOT(condition) — Example: =NOT(A2>100) reverses the logical result\]
- \[XOR(condition1\]\[condition2, ...) — TRUE when an odd number of arguments are TRUE (if available)\]
- \[IFS(condition1\]\[value1\]\[condition2\]\[value2, ...) — Example: =IFS(A2>=90,"A",A2>=80,"B",A2>=70,"C")\]
Lookup and Reference Functions
Lookup and Reference Functions
Key Point: VLOOKUP (exact): =VLOOKUP(lookup_value, table_array, col_index_num, FALSE) e.g. =VLOOKUP(B2,$A$2:$D$100,3,FALSE)
What they do
Lookup and reference functions let a spreadsheet find, return or point to data stored elsewhere in the sheet or workbook. They are used to search tables, fetch matching records, build dynamic cell references and combine data from different ranges.
Common functions
VLOOKUP— vertical lookup: searches the first column of a table and returns a value from a specified column in the same row.HLOOKUP— horizontal lookup: searches the first row of a table and returns a value from a specified row in the same column.INDEX— returns the value of a cell in a range given its row and column numbers.MATCH— returns the position of a lookup value within a one‑dimensional range.INDEX + MATCH— a flexible alternative to VLOOKUP that can look left, is robust to column order changes and often faster on large data.LOOKUP,OFFSET,INDIRECT,CHOOSE,ADDRESS,ROW,COLUMN— functions that build or return references and positions.
Syntax essentials
VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])
UseFALSE(or0) for exact match andTRUE(or omitted) for approximate match (table must be sorted ascending for approximate).HLOOKUP(lookup_value, table_array, row_index_num, [range_lookup])MATCH(lookup_value, lookup_array, [match_type])— match_type 0 for exact, 1 for <= (requires ascending sort), -1 for >= (requires descending sort).INDEX(array, row_num, [column_num])— returns the value at the specified position.- Combine:
INDEX(col_to_return, MATCH(lookup_value, lookup_col, 0))for reliable exact lookups.
Errors and tips
#N/Aappears when no match is found — handle withIFERROR(..., "Not found")if needed.- Use absolute references (e.g.,
$A$2:$D$100) for the table_array so formulas copy correctly. - Prefer
INDEX+MATCHwhen you need to look left or when the lookup column is not the leftmost column. - For many lookups on large tables,
INDEX+MATCHor using named ranges improves performance and readability.
How it works (basic flow)
1. Find the lookup value’s position (MATCH or first column search). 2. Return the value from the same row/column (VLOOKUP, INDEX or HLOOKUP). 3. Optionally build dynamic references (INDIRECT, ADDRESS, OFFSET) or select among values (CHOOSE).
- Student mark lookup: Given a table with StudentID in column A and Total Marks in column D, use =VLOOKUP(B2,$A$2:$D$101,4,FALSE) where B2 contains the StudentID to return that student's total marks.
- Price lookup in an invoice: If a product code is in B2 and Products table (Code, Name, Price) is on sheet 'Products' A2:C500, use =VLOOKUP(B2,Products!$A$2:$C$500,3,FALSE) to fetch the unit price.
- INDEX + MATCH to look left: If product codes are in column C and prices in column A, use =INDEX($A$2:$A$500, MATCH(E2,$C$2:$C$500,0)) where E2 is the code to search.
- Tiered commission (approximate match): With a sorted table of sales thresholds and rates, use =VLOOKUP(B2,$G$2:$H$6,2,TRUE) to get the correct rate for a given sales amount in B2.
- Dynamic reference with INDIRECT: If sheet names are stored in A1, and you want cell B2 from that sheet, use =INDIRECT(A1 & "!B2").
- \[VLOOKUP (exact): =VLOOKUP(lookup_value\]\[table_array\]\[col_index_num\]\[FALSE) e.g. =VLOOKUP(B2,$A$2:$D$100,3,FALSE)\]
- \[VLOOKUP (approximate): =VLOOKUP(lookup_value\]\[table_array\]\[col_index_num\]\[TRUE) (table must be sorted ascending on first column)\]
- \[HLOOKUP: =HLOOKUP(lookup_value\]\[table_array\]\[row_index_num\]\[FALSE)\]
- \[MATCH (position): =MATCH(lookup_value\]\[lookup_array, 0) (returns index of exact match)\]
- \[INDEX (return value by position): =INDEX(range\]\[row_num, [column_num]) e.g. =INDEX(C2:C100,5) returns 5th item in C2:C100\]
- \[INDEX + MATCH (recommended): =INDEX(column_to_return\]\[MATCH(lookup_value\]\[lookup_column, 0))\]
Text Functions
Text Functions
Key Point: LEN(text) — returns length. Example: =LEN(A2)
Overview: Text functions in spreadsheets let you inspect, clean, convert, join and extract parts of text (strings). They are essential for preparing data (names, IDs, addresses) for analysis, for creating standardized outputs (emails, labels) and for parsing codes.
Common categories:
- Case & formatting: change or standardize text case (UPPER, LOWER, PROPER) and format numbers as text (TEXT).
- Extraction: get parts of a string by position (LEFT, RIGHT, MID) or by searching (FIND, SEARCH).
- Cleaning & length: remove unwanted spaces/nonprintable characters (TRIM, CLEAN), measure length (LEN).
- Replacement & splitting: replace substrings (SUBSTITUTE, REPLACE) or split/join text (CONCAT/CONCATENATE, &, TEXTSPLIT in modern sheets or Text to Columns in Excel).
- Conversion & lookup: convert text that looks like numbers (VALUE), compare strings (EXACT), and convert characters to codes or vice versa (CODE, CHAR).
How they help in real life:
- Cleaning student lists: remove extra spaces, standardize case, extract roll numbers embedded in IDs.
- Automatic email creation: combine initials and surnames to build school emails.
- Formatting phone numbers or product codes consistently for databases.
- Parsing address fields (e.g., extracting pin code from end of address).
Tips: Use TRIM before extracting to avoid wrong positions; use FIND for case-sensitive search and SEARCH for case-insensitive; use SUBSTITUTE to change all occurrences of a substring; use TEXT to present numbers (e.g., dates) consistently when concatenating.
- Standardize student names: Input A2=' alice k. ' → =TRIM(PROPER(A2)) → 'Alice K.'
- Create school email: First name in A2='Rahul', surname in B2='Sharma' → =LOWER(LEFT(A2,1)&B2&"@school.edu") → 'rsharma@school.edu'
- Extract year from ID: ID in A2='STU-2021-045' → =MID(A2,5,4) → '2021'
- Get last 4 of phone: Phone in A2='9876543210' → =RIGHT(A2,4) → '3210'
- Replace country code: Number in A2='+91-9876543210' → =SUBSTITUTE(A2,'+91-','0') → '0-9876543210'
- \[LEN(text) — returns length\]\[Example: =LEN(A2)\]
- \[TRIM(text) — removes extra spaces (leading/trailing/multiple)\]\[Example: =TRIM(A2)\]
- \[CLEAN(text) — removes non-printable characters\]\[Example: =CLEAN(A2)\]
- \[LEFT(text\]\[n) — first n characters\]\[Example: =LEFT(A2,3)\]
- \[RIGHT(text\]\[n) — last n characters\]\[Example: =RIGHT(A2,4)\]
- \[MID(text\]\[start\]\[n) — n characters from position start\]\[Example: =MID(A2,5,2)\]
Date and Time Functions
Date and Time Functions
Key Point: TODAY() — returns current date (no arguments).
What are Date and Time Functions?
Date and time functions in a spreadsheet are built-in formulas that let you create, extract, calculate and format dates and times. They treat dates and times as serial numbers (date = integer days since epoch; time = fractional part of a day) so you can perform arithmetic and logical operations on them.
Key ideas:
- Dates are stored as whole numbers (days) and times as fractions of a day. For example, 1 means 1900-01-01 (in Excel’s default system) and 0.5 means 12:00 noon.
- Date/time functions help to: create dates/times, get parts (day, month, year, hours), compute differences, add/subtract intervals, find workdays, and format results for display.
Common functions and brief usage:
TODAY()— returns the current date (updates automatically).NOW()— returns current date and time (updates automatically).DATE(year, month, day)— builds a date from components.TIME(hour, minute, second)— builds a time from components.DAY(date),MONTH(date),YEAR(date)— extract day, month, year.HOUR(time),MINUTE(time),SECOND(time)— extract time parts.DATEVALUE(date_text),TIMEVALUE(time_text)— convert text to date/time values.EDATE(start_date, months)— return date shifted by whole months.EOMONTH(start_date, months)— return last day of month after adding months.NETWORKDAYS(start_date, end_date, [holidays])— count workdays (excludes weekends; optional holidays).WORKDAY(start_date, days, [holidays])— returns a workday after adding business days.WEEKDAY(date, [return_type])— gives weekday number (e.g., 1 = Sunday or Monday depending on type).WEEKNUM(date, [return_type]),ISOWEEKNUM(date)— week-of-year functions.DATEDIF(start_date, end_date, unit)— calculates difference in 'Y', 'M', 'D', 'MD', etc. (available in Excel; some spreadsheets provide equivalent).TEXT(value, format_text)— format a date/time into text using patterns like "dd-mmm-yyyy" or "hh:mm AM/PM".YEARFRAC(start_date, end_date, [basis])— fraction of year between dates (used for interest calculations).
Important notes:
- When adding days to a date, you can simply use arithmetic:
=A1 + 30adds 30 days to date in A1. - To add hours or minutes, add fractional day values: 1 hour = 1/24, 1 minute = 1/1440.
- Formatting is separate from the stored value. A cell may contain a date serial but show a formatted string like "12 Mar 2025".
How it helps in real life: plan deadlines, compute ages, calculate interest for exact days, generate due dates avoiding weekends and holidays, compute working hours, prepare employee tenure reports, and auto-fill today's date in invoices.
- Calculate age in years: If birthdate in B2, use =DATEDIF(B2, TODAY(), 'Y') to get completed years.
- Invoice due date (30 days after issue): If issue date in A2, use =A2 + 30 or =WORKDAY(A2, 30) to skip weekends.
- Find last day of next month: =EOMONTH(TODAY(), 1) returns the last date of the month after current month.
- Count business days between dates (excluding holidays): =NETWORKDAYS(start_date, end_date, holidays_range).
- Convert text to date (e.g., '2025-03-10' in A2): =DATEVALUE(A2) then format cell as a date.
- Add 3 hours to a time in B2: =B2 + TIME(3,0,0) or =B2 + 3/24.
- \[TODAY() — returns current date (no arguments).\]
- \[NOW() — returns current date and time (no arguments).\]
- \[DATE(year\]\[month\]\[day) — constructs a valid date even if month/day overflow (e.g.\]\[DATE(2025, 14, 5) gives Feb 5, 2026).\]
- \[TIME(hour\]\[minute\]\[second) — constructs a time value.\]
- \[DAY(date)\]\[MONTH(date)\]\[YEAR(date) — extract components from a date.\]
- \[HOUR(time)\]\[MINUTE(time)\]\[SECOND(time) — extract components from a time.\]
Conditional Formatting
Conditional Formatting
Key Point: =A2<33 — highlights cells in the selected range where the value in A2 (relative) is less than 33 (useful for fail marks).
What is Conditional Formatting?
Conditional Formatting (CF) is a spreadsheet feature that changes the appearance of cells (color, font, border, icons, data bars) based on rules or conditions. It helps you quickly spot patterns, outliers, trends, and exceptions without manually checking each value.
Types of Conditional Formatting
- Highlight Cell Rules (greater than, less than, between, text contains, dates)
- Top/Bottom Rules (top 10 items, above average)
- Data Bars (bar inside a cell proportional to value)
- Color Scales (gradient colors by value: heatmap style)
- Icon Sets (arrows, flags, traffic lights)
- Custom Formula Rules (use any logical formula to control formatting)
How to apply (Excel / Google Sheets)
- Select the target range (if using a formula, base it on the first cell in the range).
- Excel: Home > Conditional Formatting > New Rule > Use a formula to determine which cells to format. Google Sheets: Format > Conditional formatting > Custom formula is.
- Enter the condition/formula (use relative/absolute references carefully: e.g. =A2>100 or =$B$1>A2).
- Choose formatting (fill color, font color, icon set, etc.) and OK/Done.
- Manage rules to change priority or use “Stop If True” (Excel) to prevent lower rules from applying.
Key tips
- When using a formula-based rule, write the formula as if it applies to the first cell of the selected range. The engine will auto-adjust for other cells.
- Use $ to fix row/column when needed: e.g. =$D$1 (fixed cell), $A2 (fixed column only).
- Combine functions: AND(...), OR(...), NOT(...), ISBLANK(...), TODAY().
- For chart coloring based on conditions, create helper columns/series and use rule-driven series colors (charts don’t inherit cell CF directly).
Why use Conditional Formatting (benefits)
- Immediate visual cues for exceptions (failures, overdue items, low stock).
- Helps in data analysis: spotting trends, clustering high/low values.
- Reduces manual checking and reporting time.
- Student marks: Range B2:B31 — highlight marks less than 33 in red using formula =B2<33 or Highlight Cell Rule > Less Than 33.
- Inventory management: Columns Item (A), Stock (B), ReorderLevel (C) — highlight stock below reorder level with custom formula =B2<C2 (select A2:B100 as target range).
- Invoices / dates: Due date column D — highlight overdue invoices with =D2<TODAY() and not paid (if Paid in E) use =AND(D2<TODAY(),E2<>"Paid").
- Sales performance: Sales column — use Color Scales (green-yellow-red) to show high/medium/low sales at a glance.
- Project tasks: Priority column & Status column — use icon sets to show red/amber/green based on formula OR direct values (e.g. =A2="High" and B2<>"Done").
- \[=A2<33 — highlights cells in the selected range where the value in A2 (relative) is less than 33 (useful for fail marks).\]
- \[=B2<$D$1 — compares each B value to a fixed threshold in D1 (use $ to lock the threshold cell).\]
- \[=AND($C2="Pending"\]\[D2<\]\[TODAY()) — flags rows where Status is Pending and Due Date is before today (overdue and not done).\]
- \[=OR(A2="High"\]\[A2="Critical") — highlights rows with priority High or Critical.\]
- \[=ISBLANK(B2) — highlights empty cells (useful to find missing data).\]
- \[=ROW()=MAX(IF($A$2:$A$100<>"",ROW($A$2:$A$100))) — (array-style approach) highlight the last non-empty row in a range (advanced use\]\[Sheets/Excel versions may vary).\]
Data Validation
Data Validation
Key Point: =AND(A2>=0,A2<=100) // custom: ensure A2 is between 0 and 100
What is Data Validation?
Data Validation is a spreadsheet feature that restricts the type, range, or format of data that can be entered into a cell or range of cells. It helps prevent errors, enforce consistency and improve data quality.
Why use it?
- Prevents invalid entries (e.g., marks above 100 or negative quantities).
- Provides dropdown lists for consistent categorical input (e.g., subjects, product types).
- Shows input messages to guide users and error alerts to block or warn about wrong data.
Main types of validation rules
- Whole number — restrict to integers in a range (e.g., 0 to 100).
- Decimal — allow numeric values with decimals in a range.
- List — allow only values from a predefined list or named range (creates a dropdown).
- Date / Time — restrict to dates or times in a given range.
- Text length — limit number of characters.
- Custom — use a formula that returns TRUE or FALSE (powerful and flexible).
How to apply (typical steps in Excel / Google Sheets)
- Select the cell(s) to protect.
- Open Data > Data Validation (or Data > Validation in Google Sheets).
- Choose the validation criteria (Whole number, List, Date, Custom formula, etc.).
- Optionally set an Input Message to guide the user.
- Set an Error Alert type: Stop (block), Warning, or Information.
- Click OK / Save. Test by entering invalid data to see the alert.
Useful features and tips
- Use named ranges for lists to make dropdowns easy to manage.
- Copy validation to other cells (use Paste Special > Validation in Excel).
- Use conditional (custom) formulas to enforce complex rules, e.g., uniqueness or relational checks between columns.
- Excel has "Circle Invalid Data" to highlight entries that currently violate validation rules.
- Marks entry for exams: allow only whole numbers between 0 and 100. (Validation type: Whole number, Minimum = 0, Maximum = 100).
- Date of birth for admission: allow dates on or before a cutoff, e.g., DOB must be on or before 31-Dec-2010. (Validation type: Date, End date = DATE(2010,12,31)).
- Subject selection: create a dropdown list of subjects (Math, Science, English, Social). (Validation type: List with source cells or named range).
- Quantity column in inventory: allow only non-negative integers. (Validation type: Whole number, Minimum = 0).
- Roll number uniqueness: prevent duplicate roll numbers in column A using a custom formula: =COUNTIF($A$2:$A$100,A2)=1. (Validation type: Custom).
- Prevent future dates in a 'Date of Event' column: use custom validation formula =A2<=TODAY().
- \[=AND(A2>=0,A2<=100) // custom: ensure A2 is between 0 and 100\]
- \[=COUNTIF($A$2:$A$100,A2)=1 // custom: ensure A2 is unique in the range A2:A100\]
- \[=ISNUMBER(A2) // custom: ensure entry is numeric\]
- \[=A2<=TODAY() // custom: ensure a date is not in the future\]
- \[=LEN(A2)<=10 // custom: limit text length to 10 characters\]
- \[=OR(A2="Math",A2="Science",A2="English") // custom: restrict to listed subjects (or use a List rule)\]
Sorting, Filtering and Data Tools
Sorting, Filtering and Data Tools
Key Point: SORT(range, sort_index, sort_order) — dynamically sorts a range (available in modern Excel/Sheets). Example: SORT(A2:D100, 4, -1) sorts by 4th column descending.
Overview
Sorting and filtering help you organize and view relevant records in a spreadsheet. "Data tools" are built-in features that clean, validate and summarise data so it is accurate and easy to analyse.
Sorting
- Definition: Rearranging rows based on values in one or more columns (e.g., alphabetically or numerically).
- Types: Single-level sort (one column), multi-level sort (e.g., by Class then by Marks), ascending/descending, and custom lists (e.g., small→medium→large).
- How to do it (general steps):
- Select the whole data range (include headers).
- Use Sort command; choose column, sort order, and add levels for additional columns.
- Make sure "My data has headers" is checked so column titles stay at top.
- Notes: Use stable sorting (multi-level) to preserve previous order where appropriate.
Filtering
- Definition: Temporarily hide rows that don’t meet criteria so you only see relevant records.
- Types: AutoFilter (simple dropdowns per column), custom filters (e.g., > 75 and < 90), and Advanced Filter (complex criteria, copy results to another place).
- How to do it (general steps):
- Turn on Filter (usually a funnel icon). Dropdown arrows appear on headers.
- Choose checkboxes, or set text/number/date conditions or multiple criteria (AND/OR via Advanced Filter).
- Use SUBTOTAL to compute sums/averages that ignore hidden rows created by Filter.
Key Data Tools
- Data Validation — restricts input (e.g., whole number 0–100, or a drop-down list of subjects). Helps prevent data-entry errors and enforce rules.
- Remove Duplicates — deletes duplicate rows based on selected columns (useful for cleaning lists).
- Text to Columns — split a column into multiple columns using a delimiter (comma, space) or fixed width (e.g., split "Name,Roll" into two columns).
- Consolidate — combine data from multiple ranges or sheets (sum, count, average) into one summary table.
- Subtotal — insert group subtotals after sorting (useful for category-wise totals). Works well with grouped/outline view.
- Goal Seek (What‑If Analysis) — find the input value needed to reach a desired result (e.g., what score needed on final test to reach target average).
- Pivot Table — powerful summarising tool to aggregate, group and filter large datasets (useful for quick cross-tab reports).
Practical tips
- Always keep a backup of raw data before removing duplicates or transforming text.
- Use headers and freeze panes to keep column titles visible while sorting/filtering large tables.
- When filtering, use SUBTOTAL rather than SUM to ignore hidden rows.
Summary: Sorting orders data, filtering selects relevant rows, and data tools validate, clean and summarise data — together they make data reliable and easy to analyse.
- Class marksheet: Sort by Total marks descending to list toppers; Filter to show only students with Grade 'A'; Use Data Validation to allow only marks between 0 and 100.
- Inventory list for a shop: Sort by Quantity ascending to see low-stock items; Filter to view only items from a particular supplier; Remove duplicates to clean product list.
- Sales register: Filter by month or region to view targeted sales; Use Pivot Table to show sales by product category and month; Consolidate sales from different branches into one report.
- Event registration: Use Data Validation drop-down for ticket type; Text to Columns to split full name into First and Last; Remove duplicates to ensure one entry per participant.
- Budget planning: Sort expenses by amount, filter to see only 'Utilities', and use Goal Seek to find how much to reduce a category to meet the overall budget target.
- \[SORT(range\]\[sort_index\]\[sort_order) — dynamically sorts a range (available in modern Excel/Sheets)\]\[Example: SORT(A2:D100, 4, -1) sorts by 4th column descending.\]
- \[FILTER(range\]\[condition) — returns rows matching condition\]\[Example: FILTER(A2:D100\]\[D2:D100>75) to show rows where marks > 75.\]
- \[UNIQUE(range) — returns unique values from a list (useful instead of Remove Duplicates for dynamic lists).\]
- \[COUNTIF(range\]\[criteria) — count cells matching criteria\]\[Example: COUNTIF(C2:C50, ">=90").\]
- \[SUMIF(range\]\[criteria, [sum_range]) — sum values that meet criteria\]\[Example: SUMIF(B2:B100, "Stationery"\]\[C2:C100).\]
- \[AVERAGEIF(range\]\[criteria, [average_range]) — average of cells meeting criteria.\]
Pivot Tables and Pivot Charts
Pivot Tables and Pivot Charts
Key Point: Common aggregate functions used by Pivot Tables: SUM, COUNT, AVERAGE, MAX, MIN, COUNT DISTINCT (Excel 2013+ with data model).
What is a Pivot Table?
A Pivot Table is an interactive summary tool in spreadsheet software (Excel, Google Sheets) that quickly groups, aggregates and analyses large datasets without changing the original data. It lets you rearrange ("pivot") rows and columns to view data from different angles.
Core components
- Rows – fields shown down the left side (categories).
- Columns – fields shown across the top (sub-categories).
- Values – numeric fields aggregated (SUM, COUNT, AVERAGE, etc.).
- Filters – fields used to filter the whole Pivot Table (e.g., Year, Region).
How to create a Pivot Table (basic steps)
- Select a clean data range with headers (no fully blank rows/columns).
- Insert > PivotTable (or Data > Pivot table in Google Sheets).
- Place fields into Rows, Columns, Values and Filters areas.
- Change summary function (Sum, Count, Average) or display options (Show Values As > % of Total, Running Total, etc.).
- Use Refresh when source data changes.
Advanced features
- Grouping – group dates into Months/Quarters/Years or numeric ranges (bins).
- Calculated fields – create a field inside the Pivot to compute values (e.g., Sales = Units * UnitPrice).
- Slicers & Timelines – visual, clickable filters for user-friendly interaction.
- Drill-down – double-click a value to see the source records that form that aggregation.
- GETPIVOTDATA – function to fetch specific Pivot values into normal cells for custom reports.
What is a Pivot Chart?
A Pivot Chart is a chart linked to a Pivot Table. It updates and pivots together with the table, enabling visual, interactive analysis. Pivot Charts support most chart types: column, bar, line, pie, area, stacked, etc.
Why use them?
- Summarise large data quickly without complex formulas.
- Explore data interactively by dragging fields or using slicers.
- Create dashboard-ready visuals that update automatically when the pivot changes.
Practical tips
- Keep source data as a proper table (Excel Table or named range) so pivots auto-expand.
- Use "Show Values As" to get % of row/column/grand total without extra calculations.
- Refresh the pivot after changing source data; enable auto-refresh on file open if needed.
- Use distinct count (if available) to count unique items in a pivot.
- Retail sales dataset (Date, Region, Product, Units, UnitPrice): Create a Pivot Table with Rows=Region, Columns=Product, Values=Sum of Sales (calculated as Units * UnitPrice), Filter by Month. Use a Pivot Chart (clustered column) to compare product sales across regions.
- School exam marks (Student, Class, Subject, Marks): Pivot with Rows=Class, Columns=Subject, Values=Average of Marks. Add Filters for Term/Exam. Use a heatmap (conditional formatting on pivot cells) or a grouped bar chart to compare average subject performance by class.
- Expense tracking (Date, Category, Subcategory, Amount): Pivot Rows=Category, Values=Sum of Amount, Columns=Month (grouped from Date). Use a stacked column Pivot Chart to show monthly composition of expenses by category.
- Website analytics (Date, Source, Page, Sessions): Pivot Rows=Source, Columns=Month (grouped), Values=Sum of Sessions, Show Values As % of Grand Total to view traffic share by source. Use a line Pivot Chart for trend analysis.
- \[Common aggregate functions used by Pivot Tables: SUM\]\[COUNT\]\[AVERAGE\]\[MAX\]\[MIN\]\[COUNT DISTINCT (Excel 2013+ with data model).\]
- \[Calculated field example (inside Pivot Table): Sales = Units * UnitPrice\]
- \[GETPIVOTDATA example (Excel): =GETPIVOTDATA("Sum of Sales", $A$3, "Region", "North", "Product", "Widget") — returns the pivot value for that Region/Product intersection.\]
- \[If you need pre-aggregation formulas in source data: =IF(condition\]\[value_if_true\]\[value_if_false) — e.g., =IF(Status="Returned", -Amount\]\[Amount) to treat returns as negative before pivoting.\]
- \[SUMIFS/COUNTIFS usage (outside pivot) to produce summarized reports when pivot is not suitable: =SUMIFS(AmountRange\]\[RegionRange, "North"\]\[ProductRange, "Widget")\]
What‑If Analysis
What‑If Analysis
Key Point: SUM(range) — adds numbers. Example: =SUM(B2:B6)
What‑If Analysis in an electronic spreadsheet is the process of changing input values to see how those changes affect the results computed by formulas. It helps you test assumptions, compare scenarios and make decisions without changing the actual model permanently.
Common What‑If tools in spreadsheets:
- Manual change — directly edit input cells and observe results.
- Goal Seek — find the input value that produces a desired output (one input, one output).
- Data Table — show results for many values of one (one‑variable table) or two inputs (two‑variable table).
- Scenario Manager — store and compare several named sets of input values (scenarios) and view outcomes side by side.
How they work (brief)
- Model: build a sheet where outputs are computed from one or more input cells using formulas (keep inputs separate and clearly labeled).
- Change inputs: either manually or with a tool (Goal Seek / Data Table / Scenarios).
- Observe outputs: results update automatically because formulas recalculate.
When to use each tool
- Use Goal Seek when you know the desired result and need the single input value that achieves it (e.g., what price gives target profit).
- Use Data Table to produce a table showing how an output varies across many possible input values (e.g., profit at different prices and quantities).
- Use Scenario Manager to compare complete sets of assumptions (e.g., Best/Worst/Most Likely sales scenarios).
Tips
- Keep input cells separate and named (use cell names for clarity).
- Lock or protect formulas to avoid accidental overwrite.
- Check results for plausibility (e.g., negative quantities often indicate wrong inputs or formulas).
- Monthly budget planning: change monthly income and expenses to see impact on savings. Build inputs (Income, Rent, Food, Transport), output = Income - SUM(expenses). Use a one‑variable Data Table to see savings for different income levels.
- Break‑even and pricing: given Fixed Cost = ₹10,000, Variable Cost per unit = ₹50, choose Price per unit to reach a target profit. Use Goal Seek to find required price when Quantity is fixed.
- Sales scenarios for a product: Scenario Manager compares 'Worst', 'Likely', and 'Best' cases with different sales volumes and marketing costs and shows resulting profit for each scenario.
- Loan EMI planning: vary interest rate or tenure to see how EMI changes. Use a two‑variable Data Table (interest rate vs tenure) and PMT formula to compute EMI.
- \[SUM(range) — adds numbers\]\[Example: =SUM(B2:B6)\]
- \[Profit = Revenue - TotalCost\]\[Example: =C2 - D2 where Revenue = Price * Quantity and TotalCost = FixedCost + VariableCost*Quantity\]
- \[Break‑even quantity = FixedCost / (Price - VariableCost)\]\[Example: =FixedCost / (Price - VarCost)\]
- \[Simple Interest = Principal * Rate * Time\]\[Example: =P * R * T\]
- \[PMT(rate\]\[nper\]\[pv) — payment for a loan (EMI)\]\[Example: =PMT(annualRate/12\]\[years*12, -loanAmount)\]
Error Handling and Formula Auditing
Error Handling and Formula Auditing
Key Point: IFERROR(value, value_if_error) — handles any error and returns alternate result. Example: =IFERROR(A2/B2, 0)
What is Error Handling?
Error handling in a spreadsheet means detecting, interpreting and responding to formula errors so the worksheet remains correct, readable and useful. Common error values include #DIV/0! (divide by zero), #VALUE! (wrong type), #REF! (invalid reference), #NAME? (unrecognized name or function), #N/A (value not available), #NUM! (invalid numeric computation), and #NULL! (incorrect intersection).
What is Formula Auditing?
Formula auditing is the process and set of tools used to inspect, trace and validate formulas and cell relationships so errors can be found and corrected. Auditing helps you understand how a result was produced and identify broken references or unintended dependencies.
Why it matters
In real-world spreadsheets (budgets, sales reports, lab data), an unnoticed error can produce misleading totals, bad decisions, or reporting mistakes. Good error handling preserves data quality and makes spreadsheets robust and user-friendly.
Common auditing features and how to use them
- Show Formulas — displays formulas instead of results so you can scan for typos and wrong ranges.
- Trace Precedents — draws arrows from cells used in the current cell's formula; useful to see inputs.
- Trace Dependents — shows which cells depend on the current cell; useful before changing or deleting a cell.
- Remove Arrows — clears precedent/dependent arrows.
- Evaluate Formula — steps through calculation parts to find where an error begins.
- Watch Window — monitors important cells across sheets so you can track values/formulas while editing elsewhere.
- Error Checking — identifies common issues and suggests fixes (e.g., inconsistent formulas in a region).
- Circular Reference Detection — warns when a formula refers (directly or indirectly) to its own cell; these require manual correction or iterative calculation settings.
Principles for robust error handling
- Anticipate likely errors (division by zero, missing lookup keys) and handle them with functions like
IFERRORor conditional tests. - Prefer specific tests where appropriate (e.g.,
ISNAfor lookup misses) so you don’t hide other bugs. - Keep formulas readable: use named ranges, break long formulas into helper columns, and document assumptions in comments or a README sheet.
- Use auditing tools regularly when changing structure or copying formulas across ranges.
Example error-handling patterns
- Replace error with friendly output:
=IFERROR(A2/B2, "-" )to show a dash instead of#DIV/0!. - Test for missing lookup:
=IFNA(VLOOKUP(E2,Table,2,FALSE), "Not Found")— shows a message when key absent. - Validate inputs before calculating:
=IF(B2=0, 0, A2/B2)to avoid division by zero without hiding other errors.
Workflow to audit and fix an error
- Locate the error cell. If many errors, use Error Checking or filter the column.
- Use Show Formulas to inspect formulas or Trace Precedents to find the source cells.
- Use Evaluate Formula to step through subexpressions and find the failing operation.
- Decide whether to (a) correct the underlying data/reference, (b) change the formula, or (c) wrap the result with an error-handling function like IFERROR/IFNA.
- Re-run audits (Trace Dependents, recalculation) to ensure changes didn’t break dependent calculations.
- Division example: Suppose TotalCost in A2 and Quantity in B2. Instead of =A2/B2 which returns #DIV/0! when B2=0, use =IF(B2=0, "No items", A2/B2) or =IFERROR(A2/B2, "Error") to display a friendly message.
- Lookup example: Using VLOOKUP to find a product ID that may not exist. Instead of =VLOOKUP(E2,Products,2,FALSE) which gives #N/A, use =IFNA(VLOOKUP(E2,Products,2,FALSE), "Not Found") to show "Not Found" when the product ID is missing.
- Broken reference example: If you delete a column used by =SUM(C2:C10), the formula may become =SUM(#REF!). Use Trace Precedents to find the deleted references and restore correct ranges or update the formula to =SUM(B2:B10) as appropriate.
- Circular reference example: If A1 contains =A1+1 (or A1 depends on B1 which depends on A1), Excel will warn about a circular reference. Fix by redesigning logic (use a helper cell or iterative calculation with caution).
- Auditing example: Use Trace Precedents on a grand total cell to see all the subtotal cells that feed it. If a subtotal shows an error, Evaluate Formula will step into the subtotal formula and reveal the offending part.
- \[IFERROR(value\]\[value_if_error) — handles any error and returns alternate result\]\[Example: =IFERROR(A2/B2, 0)\]
- \[IFNA(value\]\[value_if_na) — handles only #N/A errors\]\[leaving other errors visible\]\[Example: =IFNA(VLOOKUP(E2,Table,2,FALSE), "Not Found")\]
- \[ISERROR(value) — returns TRUE for any error except that IFERROR is often simpler for replacement\]\[Example: =IF(ISERROR(A2/B2), "Err"\]\[A2/B2)\]
- \[ISNA(value) — TRUE only for #N/A\]\[useful with lookups\]\[Example: =IF(ISNA(VLOOKUP(...)), "Missing"\]\[VLOOKUP(...))\]
- \[ERROR.TYPE(error_value) — returns a number that identifies the error type (1=#NULL!, 2=#DIV/0!, 3=#VALUE!, 4=#REF!, 5=#NAME?, 6=#NUM!, 7=#N/A, 8=reserved)\]\[Example: =IF(ISERROR(A1)\]\[ERROR.TYPE(A1), "OK")\]
- \[NA() — returns the #N/A error intentionally (useful to mark missing data)\]\[Example: =NA()\]
Protection, Security and Collaboration
Protection, Security and Collaboration
Key Point: =COUNTIF($A:$A, A2) > 1 // returns TRUE if A2 is a duplicate in column A (use in conditional formatting to highlight duplicates)
Overview
Protection, security and collaboration are features used with electronic spreadsheets (Excel, Google Sheets, LibreOffice Calc) to keep data safe, control who can view or change it, and allow multiple users to work together reliably.
Protection
Protection prevents accidental or deliberate modification of important parts of a sheet or workbook. Basic protection tasks are:
- Locking cells: mark cells as locked/unlocked and then enable sheet protection so only unlocked cells can be edited.
- Protecting worksheet structure: prevents adding, deleting, renaming or moving sheets.
- Password protecting files: encrypts the file so it cannot be opened without the password.
- Protecting ranges: allow only specific users to edit certain ranges (supported in Google Sheets/Excel with permissions).
Security
Security covers confidentiality, integrity and availability of spreadsheet data. Important practices include:
- Access control: use file passwords, folder permissions, or cloud-sharing settings to restrict who can view or edit.
- Data validation: restrict what users can enter (e.g., numbers only, list choices, date ranges).
- Audit & versioning: keep version history and change logs; enable track changes or use cloud version history to review edits and restore prior versions.
- Backups: keep regular backups and copies in secure locations.
- Digital signatures and file integrity checks: sign a workbook or use checksum tools to detect tampering.
Collaboration
Collaboration allows several users to work on the same spreadsheet concurrently or sequentially:
- Co-authoring: multiple users edit simultaneously (Google Sheets and modern Excel with OneDrive/SharePoint).
- Comments and notes: discuss cells without changing values; resolve comments when addressed.
- Track changes / Suggesting mode: see who changed what and accept/reject edits.
- Merging / combining data: merge copies or import ranges when offline edits must be reconciled.
How protection, security and collaboration work together
A typical secure collaborative workflow balances openness with control: share the workbook with collaborators, allow editing only in specific unlocked ranges, use data validation to prevent incorrect entries, keep version history and backups, and apply file encryption for sensitive data.
Common menus & steps (examples)
- Excel: Lock cells (Format Cells > Protection > Locked), then Review > Protect Sheet (set password). Encrypt file: File > Info > Protect Workbook > Encrypt with Password.
- Google Sheets: Protect sheet/range via Data > Protect sheets and ranges; set editor permissions. Share via Share button and set Viewer/Commenter/Editor roles. Use Version history to restore.
- LibreOffice Calc: Format > Cells > Cell Protection; Tools > Protect Sheet/Document; File > Digital Signatures.
Best practices
- Only give edit access to trusted users; prefer Commenter/Viewer roles when appropriate.
- Use data validation and conditional formatting to reduce errors.
- Keep an audit trail: enable track changes or rely on cloud version history.
- Use strong passwords for encryption and change them periodically.
- Keep sensitive data (e.g., salaries, personal identifiers) in separate, highly restricted files.
- Teacher's marksheet: lock formulas and totals, unlock only student mark cells; protect sheet with a password so students cannot alter totals or formula cells.
- Payroll sheet: store employee salaries in a separate protected workbook encrypted with a password; share a summarized, non-sensitive copy with department managers.
- Project budget (collaboration): use Google Sheets, give team members edit access only to their cost-area ranges, use comments for clarification and version history to revert mistakes.
- Attendance register: apply data validation to the Attendance column (allow only values Present/Absent/Late); protect columns with formulas so they cannot be changed accidentally.
- Customer list: restrict editing to a small group; use conditional formatting to highlight duplicate phone numbers using COUNTIF to maintain data integrity.
- \[=COUNTIF($A:$A\]\[A2) > 1 // returns TRUE if A2 is a duplicate in column A (use in conditional formatting to highlight duplicates)\]
- \[=ISNUMBER(A2) // validation formula to ensure cell A2 has a number (can be used as a custom rule)\]
- \[=LEN(A2) <= 10 // validation rule to limit text length (e.g.\]\[ID numbers up to 10 characters)\]
- \[=AND(B2>=DATE(2025,1,1)\]\[B2<=DATE(2025,12,31)) // validate a date is within year 2025\]
- \[=IF(ISERROR(VLOOKUP(E2\]\[Sheet2!$A:$B, 2\]\[FALSE)), "Not found", "OK") // check and report lookup errors instead of leaving errors visible\]
- \[=IF(COUNTIF($B$2:$B$100\]\[B2)=1, "Unique", "Duplicate") // label duplicates/unique entries\]
Importing, Exporting and Interoperability
Importing, Exporting and Interoperability
Key Point: VLOOKUP(lookup_value, table_array, col_index, [range_lookup]) — find and merge matching rows from an imported table.
What it means
Importing, exporting and interoperability describe how spreadsheet data moves between systems and file formats so different programs (spreadsheets, databases, web services) can share information. Importing = bringing external data into your spreadsheet. Exporting = saving or sending spreadsheet data out to other systems. Interoperability = ensuring data keeps its meaning and usability across different applications.
Importing — key steps
- Preview: look at a sample of the file (CSV, TXT, XML, JSON, XLSX, HTML).
- Choose delimiter and encoding: CSVs often use comma or semicolon; choose UTF-8 to avoid character problems.
- Set headers and data types: tell the importer which row is the header and which columns are dates, numbers or text.
- Clean and parse: trim spaces, remove non-printing characters, split combined fields (e.g., full name → first/last).
- Map fields: map source columns to your spreadsheet columns (often in an import wizard or Power Query).
Exporting — key points
- Choose format by recipient: use CSV/TSV for databases or web upload, XLSX/ODS to preserve formulas and formatting, PDF for printing.
- Decide whether to export values or formulas: CSV exports values only; XLSX preserves formulas.
- Set locale/encoding and delimiters so the receiving system reads numbers and dates correctly.
- Document column headers and units to avoid ambiguity.
Interoperability — common issues & solutions
- Format loss: formats, charts, macros and pivot tables may not survive conversion (e.g., XLSX → CSV). Solution: keep a master XLSX and export copies.
- Formula differences: function names or behavior may differ between programs (Excel vs Google Sheets). Solution: use simple, standard functions or recalculate after import.
- Date and number locale problems: 01/02/2023 can be Jan 2 or Feb 1. Solution: use ISO dates (YYYY-MM-DD) or set locale during import.
- Encoding and special characters: non-UTF-8 can break characters. Solution: use UTF-8 when exporting/importing.
- Mismatched delimiters: commas inside text fields. Solution: use proper quoting or choose a different delimiter.
Tools and techniques
- Built-in import wizards (File > Open / Data > Get External Data).
- Power Query / Get & Transform (Excel) for repeatable, transformable imports.
- Google Sheets functions (IMPORTRANGE, IMPORTDATA, IMPORTXML, IMPORTHTML) for live web or cross-sheet imports.
- CSV for universal tabular transfer; JSON or XML for structured hierarchical data; ODBC/ODBC connectors and APIs for databases.
Best practices
- Keep a single master file; exchange derived copies as needed.
- Always document column headers, units and date format.
- Remove merged cells and avoid implicit formatting before exporting.
- Validate imported data (row counts, totals, sample checks).
- Automate repetitive imports with Power Query or scripts (VBA, Apps Script).
Typical workflow example
A school receives student marks from a testing system as CSV. The teacher: (1) opens import wizard, selects UTF-8 & comma delimiter, (2) marks first row as headers, (3) converts dates using DATEVALUE or sets column as Date, (4) trims whitespace and validates totals, (5) saves master workbook as XLSX and exports a copy as CSV to upload to the school portal.
- School marks: Import marks.csv into Excel, clean student names (TRIM), convert date strings to date type, compute averages, then export final roster as CSV for the school portal.
- Bank transactions: Download monthly transactions as CSV, import into a budgeting spreadsheet, categorize transactions using VLOOKUP or XLOOKUP, then export a summary as PDF for records.
- Inventory sync: Export inventory from a database to CSV, import into Google Sheets for collaborative editing, then use IMPORTRANGE to bring live data into a dashboard.
- Web data: Use Google Sheets IMPORTHTML or IMPORTXML to pull a table of exchange rates from a webpage and recalculate prices automatically.
- Merging supplier lists: Combine multiple suppliers' spreadsheets by importing each, standardizing column names and formats, then using Power Query to append and remove duplicates.
- Tax filing: Export sales data from spreadsheet as CSV with UTF-8 and ISO dates to upload into tax software that requires strict formatting.
- \[VLOOKUP(lookup_value\]\[table_array\]\[col_index, [range_lookup]) — find and merge matching rows from an imported table.\]
- \[INDEX/MATCH — more flexible lookup combination: INDEX(return_range\]\[MATCH(lookup_value\]\[lookup_range, 0)).\]
- \[XLOOKUP(lookup_value\]\[lookup_array\]\[return_array, [if_not_found], [match_mode], [search_mode]) — modern lookup (Excel 365).\]
- \[IMPORTRANGE(spreadsheet_url\]\[range_string) — Google Sheets: import a range from another Google Sheet.\]
- \[IMPORTDATA(url) / IMPORTXML(url\]\[xpath) / IMPORTHTML(url\]\[query) — Google Sheets: import CSV\]\[XML or HTML tables from the web.\]
- \[SPLIT(text\]\[delimiter) or TEXTSPLIT(text\]\[column_delimiter\]\[row_delimiter) — split combined fields into columns (Google Sheets / Excel 365 TEXTSPLIT).\]
Printing, Page Setup and Presentation
Printing, Page Setup and Presentation
Key Point: =SUM(B2:B31) — add a column of values (useful for totals on printed reports)
Overview
Printing, Page Setup and Presentation covers how to prepare an electronic spreadsheet for hard‑copy or PDF output and how to format it so printed reports are clear, professional and readable. It includes configuring page size and orientation, margins and scaling, selecting print areas and titles, headers/footers, page breaks and visual layout choices to produce good printed output.
Key page setup options
- Orientation: Portrait (tall) or Landscape (wide) depending on the sheet width.
- Paper size: A4, Letter, Legal, etc.
- Margins: Top, bottom, left, right; use narrow margins to fit more columns or wider for binding space.
- Scaling / Fit to: Fit sheet to X pages wide by Y pages tall or scale by percentage to shrink/expand printout.
- Print area: Define a specific cell range to print; avoids printing unnecessary cells.
- Print titles: Repeat header rows/columns (e.g., column headings) on every printed page.
- Gridlines & headings: Optionally print cell gridlines and row/column headings (A, B, 1, 2).
- Headers & footers: Insert page numbers, date/time, filename, author, or custom text.
- Page breaks: Automatic and manual page breaks define where pages start/end; use Page Break Preview or Page Layout view to adjust.
- Print selection / active sheet / entire workbook: Choose whether to print only selected ranges, the current sheet, or all workbook sheets.
Presentation (print-friendly formatting)
- Use consistent fonts and sizes: body text 10–12 pt for readability on A4/Letter.
- Align numbers right, text left; use thousands separators and set decimal places for currency.
- Use borders and subtle shading to separate header rows; avoid heavy colors that print poorly in grayscale.
- Keep column widths and row heights appropriate so data is not cut off; wrap text where needed.
- Use conditional formatting, data bars or sparklines to highlight key values for a printed summary.
- Place charts on the same sheet or a separate chart sheet; ensure chart size fits chosen page orientation.
- Check Print Preview and do a test print (or export to PDF) to confirm layout before final printing.
Practical steps (typical workflow)
- Design the sheet with final printed layout in mind (headers, column widths, fonts).
- Select the range you want to print and set Print Area.
- Open Page Setup (or Page Layout tab): set orientation, size, margins and scaling; set Print Titles for repeating headers.
- Adjust page breaks in Page Break Preview or Page Layout view so rows/columns don’t split awkwardly.
- Add headers/footers (page numbers, date, filename).
- Enable/disable gridlines and headings as required; preview in Print Preview.
- Export to PDF or print a test page; tweak layout and recheck.
Tips
- If you need the sheet to fit on one page wide, use Fit to 1 page wide and allow height to span multiple pages, or Fit to 1 by 1 if a single‑page report is required (may reduce font size).
- Center content horizontally/vertically on the page for a polished look.
- For multi‑page reports, repeat the heading row(s) and include page numbers in the footer.
- Use Print Preview frequently — it shows exactly what will print and highlights page breaks.
- School marksheet: Set Print Area to the table, use Landscape orientation, set Print Titles to repeat the header row on each page, add header with school name and footer with 'Page x of y'.
- Monthly expenses report: Use Portrait, fit to 1 page wide, apply currency format with two decimals and thousands separator, add a footer with report month and page number, export to PDF for emailing.
- Timetable: Use Landscape orientation, narrow margins, adjust column widths to avoid wrapping, and print gridlines so the schedule cells are visually separated.
- Payroll payslips (per department): Print each department's sheet separately, hide unused columns, insert page breaks between employee groups and include employee ID in header.
- Sales dashboard: Place charts on a separate chart sheet, choose Landscape and scale so charts fill the page; include a title and data source in the footer.
- \[=SUM(B2:B31) — add a column of values (useful for totals on printed reports)\]
- \[=AVERAGE(C2:C31) — calculate average for summary boxes\]
- \[=COUNTIF(A2:A100,'Present') — count items that match a criterion for attendance reports\]
- \[=IF(D2>=50,'Pass','Fail') — conditional label for printed result columns\]
- \[=VLOOKUP(E2,Sheet2!A:B,2,FALSE) — fetch matching information for a report\]
- \[=TEXT(A1,'dd-mmm-yyyy') — format dates as text in headers or printed labels\]
Templates, Macros and Automation (Introduction)
Templates, Macros and Automation (Introduction)
Key Point: =SUM(B2:B31) // adds values in B2 through B31
Overview
Templates, macros and automation are tools in electronic spreadsheets (Excel, Google Sheets, LibreOffice Calc) that save time, reduce errors and make repetitive work consistent. Templates provide predefined spreadsheet layouts and formulas. Macros are recorded or coded sequences of actions that you can run to perform repetitive tasks automatically. Automation combines formulas, built‑in features (like conditional formatting, data validation, pivot tables) and macros/scripts to streamline workflows.
Templates
A template is a ready‑to‑use spreadsheet file with layout, styles, headings, formulas, and sample data. Use templates when you need the same structure repeatedly (invoices, attendance sheets, monthly budgets). Benefits: uniform layout, fewer setup steps, built‑in formulas and charts.
- How to create a template:
- Design the worksheet: headers, frozen panes, column widths, labels.
- Add formulas, data validation and sample data.
- Remove specific data (leave placeholders) and save as a template file (.xltx, .xlt, .ots) or a normal workbook to copy as a master.
Macros
A macro records or runs code to automate repetitive steps (formatting, sorting, copying, calculations). In Excel macros are often written in VBA (Visual Basic for Applications); in Google Sheets you can record macros or write Google Apps Script (JavaScript‑based).
- Types: Recorded macros (captures keystrokes & actions) and scripted macros (editable code).
- Typical macro uses: apply consistent formatting, create monthly reports, generate PDFs from worksheets, automate import/cleanup tasks.
- Security: Macros can contain harmful code. Only enable macros from trusted sources and use protected workbooks where needed.
Example macro (VBA-like, simplified)
Sub FormatReport()
Range("A1:G1").Font.Bold = True
Columns("A:G").AutoFit
Range("A2:G50").Sort Key1:=Range("C2"), Order1:=xlDescending
End Sub
Google Apps Script example (simplified)
function formatReport() {
var sheet = SpreadsheetApp.getActiveSheet();
sheet.getRange('A1:G1').setFontWeight('bold');
sheet.autoResizeColumns(1,7);
}
Automation (broader)
Automation uses formulas, functions, built‑in tools and macros/scripts to reduce manual work. Common automation building blocks:
- Formulas/functions (SUM, IF, VLOOKUP/XLOOKUP, COUNTIF, SUMIF) to compute values automatically.
- Conditional formatting to highlight important values (low stock, failing grades).
- Data validation to restrict input (drop‑down lists for categories).
- Pivot tables for summarized reports and quick analysis.
- Charts that update automatically with source data.
- Scheduled scripts/triggers (in Google Sheets or using Windows Task Scheduler with Excel) to run reports automatically.
When to use which:
- Use a template when you need a consistent layout and repeated use (e.g., monthly invoice form).
- Use a macro when you need to repeat a sequence of actions quickly (e.g., format, filter, export PDF).
- Combine both: place macros/scripts inside a template so every new file already contains automation.
Practical tips for students
- Record a macro to learn the steps, then view the generated code to understand how actions map to code.
- Keep templates simple and clearly label input cells (use light fill colors or borders).
- Test automation on a copy of data before using on real data.
Summary
Templates save setup time and enforce consistency. Macros automate repetitive actions. Automation combines formulas, validation, formatting, pivot tables and macros/scripts to create efficient, low‑error spreadsheet solutions useful in real life (invoices, payroll, gradebooks, inventory).
- Invoice template: A ready sheet with company header, item rows, formulas for subtotal, tax and total. Use a macro to export each completed invoice as PDF and save with invoice number.
- Class gradebook: Template with student list, columns for marks, formulas for total and percentage (=SUM(...), =ROUND(...)), conditional formatting to highlight failing marks, and a macro to generate individual report cards.
- Attendance register: Template with dates across top, data validation for Present/Absent, formulas to count days present (COUNTIF), and conditional formatting to show attendance below threshold.
- Inventory & reorder automation: Template that lists items, stock levels, reorder level; formula (IF) flags items to reorder, and a macro creates a printable purchase list.
- Monthly sales report: Template with raw sales data, pivot table summarizing sales by product/region, and a macro that refreshes pivots, applies filters and exports charts as images.
- \[=SUM(B2:B31) // adds values in B2 through B31\]
- \[=AVERAGE(C2:C31) // average of a range\]
- \[=IF(D2<35, "Fail", "Pass") // conditional result\]
- \[=COUNTIF(E2:E100, "Present") // count occurrences matching criteria\]
- \[=SUMIF(F2:F100, ">=100"\]\[G2:G100) // sum G where F meets condition\]
- \[=VLOOKUP(A2\]\[Products!A2:D200, 3\]\[FALSE) // lookup product details\]
Best Practices and Good Spreadsheet Design
Best Practices and Good Spreadsheet Design
Key Point: =SUM(B2:B31) -- total of a range
Overview
Good spreadsheet design makes work accurate, easy to understand, maintainable and reusable. It reduces errors, improves performance and communicates results clearly. Follow planning, consistent layout, clear formulas and documentation.
- Plan before you build — sketch required inputs, outputs, intermediate calculations and reports. Decide how many sheets you need (raw data, calculations, reports).
- Keep raw data separate — store unmodified source data on one sheet (or table). Use other sheets for calculations and reporting. This prevents accidental changes to source records.
- Use structured tables — convert data ranges to tables (Excel: Insert > Table). Tables auto-expand, allow structured references and make formulas clearer.
- Avoid hardcoding numbers in formulas — place constants (tax rates, thresholds) in clearly labeled cells and reference them with cell addresses or named ranges.
- Name important ranges — use named ranges for key inputs (e.g., TaxRate). Names improve readability of formulas and reduce errors.
- Use helper columns — break complex formulas into simpler steps across columns; this helps debugging and increases clarity.
- Prefer functions over manual steps — SUM, AVERAGE, lookup and conditional functions are less error-prone than manual edits.
- Use absolute and relative references correctly — use $ (e.g., $A$1) for constants so formulas copy properly. Understand when to lock rows, columns or both.
- Apply Data Validation — restrict inputs with lists, number limits or date ranges to reduce input errors (Data > Data Validation).
- Use Conditional Formatting sensibly — highlight important values, outliers or duplicates, but avoid excessive rules that distract.
- Format consistently — use consistent number formats, fonts, colors and alignments. Use cell styles for headings, inputs and outputs so users know where to edit.
- Document assumptions and calculations — add a cover sheet or a comments area listing version, author, data sources and assumptions.
- Protect sheets and ranges — lock formula cells to prevent accidental changes while leaving input cells editable.
- Optimize performance — avoid entire-column references in large workbooks, limit volatile functions (NOW, INDIRECT), and reduce unnecessary array formulas.
- Keep one purpose per sheet — e.g., raw data on one sheet, pivot tables and charts on another. This makes maintenance and reuse easier.
- Use consistent file naming and version control — include date/version in file names, keep backups or use cloud version history.
- Test and validate — perform checks using totals, sample checks, and cross-sheet reconciliations. Use COUNT/COUNTIF to spot missing data.
Design tips for readability
- Left-align text, right-align numbers, and center short headings.
- Use borders sparingly to separate sections; avoid merged cells where possible (they break sorting/filtering).
- Provide clear column headings and freeze panes so headings stay visible.
Error handling and auditing
Use ISERROR/IFERROR to show friendly messages instead of #N/A or #DIV/0!. Use formula auditing tools (trace precedents/dependents) and show intermediate checks so users can validate results.
- Household monthly budget: One sheet (RawData) lists transactions; a 'Summary' sheet uses SUMIFS to compute total income and expense by category; a pie chart shows expense distribution. Use data validation for categories and named range for monthly budget limit.
- School marksheet: Raw marks per student stored in a table; helper columns compute Total and Percentage. Use IF to set Pass/Fail (e.g., IF(percentage>=40,"Pass","Fail")). Conditional formatting highlights failing students and the top scorer. Freeze panes for student list.
- Inventory management for a small shop: Master product sheet with ProductID, Price, ReorderLevel. Sales sheet records transactions. Use VLOOKUP or INDEX/MATCH to pull price and calculate totals. Flag items below reorder level with conditional formatting and SUMIF to compute stock value.
- Sales dashboard: Monthly sales data per region in a table. Use PivotTables to summarize by region/product and create slicers. Charts (line for trend, column for comparison) give an executive snapshot. Keep raw data separate so pivots refresh cleanly.
- Loan / EMI calculator: Inputs (loan amount, annual rate, tenure) on top as named cells. Use PMT(rate/12, nper*12, -principal) to compute monthly EMI and build an amortization table with helper columns (Interest = outstanding * monthly rate; PrincipalPaid = EMI - Interest).
- \[=SUM(B2:B31) -- total of a range\]
- \[=AVERAGE(C2:C31) -- average marks or values\]
- \[=COUNTIF(A2:A100,">1000") -- count values greater than 1000\]
- \[=SUMIF(CategoryRange,"Groceries",AmountRange) -- sum by single criterion\]
- \[=SUMIFS(AmountRange,CategoryRange,"Rent",DateRange,">="&DATE(2025,1,1)) -- sum by multiple criteria\]
- \[=IF(D2>=40,"Pass","Fail") -- conditional text based on threshold\]
Key Concepts
- Workbook
- A file that contains one or more worksheets (spreadsheets) in an electronic spreadsheet application.
- Worksheet
- A single sheet within a workbook made of a grid of rows and columns used to enter and organize data.
- Cell
- The intersection of a row and a column where data (text, number, formula) is entered; identified by a cell address.
- Cell Reference
- The address used to locate a cell, usually in the form ColumnLetterRowNumber (e.g., A1).
- Relative Reference
- A cell reference that changes when a formula is copied to another cell (e.g., A1).
- Absolute Reference
- A cell reference that remains fixed when copied, marked with $ (e.g., $A$1).
- Mixed Reference
- A reference with only row or column fixed (e.g., $A1 or A$1) so one part changes when copied.
- Range
- A group of contiguous cells specified by two corner cell addresses separated by a colon (e.g., A1:C5).
- Formula
- An expression entered in a cell that performs calculations using operators, references, and functions, starting with =.
- Function
- A predefined formula that performs specific calculations, such as SUM, AVERAGE, or IF.
- SUM
- Function that returns the total of numeric values in a range or list of arguments.
- AVERAGE
- Function that returns the arithmetic mean of numbers in a range or list.
- IF
- Logical function that returns one value if a condition is TRUE and another if FALSE.
- VLOOKUP
- Vertical lookup function that searches for a value in the first column of a table and returns a value in the same row from a specified column.
- Pivot Table
- A tool to summarize, analyze and rearrange large datasets quickly by grouping and aggregating values.
- Conditional Formatting
- Feature that applies formatting (color, font) to cells automatically based on rules or conditions.
- Data Validation
- Tool to restrict the type or range of data that can be entered in a cell (e.g., lists, numbers, dates).
- Named Range
- A descriptive name assigned to a cell or range to make formulas easier to read and maintain.
- Chart
- A graphical representation of data (bar, line, pie, etc.) created from worksheet values to visualize trends and comparisons.
- Filter
- Feature that displays only rows that meet criteria, allowing quick exploration of subsets of data.
Practice Questions
-
Define absolute, relative and mixed cell references with an example of each. / निरपेक्ष, सापेक्ष और मिश्रित सेल संदर्भ को प्रत्येक के एक उदाहरण सहित परिभाषित कीजिए।
Show answer
A relative reference like A1 changes when copied, an absolute reference like $A$1 stays fixed when copied, and a mixed reference like $A1 or A$1 fixes only the column or only the row. / A1 जैसा सापेक्ष संदर्भ कॉपी करने पर बदलता है, $A$1 जैसा निरपेक्ष संदर्भ कॉपी करने पर स्थिर रहता है, और $A1 या A$1 जैसा मिश्रित संदर्भ केवल कॉलम या केवल पंक्ति को स्थिर करता है।
-
Write a formula using nested IF to assign grade 'A' for marks >=90, 'B' for >=80, else 'C'. / 90 या अधिक अंक के लिए ग्रेड 'A', 80 या अधिक के लिए 'B', अन्यथा 'C' देने हेतु नेस्टेड IF का उपयोग कर एक सूत्र लिखिए।
Show answer
=IF(A2>=90,"A",IF(A2>=80,"B","C")) — it tests the highest band first and returns 'C' only when both conditions fail. / =IF(A2>=90,"A",IF(A2>=80,"B","C")) — यह पहले उच्चतम बैंड की जाँच करता है और दोनों शर्तें विफल होने पर ही 'C' लौटाता है।
-
Explain the difference between VLOOKUP and INDEX+MATCH, and state one advantage of INDEX+MATCH. / VLOOKUP और INDEX+MATCH के बीच अंतर समझाइए, और INDEX+MATCH का एक लाभ बताइए।
Show answer
VLOOKUP searches the first column and returns a value to its right, while INDEX+MATCH finds a position with MATCH and returns any value with INDEX; an advantage is that INDEX+MATCH can look to the left and is robust to column-order changes. / VLOOKUP पहले कॉलम में खोजता है और उसके दाईं ओर मान लौटाता है, जबकि INDEX+MATCH मैच से स्थिति ज्ञात करता है और INDEX से कोई भी मान लौटाता है; एक लाभ यह है कि INDEX+MATCH बाईं ओर देख सकता है और कॉलम-क्रम बदलने पर भी टिकाऊ है।
-
Write a VLOOKUP formula to fetch a student's total marks (in column 4) for an ID in B2 from the table $A$2:$D$101 using exact match. / सटीक मिलान का उपयोग करते हुए तालिका $A$2:$D$101 से B2 में दिए ID के लिए छात्र के कुल अंक (कॉलम 4 में) प्राप्त करने हेतु VLOOKUP सूत्र लिखिए।
Show answer
=VLOOKUP(B2,$A$2:$D$101,4,FALSE) — FALSE forces an exact match, and the absolute reference keeps the table fixed when the formula is copied. / =VLOOKUP(B2,$A$2:$D$101,4,FALSE) — FALSE सटीक मिलान करवाता है, और निरपेक्ष संदर्भ सूत्र कॉपी करने पर तालिका को स्थिर रखता है।
-
What is data validation, and how would you restrict a marks cell to whole numbers from 0 to 100? / डेटा वैलिडेशन क्या है, और आप एक अंक सेल को 0 से 100 तक पूर्ण संख्याओं तक कैसे सीमित करेंगे?
Show answer
Data validation restricts the type or range of data entered into a cell; choose the 'Whole number' rule with minimum 0 and maximum 100 (or a custom formula =AND(A2>=0,A2<=100)) to block invalid marks. / डेटा वैलिडेशन सेल में दर्ज डेटा के प्रकार या परास को सीमित करता है; अमान्य अंक रोकने के लिए न्यूनतम 0 और अधिकतम 100 के साथ 'Whole number' नियम (या कस्टम सूत्र =AND(A2>=0,A2<=100)) चुनें।
-
A conditional formatting rule must highlight stock in column B that falls below the reorder level in column C. Write the custom formula. / एक कंडीशनल फ़ॉर्मेटिंग नियम को कॉलम B के उस स्टॉक को उजागर करना है जो कॉलम C के पुनर्क्रम स्तर से नीचे गिरता है। कस्टम सूत्र लिखिए।
Show answer
Use =B2<C2 (written for the first cell of the selected range); the engine auto-adjusts it for each row to flag low-stock items. / =B2<C2 का प्रयोग करें (चयनित परास की पहली सेल के लिए लिखा गया); इंजन इसे प्रत्येक पंक्ति के लिए स्वतः समायोजित कर कम-स्टॉक वस्तुओं को चिह्नित करता है।
-
Differentiate between sorting and filtering, and explain why SUBTOTAL is preferred over SUM with filtered data. / सॉर्टिंग और फ़िल्टरिंग के बीच अंतर कीजिए, और बताइए कि फ़िल्टर किए डेटा के साथ SUM की तुलना में SUBTOTAL को क्यों प्राथमिकता दी जाती है।
Show answer
Sorting rearranges rows by column values while filtering temporarily hides rows that do not meet criteria; SUBTOTAL is preferred because it ignores rows hidden by the filter, whereas SUM would still add them. / सॉर्टिंग कॉलम मानों के अनुसार पंक्तियों को पुनर्व्यवस्थित करती है जबकि फ़िल्टरिंग उन पंक्तियों को अस्थायी रूप से छिपाती है जो शर्त पूरी नहीं करतीं; SUBTOTAL को प्राथमिकता दी जाती है क्योंकि यह फ़िल्टर से छिपी पंक्तियों को अनदेखा करता है, जबकि SUM उन्हें फिर भी जोड़ देगा।
-
What is Goal Seek and give one situation in what-if analysis where it is used? / Goal Seek क्या है और व्हाट-इफ विश्लेषण में एक स्थिति बताइए जहाँ इसका प्रयोग होता है?
Show answer
Goal Seek finds the single input value needed to reach a desired output; for example, it can find the price per unit required to achieve a target profit when quantity is fixed. / Goal Seek उस एकल इनपुट मान को ज्ञात करता है जो वांछित परिणाम पाने के लिए आवश्यक है; उदाहरण के लिए, यह वह प्रति-इकाई मूल्य ज्ञात कर सकता है जो मात्रा स्थिर होने पर लक्ष्य लाभ प्राप्त करने हेतु चाहिए।
Related Laws & Principles
Explore allFoundational laws & principles connected to this chapter — tap to open in the Laws Explorer.