L
LLLOS.ai
Learn
L

Chapter 2 — Spreadsheet – Functions and Charts

Class 8 · Computer Studies

Overview

This unit introduces students to spreadsheet functions and charts using a typical spreadsheet application. It covers how to enter and organise data in cells and ranges, apply built-in functions to perform calculations, use logical and text functions, understand relative and absolute cell references, and create, format and interpret different types of charts. Students learn practical skills such as summing columns, calculating averages, finding minimum and maximum values, joining text, and using IF for simple decisions. They also learn to represent data visually with column, bar, line and pie charts, and how to format charts for clarity. These skills matter because spreadsheets are widely used for organising information, performing quick calculations, analysing patterns, and presenting results clearly. Mastery gives students confidence to handle school projects, small budgets, simple data analysis and to develop logical thinking and accuracy in computational tasks.

Learning Objectives

  • Describe the structure of a spreadsheet and identify cells, rows, columns and ranges.
  • Enter, edit and format data correctly in cells and apply basic number and text formatting.
  • Use basic arithmetic and statistical functions such as SUM, AVERAGE, MIN, MAX and COUNT.
  • Apply logical functions like IF to make simple decisions based on conditions.
  • Use text functions to join and manipulate strings and use date functions for basic date work.
  • Explain and apply relative and absolute cell references in formulas.
  • Create and format common chart types to represent data visually.
  • Interpret charts and choose suitable chart types for different data sets.
  • Prepare a small spreadsheet for printing, including setting print area and page layout.

Topics in this chapter

13 topics · tap a topic title to jump straight to it.

💻1

Introduction to Spreadsheets

What is a spreadsheet?
A spreadsheet is a digital worksheet made of rows and columns that divide the page into many small boxes called cells. Each cell holds an item: a number, text, a date, or a formula that calculates a value. The position of a cell is written as a column letter plus a row number, for example A1 or C5. Worksheets are useful for organising lists, performing calculations automatically and showing results clearly.

Parts you will use:
The main parts include the grid of cells, column letters, row numbers, the formula bar (which shows the content of the current cell), and sheet tabs at the bottom for multiple pages. There are toolbars and menus to insert functions, format cells, and create charts. When you click a cell its address and content appear in the formula bar, so you can edit easily.

How spreadsheets store data:
Spreadsheets classify entries into types: numbers (for calculations), text or labels (names, headings), dates (which can be used in date calculations), and boolean values (TRUE/FALSE). Knowing the type is important because many functions only work on numbers, while text functions treat text differently. If you type a number but it is stored as text, calculations such as SUM will ignore it.

Basic operations:
You can enter values directly, edit by double-clicking, copy and paste cells, fill sequences using the fill handle and undo mistakes using the Undo command. Formulas always begin with an equals sign = and can include arithmetic, references to other cells, or functions. Learning to use formulas correctly helps avoid manual calculation errors and saves time.

Good practices:
Keep headings in the top row, avoid merging cells for data you will calculate, and use clear labels. Save your work often and give meaningful sheet names. These small habits make the sheet easier to read, share and check for mistakes.

📌 Examples
  • Open a new sheet and type student names in column A and marks in column B. Observe cell addresses like A2 and B2.
  • Enter 10 in cell A1 and 20 in cell A2. Click A1 and A2 and see their values in the formula bar.
  • Type a date such as 15/08/2025 in cell C1. The application recognises it as a date if formatted correctly.
  • Try entering 100 with a trailing space and then with plain 100 and notice how formulas behave differently.
🧮 Formulas
  1. Cell address: ColumnLetterRowNumber (e.g., A1)
  2. Data types: Number, Text (Label), Date, Boolean (TRUE/FALSE)
📊 Visual ideas
A drawn diagram of a spreadsheet grid with columns labelled A to E and rows 1 to 10, showing a highlighted cell at C4 and the formula bar above.
🔬2

Selecting Cells and Ranges

Definition of a range and why it matters
A range is a group of cells chosen together so you can perform the same operation on all of them at once. Ranges are written using the start and end cells separated by a colon, for example A1:A10 or B2:E5. Using ranges saves time: instead of typing a formula for every cell one by one, you refer to the range in a function such as SUM or AVERAGE.

Ways to select cells
To select a single cell, click it. To select a block, click the first cell, hold the mouse button and drag to the last cell, or click the first cell and Shift+click the last cell. For non-adjacent cells or ranges, hold Ctrl (or Command on Mac) and click each area you need. You can also use the keyboard: Shift+arrow keys extend the selection; Ctrl+Shift+arrow keys jump to the end of a data block.

Select entire rows and columns
Click the row number to highlight a full row or the column letter to highlight a full column. This is useful when you want to hide, delete or format a whole row/column. Selecting entire columns is also handy when you create charts or apply functions to columns of numbers.

Using ranges in formulas
Functions expect ranges as inputs: =SUM(B2:B12) adds values in B2 through B12. Ranges can be vertical (A1:A10) or horizontal (A1:F1). When creating formulas, check that the range covers only the intended cells; including headings or blank rows may give wrong results. Mixed ranges like A1:B10 include multiple columns.

Practical tips and pitfalls
Use named ranges in larger sheets to make formulas readable (for example, name A2:A31 as "Sales"). Be cautious when copying formulas: relative references adjust to new positions and may point to the wrong range if you did not lock them. Always preview the highlighted range the application selects for AutoSum or chart creation and correct it if necessary.

📌 Examples
  • Select cells A1 to A5 by clicking A1 and dragging to A5; observe the highlighted area.
  • Select the whole column B by clicking on column header B and change its width.
  • Use SUM(C2:C6) to add marks in cells C2 through C6.
  • Hold Ctrl and click D2 and F2 to select two non-adjacent cells and then apply bold formatting.
🧮 Formulas
  1. Range notation: StartCell:EndCell (e.g., A1:A10, B2:E5)
  2. Entire column: B:B or Entire row: 3:3 (application-dependent)
📊 Visual ideas
A sketch showing a block A1:B4 shaded to indicate a selected range, with cell addresses marked.
📊3

Entering and Formatting Data

Entering values and editing
Type directly into a cell and press Enter to move down or Tab to move right. To edit an existing entry, double-click the cell, press F2, or edit the formula bar. Use clear labels for columns and rows so others understand your data. For repeated items, drag the fill handle (small square at the bottom-right of the selected cell) to copy or continue a sequence such as days or numbers.

Number formats and their effect
Formatting changes how a value looks without changing the underlying value. Common formats are Number (with decimals), Currency (adds a symbol), Percentage (multiplies by 100 and shows %), and Date. For example 0.25 formatted as Percentage shows 25%. If you want to calculate with a value, ensure it is stored as a number and not accidentally as text.

Text formatting and alignment
Use font settings, bold and italics for headings, and alignment options to place text left, centre or right. Wrap Text makes long entries appear in multiple lines inside one cell. Avoid merging many cells across a table header because merged cells can complicate sorting and formulas; use centered headings across selection only when necessary.

Borders, fills and styles
Apply borders to separate columns or rows visually and use fill colours sparingly to highlight headings or totals. Cell styles group common formatting so you can apply consistent looks across the sheet. Consistency helps when printing or presenting data.

Copying, pasting and validation
Paste Options let you choose to paste values only, formats only, or formulas. Data Validation restricts entries to certain types like whole numbers between 0 and 100; this reduces errors when many people enter data. Finally, always check for stray spaces or hidden characters and use TRIM to clean text so comparisons and lookups work correctly.

📌 Examples
  • Format column B as Currency to show ₹ signs for expenses listed in B2:B6.
  • Enter student names in column A and set Wrap Text so long names are fully visible.
  • Use the fill handle to extend the sequence 1, 2, 3 from cells A1 to A5.
  • Apply a light grey background and border to header row A1:D1.
🧮 Formulas
  1. Format types: Number, Currency, Percentage, Date, Text
📊 Visual ideas
A sketch of a cell with text wrapped into two lines and a header row shaded differently from data rows.
💻4

Basic Arithmetic and SUM Function

Writing simple formulas
Every formula begins with =. You can perform arithmetic using +, -, * and /. For example, =A1+A2 adds two cells, while =(A1+A2)*A3 adds A1 and A2 first, then multiplies the result by A3 because parentheses control order of operations. Use parentheses to make complex calculations clear and to ensure correct results.

Use of SUM function
SUM is a built-in function designed to add many numbers quickly and safely. Its syntax is SUM(range) or SUM(value1, value2, ...). For instance, =SUM(B2:B10) adds all values from B2 to B10. SUM ignores text and blank cells, so it will return the sum of only numeric entries. SUM is preferred over typing many + signs because it is shorter and less likely to contain mistakes.

AutoSum and selecting ranges
Most spreadsheet programs include an AutoSum button which guesses the correct range to sum when you click it. Always check the highlighted range before accepting. If the program guesses wrongly because of blank rows or headings, select the correct range manually and press Enter.

Copying formulas and relative changes
If you write a formula in one cell and copy it down, cell references normally change relative to each new row; this behaviour allows you to create a set of calculations for many rows quickly. For example if B2 contains =A2+5 and you copy it to B3, it changes to =A3+5 automatically. This reduces retyping and keeps formulas consistent across rows.

Common errors and checks
Watch for numbers stored as text — they will be ignored by SUM. Also avoid including headers or totals inside the summed range. If results look wrong, test the formula on a few known values and check cell formats and ranges. Using a small, checked example often helps find mistakes quickly.

📌 Examples
  • Write =A1+A2 in cell B1 when A1=10 and A2=15; result is 25.
  • Use =SUM(B2:B6) to total marks in B2 to B6; if B2=5, B3=6, B4=7, B5=8, B6=9 then SUM=35.
  • Click AutoSum while cell B7 is selected; accept suggested =SUM(B2:B6).
  • Write =(A1+A2)*A3 to multiply the sum of A1 and A2 by A3.
🧮 Formulas
  1. Formula start: =
  2. SUM: =SUM(range) or =SUM(value1, value2, ...)
  3. Basic arithmetic: +, -, *, /, parentheses for order
📊 Visual ideas
A simple diagram showing a column of numbers B2:B6 and a SUM formula placed in B7 referencing that range.
🔢5

AVERAGE, MIN, MAX, COUNT Functions

Purpose and basic use
These functions help you summarise a set of numbers quickly. AVERAGE gives the arithmetic mean, MIN finds the smallest value, MAX finds the largest, and COUNT counts how many numeric entries exist in a range. They are useful in tests, experiments and small business records to describe data at a glance.

How AVERAGE works
AVERAGE(range) adds all numeric values in the range and divides by the count of numeric entries. For example, =AVERAGE(B2:B11) calculates the mean of eleven values. It ignores blank cells and text; if you need blanks treated as zero, enter 0 explicitly or use other techniques.

MIN and MAX details
MIN(range) returns the lowest number in the range while MAX(range) returns the highest. These functions help find best and weakest results quickly. They also work when some values repeat or when there are negative numbers; the functions still return the correct extreme values.

COUNT and COUNTA differences
COUNT(range) counts only cells that contain numbers; COUNTA(range) counts all non-empty cells including text. Use COUNT when you need the number of numeric entries, for instance to check how many pupils submitted scores. Use COUNTA when you want to count filled rows even if some entries are text.

Combining functions
You can combine these functions to analyse data: =MAX(B2:B20)-MIN(B2:B20) gives the spread of values, while =AVERAGE(B2:B20) alongside COUNT shows both the mean and the number of values used. These combinations allow a quick statistical overview without complex formulas.

Practical caution
If some cells contain errors or are text disguised as numbers (for example, a leading space or apostrophe), functions may ignore them or return error messages. Clean the data using TRIM, check formats, and use small test ranges to confirm that functions behave as expected.

📌 Examples
  • If marks in D2:D6 are 40, 50, 60, 70, 80 then =AVERAGE(D2:D6) returns 60.
  • Use =MIN(E2:E10) to find the lowest score and =MAX(E2:E10) for the highest.
  • With some answer cells empty, =COUNT(F2:F10) shows how many numeric entries exist.
  • Combine: =MAX(B2:B12)-MIN(B2:B12) gives the difference between highest and lowest sales.
🧮 Formulas
  1. AVERAGE: =AVERAGE(range)
  2. MIN: =MIN(range)
  3. MAX: =MAX(range)
  4. COUNT: =COUNT(range)
  5. COUNTA: =COUNTA(range)
📊 Visual ideas
A sketch with a column of marks, showing arrows pointing to cells labelled MIN (lowest) and MAX (highest), and a box showing the calculated AVERAGE.
💻6

Logical Function IF

What IF does
The IF function makes decisions in a spreadsheet. It checks a condition and returns one value if that condition is TRUE and another if it is FALSE. This allows the sheet to show text labels, numerical results, or trigger different calculations based on data.

Syntax and comparisons
IF(condition, value_if_true, value_if_false). Conditions use comparison operators such as =, >, <, >=, <= and <> (not equal). For example, =IF(B2>=35, "Pass", "Fail") checks if B2 is at least 35 and returns the correct label.

Using IF for numbers and text
IF can return numbers (for instance, bonus amounts), text (labels like "Eligible"), or references to other cells. When returning text, place it in quotes. You can use IF to compute discounts: =IF(A2>1000, A2*0.9, A2) applies a 10% discount only when A2 exceeds 1000.

Nesting IFs
For multiple branches you can nest IF inside another IF: =IF(A2>=90, "A", IF(A2>=75, "B", IF(A2>=50, "C", "D"))). While useful, many nested IFs become hard to read. Alternatives like lookup tables with VLOOKUP (not required at this level) or separate helper columns may be clearer.

Combining with AND/OR
To test multiple conditions use AND and OR inside IF. Example: =IF(AND(B2>=35,C2>=35), "Pass", "Fail") checks two subjects. Use OR when any one of the conditions is enough: IF(OR(condition1, condition2), ...).

Tips and common pitfalls
Always provide a value for the false result to avoid blanks. Ensure logical tests are simple so they evaluate correctly, and test formulas with sample data. Remember that text returns need quotes and that the IF function can be used for both display labels and numeric calculations.

📌 Examples
  • Use =IF(C2>=35, "Pass", "Fail") to display pass or fail based on marks in C2.
  • Write =IF(B2>100, 100, B2) to cap a value at 100.
  • Combine: =IF(AND(B2>=40,C2>=40), "Passed Both", "Check") to ensure two subjects passed.
  • Nest: =IF(A2>=90, "A", IF(A2>=75, "B", "C")) to return grades A, B or C.
🧮 Formulas
  1. IF: =IF(condition, value_if_true, value_if_false)
  2. AND: =AND(condition1, condition2, ...)
  3. OR: =OR(condition1, condition2, ...)
📊 Visual ideas
A flowchart-like diagram showing IF test: Condition? -> True result box on one side and False result box on the other.
⚖️7

Text Functions: CONCATENATE, LEFT, RIGHT, LEN

Why text functions are useful
Text functions help format, clean and combine labels and codes. They are essential when you build full names from parts, extract IDs from codes, or measure the length of entries for validation. Good use of text functions prevents manual copying and speeds up data preparation.

Joining text: CONCATENATE and &
CONCATENATE(text1, text2, ...) joins different pieces of text. A simpler approach in many spreadsheets is using the & operator: =A2 & " " & B2 joins first and last names with a space. CONCATENATE is explicit, while & is shorter.

Extracting parts: LEFT, RIGHT and MID
LEFT(text, n) returns the first n characters; RIGHT(text, n) returns the last n characters. Use MID(text, start, n) when you need characters from the middle. These functions are useful for extracting area codes, product codes, or date parts stored as text.

Length and cleaning: LEN and TRIM
LEN(text) returns the number of characters including spaces. It helps validate fields such as phone numbers. TRIM(text) removes extra spaces at the start, end or between words so text comparisons work correctly. Clean data avoids lookup failures and mismatches.

Changing case
UPPER(text), LOWER(text) and PROPER(text) change case: UPPER makes all letters capital, LOWER makes them small, and PROPER capitalises the first letter of each word. Use these to standardise names and make lists consistent.

Practical combination
Combine functions: =UPPER(LEFT(A2,3)) returns the first three letters in uppercase. Or =TRIM(A2) & " " & TRIM(B2) ensures combined names have no extra spaces. Using these small tools together makes your spreadsheet reliable and easier to use by others.

📌 Examples
  • If A2=Ram and B2=Kumar, =A2 & " " & B2 gives "Ram Kumar".
  • With ID code ABC123 in C2, =LEFT(C2,3) returns "ABC" and =RIGHT(C2,3) returns "123".
  • Use =LEN(A2) to check that a phone number has the correct number of digits.
  • Apply =UPPER(A2) to convert a name to uppercase for standard presentation.
🧮 Formulas
  1. Concatenate: =CONCATENATE(text1, text2, ...) or =text1 & text2
  2. LEFT: =LEFT(text, n)
  3. RIGHT: =RIGHT(text, n)
  4. LEN: =LEN(text)
  5. TRIM: =TRIM(text) (removes extra spaces)
📊 Visual ideas
A drawn example showing a First Name column and Last Name column and an arrow to a Full Name column where CONCATENATE is applied.
🕐8

Date and Time Functions

How spreadsheets treat dates and times
Internally spreadsheets store dates as serial numbers (days since a base date) and times as fractions of a day. This lets you perform arithmetic with dates and times. Enter dates in a recognised format such as DD/MM/YYYY so the application recognises them as dates instead of plain text.

Common functions and their use
TODAY() returns the current date and updates when the sheet recalculates. NOW() returns both date and time. Use DATE(year, month, day) to assemble a date from separate parts; this is useful when day, month and year are in different columns. DAY(date), MONTH(date) and YEAR(date) extract the parts from a date for further analysis.

Calculating durations
Subtract one date from another to find the number of days between them: =B2-A2. For months or years difference, some applications offer DATEDIF(start, end, unit) to return months or years; if not available, use combinations of YEAR and MONTH to approximate differences. When calculating ages, take care around birthdays and leap years.

Formatting dates and times
Change how a date is shown without changing its value: dd-mm-yyyy, d mmm yyyy, or weekday names like Monday. Time formats show hours and minutes (hh:mm) or include seconds. Use custom formats to combine date and time display if needed.

Practical examples and cautions
Use dates for schedules, due dates, and attendance. Add days to a date to get a due date: =A2+30 gives the date 30 days after A2. Be careful about regional settings (DD/MM/YYYY vs MM/DD/YYYY) because a date may be interpreted differently on other computers. Always check the stored value if results seem incorrect.

📌 Examples
  • If A2=01/01/2010 and B2=01/01/2020 then =B2-A2 returns 3652 (including leap days depending on date system).
  • Use =TODAY() in a cell to always show the current date for calculating age or days left to an event.
  • Create a date from parts: =DATE(2025,8,15) returns 15/08/2025.
  • Extract year: =YEAR(C2) when C2 holds a date.
🧮 Formulas
  1. TODAY: =TODAY()
  2. NOW: =NOW()
  3. DATE: =DATE(year, month, day)
  4. DAY/MONTH/YEAR: =DAY(date), =MONTH(date), =YEAR(date)
📊 Visual ideas
A timeline sketch with two dates marked and the calculated number of days shown between them.
🔬9

Relative and Absolute Cell References

Relative references and how they help
By default a cell reference like A2 is relative. When you copy a formula from one cell to another, the relative references shift to refer to the cells in the new position. For example, if B2 contains =A2*2 and you copy B2 to B3 it becomes =A3*2. This behaviour makes it easy to perform the same calculation down a column without rewriting the formula each time.

Absolute references to fix a cell
Absolute references use the $ sign to lock a column, a row, or both. $A$1 fixes both column and row so the reference does not change when copied. $A1 fixes the column only, while A$1 fixes the row only. Use absolute references for fixed values such as tax rates, constants or the location of a single cell you want all formulas to use.

Mixed references for combined control
Mixed references allow part of the reference to change and part to stay fixed. For example, if you have a table where each row multiplies by a common rate across columns, a mixed reference can lock the row or column you need. Understanding which part to lock prevents errors when filling formulas across both rows and columns.

Practical examples
Put a sales tax percentage in $D$1 and use =A2*(1+$D$1) in column B to compute tax-inclusive prices for many rows; copying this formula keeps D1 fixed. For a multiplication table, use A$1 to fix the top row of multipliers while allowing the column to change when copying horizontally.

Tips to avoid mistakes
When creating a formula that will be copied many times, decide which references must remain pointing to the same cell. The F4 key toggles reference styles in many applications—press it while editing a reference to cycle between relative and absolute forms. Test the first few copied cells to ensure references behave as expected before filling the whole area.

📌 Examples
  • If tax rate is in $D$1 and price in A2, write =A2*$D$1 so copying down always uses the tax cell D1.
  • Write =B2*C$1 then copy across; row 1 stays fixed but column changes.
  • Start with =A2*B2 and copy down to calculate product for each row with relative references.
  • Use mixed: = $A2 * B$1 to fix column A and row 1 depending on requirement.
🧮 Formulas
  1. Relative: A1 (changes when copied)
  2. \[Absolute: $A$1 (does not change when copied)\]
  3. \[Mixed: $A1 or A$1 (partially fixed)\]
📊 Visual ideas
A small grid showing a formula in row 2 copied down to row 3 with arrows and the changed cell references annotated.
💻10

Introduction to Charts

Why we use charts
Large tables of numbers are hard to read quickly. Charts convert rows and columns into pictures that show differences, trends and proportions at a glance. A good chart helps the viewer understand patterns — for example whether sales are rising, which product is most popular, or how marks compare across students.

Common chart types and when to use them
Column and bar charts compare categories — use them for marks by student or sales by product. Line charts show trends over time, such as sales across months; they connect data points to show increase or decrease. Pie charts show how a whole is divided among parts (market share percentages) and work well when there are a few categories. Scatter plots show relationships between two numeric variables, for example hours studied versus exam score.

Preparing data for charts
Arrange your data so labels are in the first column or row and numeric values are adjacent. For a time series, put dates or months in one column and the numbers to plot in the next column. Charts use the label row/column for axis names and the numeric columns for the data series. Clean, consistent labels make legends and axis descriptions clearer.

Chart components and readability
Most charts have a title, axes (for column, bar and line charts), a legend for multiple series, and gridlines to aid reading. Use a meaningful title and label axes, including units such as "Marks" or "Sales (₹)". Avoid overloading a chart with too many series or colours — simpler charts are easier to understand.

Choosing the right chart
Ask what you want to show: comparison (column/bar), trend (line), composition (pie), or correlation (scatter). A wrong chart can hide the message. Keep charts uncluttered, avoid unnecessary 3D effects, and ensure colour choices are distinguishable if printed in greyscale.

📌 Examples
  • Select months in A2:A7 and sales in B2:B7 and insert a Column chart to compare monthly sales.
  • Make a Pie chart from market-share percentages to show which brand has the largest share.
  • Use a Line chart to show temperature changes over a week from data in columns.
  • Try a Bar chart to compare marks of students across subjects.
📊 Visual ideas
A sketch showing a simple column chart with months on the horizontal axis and sales values as vertical bars, along with a legend and title.
💻11

Creating and Editing Charts

Steps to create a basic chart
First select the data range including labels and numbers. Then use Insert > Chart (or the chart button) to create a chart. The chart wizard or dialog will often suggest a chart type and preview the result. Always check that the selected data range and the axis labels are correct before inserting the chart.

Editing chart elements
After creating a chart, click it to reveal editing tools. You can change the title by clicking it and typing a clearer heading. Edit axis labels to include units and adjust the legend position for clarity. Use formatting options to change colours, line styles and marker shapes for better visibility. Resize and move the chart so it sits near the data table or on a separate sheet.

Adding or removing data series
To compare multiple sets of numbers, add extra series by selecting more columns or by using the chart data selection dialog. Each series gets a separate colour and legend entry. If a series is not needed, remove it from the data selection. For long-term use, consider naming series clearly in the sheet so legends make immediate sense.

Switching chart types and combining charts
If the initial type does not communicate the message well, change it (for example, from Column to Line to show trends). Some spreadsheets allow combining chart types — such as columns with a line series — useful when scales differ and you want to emphasise one dataset while showing another for comparison.

Linking and copying charts
Charts can be copied into presentations and documents. If pasted as linked objects they update when the spreadsheet changes; if pasted as images they remain static. Choose the method depending on whether you need dynamic updates. Before sharing, check the chart legend, title and axis labels so the recipient can understand the chart without the data table.

📌 Examples
  • Select A1:B7 and insert a Column chart, then double-click the title cell to change it to "Monthly Sales".
  • Add a second series by selecting A1:C7 and choose a clustered column chart to show two product lines.
  • Change a Column chart to a Line chart to highlight trend over time.
  • Resize a chart and move it beside the data table for a clean report layout.
📊 Visual ideas
A diagram showing a chart embedded next to its data table with arrows indicating editable parts: title, axes, legend.
💻12

Formatting Charts for Clarity

Design principles for clear charts
Good charts present the message quickly. Keep titles short but descriptive, use legible fonts and label axes with units. Use consistent colours for the same series across charts and choose contrasting colours for different series. Avoid heavy 3D effects that can distort perception and make values harder to compare accurately.

Setting axis scales and intervals
Choose sensible minimum and maximum values for axes so the data is not misleading. For percentage data set the vertical axis from 0 to 100. Set major tick intervals to consistent steps (for example 10, 20, 30) so reading values is straightforward. If the values vary widely, consider a secondary axis for a second data series and explain this clearly in the chart legend.

Legends, data labels and annotations
Place the legend where it does not overlap the data. Add data labels when exact values are important, but avoid adding labels for every point on a dense series because this clutters the chart. Use callouts or text boxes to annotate key points such as the highest or lowest values, sudden changes, or interesting trends to guide the reader’s attention.

Gridlines, backgrounds and printing
Keep gridlines light and minimal; strong gridlines distract from the data. Use a plain white background or a subtle tint that does not reduce contrast. For print, test charts in greyscale to ensure they remain understandable and consider patterns or hatch fills if colours may not reproduce accurately.

Accessibility and simplicity
Use chart elements consistently and avoid overloading a single chart with too many series. If necessary, split the information across multiple charts. Make sure axis text sizes are readable when charts are scaled down for reports and that titles and labels explain what the viewer is seeing without needing to read the data table.

📌 Examples
  • Change chart colours to a palette with two contrasting tones for two series representing two products.
  • Set the vertical axis minimum to 0 and maximum to 100 if values are percentages so the scale is meaningful.
  • Add data labels to the top of bars when exact numbers are required in a presentation.
  • Remove major gridlines if they distract from the data and keep only light horizontal lines.
📊 Visual ideas
A chart mock-up showing a clear title, labelled axes, a legend on the right, and light gridlines; one bar is annotated with a text box noting 'Highest sales'.
💻13

Printing, Page Setup and Sharing

Preparing a worksheet for printing
Before printing, decide what parts of the sheet need to appear on paper and set the print area accordingly. Use Page Layout options to choose orientation (Portrait or Landscape), paper size, and margins so tables and charts fit neatly. Scaling options let you fit a sheet to one page wide or a specified number of pages; use them cautiously because too much scaling reduces legibility.

Headers, footers and page numbers
Add headers to show the document title and footers to show page numbers and dates. These make printed sheets easier to follow, especially when multiple pages are used. Include the sheet name or a brief description in the header to help readers identify the content quickly.

Repeating rows and columns
For long tables set rows to repeat at the top of each printed page (for example the header row). This ensures column headings are visible on every page and avoids confusion when someone reads a page in isolation. The same idea applies to repeating columns for wide tables printed across multiple pages.

Print preview and page breaks
Use Print Preview to check where page breaks occur and whether charts or rows are split across pages. Adjust column widths, font sizes or page breaks so content does not break awkwardly. Insert manual page breaks where appropriate to keep related items together.

Exporting, sharing and protection
Export the worksheet to PDF to preserve layout and ensure recipients see the sheet as intended. When sharing online, set permissions carefully: give edit rights only to those who must change the sheet. Use simple protection to lock cells that contain formulas to prevent accidental changes, and keep a backup copy with full editing access for later updates.

📌 Examples
  • Set print area to A1:D20 and change orientation to Landscape to fit a wide table and chart.
  • Add page numbers in the footer and set the header to "Science Project Data".
  • Use Print Preview to see page breaks and adjust column widths so the table is not split awkwardly.
  • Export the worksheet to PDF and check that charts are embedded and look correct before emailing.
📊 Visual ideas
A page layout sketch showing a spreadsheet page with header, footer, and a chart sized to fit within margins.

Key Concepts

Cell
A single box in a spreadsheet identified by a column letter and row number (for example A1).
Range
A group of cells selected together, written as StartCell:EndCell (e.g., A1:A5).
Formula
An expression starting with = that performs calculations or operations on cell values.
Function
A built-in operation like SUM, AVERAGE or IF that performs a specific task on data.
Relative Reference
A cell reference that changes when the formula is copied to another cell.
Absolute Reference
A cell reference fixed with $ signs (e.g., $A$1) that does not change when copied.
SUM
A function that adds all numeric values in a given range.
AVERAGE
A function that calculates the arithmetic mean of numbers in a range.
MIN / MAX
Functions that return the smallest (MIN) or largest (MAX) value in a range.
COUNT / COUNTA
COUNT counts numeric cells; COUNTA counts non-empty cells including text.
IF
A logical function that returns one value if a condition is true and another if false.
Chart
A graphical representation of data such as column, line, bar or pie chart.
Data Label
A text or number shown on a chart to indicate the value of a data point.
Print Area
A selected part of the worksheet designated to be printed.

Practice Questions

  1. Enter numbers 10, 20, 30 in cells A1:A3. Write a formula to add them. / कोशिकाएँ A1:A3 में क्रमशः 10, 20, 30 दर्ज करें। इन्हें जोड़ने के लिए सूत्र लिखिए।
    Show answer

    Place =SUM(A1:A3) in another cell; it returns 60. For example, if you put =SUM(A1:A3) in A4 the cell will show 60. Make sure A1:A3 are numeric (not text) so SUM includes them. / किसी अन्य सेल में =SUM(A1:A3) रखें; यह 60 देता है। उदाहरण के लिए यदि आप A4 में =SUM(A1:A3) लिखते हैं तो वह 60 दिखाएगा। सुनिश्चित करें कि A1:A3 संख्यात्मक हों (टेक्स्ट नहीं) ताकि SUM उन्हें जोड़े।

  2. What formula will give the average of cells B2 to B11? / B2 से B11 तक की कोशिकाओं का औसत देने वाला सूत्र क्या होगा?
    Show answer

    Use the AVERAGE function: =AVERAGE(B2:B11). This formula adds all numeric values in B2 through B11 and divides by the count of numeric entries. If some cells are blank or contain text they are ignored by AVERAGE; to include blanks as zero you must enter 0 or use a different approach. After entering the formula, press Enter and the mean value will appear. / AVERAGE फ़ंक्शन का प्रयोग करें: =AVERAGE(B2:B11)। यह सूत्र B2 से B11 तक की संख्याओं को जोड़कर उनका औसत निकालता है और खाली या टेक्स्ट वाली कोशिकाओं को नजरअंदाज करता है; यदि आप खाली कोशिकाओं को शून्य मानना चाहते हैं तो वहां 0 दर्ज करें या अलग तरीका अपनाएं। सूत्र डालने के बाद Enter दबाएँ और औसत दिखाई देगा।

  3. How do you write a formula to show "Pass" if marks in C2 are 35 or more, otherwise "Fail"? / यदि C2 में अंक 35 या उससे अधिक हों तो "Pass" और अन्यथा "Fail" दिखाने के लिए आप कौन सा सूत्र लिखेंगे?
    Show answer

    Use an IF formula: =IF(C2>=35, "Pass", "Fail"). This checks whether C2 is at least 35; if true it returns the text "Pass", otherwise it returns "Fail". Remember to include the text results in double quotes. If you want to show different messages or perform further calculations inside the IF, replace the second and third parts accordingly. / IF सूत्र का प्रयोग करें: =IF(C2>=35, "Pass", "Fail")। यह जांचता है कि C2 35 या उससे अधिक है या नहीं; यदि शर्त सही है तो "Pass" दिखाएगा अन्यथा "Fail"। टेक्स्ट परिणामों को डबल कोट्स में रखना न भूलें। अगर आप अलग संदेश या आगे की गणना करना चाहते हैं तो शर्त के बाद के भाग बदल दें।

  4. A tax rate is in cell D1. Price is in A2. Write a formula to calculate price after tax using an absolute reference for the rate. / टैक्स दर D1 में है और कीमत A2 में है। टैक्स के साथ कीमत निकालने के लिए ऐसा सूत्र लिखिए जिसमें दर के लिये absolute reference हो।
    Show answer

    Use =A2*(1+$D$1) so the tax cell $D$1 stays fixed when copied. If D1 holds 0.05 (5%) and A2 is 200, the formula returns 210. When copying this formula down, $D$1 will not change because of the $ signs. / =A2*(1+$D$1) का प्रयोग करें ताकि कॉपी करने पर $D$1 स्थिर रहे। यदि D1 में 0.05 (5%) है और A2 में 200 है तो यह सूत्र 210 देगा। कॉपी करने पर $D$1 $ चिन्हों के कारण नहीं बदलेगा।

  5. How will you join first name in A2 and last name in B2 with a space between? / A2 में पहला नाम और B2 में अंतिम नाम हैं; बीच में स्पेस रखते हुए इन्हें कैसे जोड़ेंगे?
    Show answer

    Use =A2 & " " & B2 or =CONCATENATE(A2, " ", B2). Enter either formula in another cell; if A2 contains Ram and B2 contains Kumar the result will be "Ram Kumar". Use TRIM if names might have extra spaces. / =A2 & " " & B2 या =CONCATENATE(A2, " ", B2) का प्रयोग करें। किसी अन्य सेल में इनमें से कोई भी सूत्र डालें; यदि A2 में Ram और B2 में Kumar है तो परिणाम "Ram Kumar" होगा। यदि अतिरिक्त स्पेस होने की संभावना हो तो TRIM का प्रयोग करें।

  6. Which chart type is best to show parts of a whole like market share percentages? / बाजार हिस्से के प्रतिशत जैसे "किसी समग्र का भाग" दिखाने के लिए कौन सा चार्ट सबसे उपयुक्त है?
    Show answer

    A Pie chart is best for showing parts of a whole when you have a small number of categories. Each slice shows a percentage of the total and the whole circle represents 100%. Use labels or a legend to identify slices and avoid too many slices which make the chart hard to read. For more categories consider a bar chart showing percentages instead. / किसी समग्र के भाग दिखाने के लिए Pie चार्ट सबसे उपयुक्त होता है जब श्रेणियाँ कम हों। प्रत्येक टुकड़ा कुल का प्रतिशत दिखाता है और पूरा वृत्त 100% होता है। स्लाइस की पहचान के लिए लेबल या legend का प्रयोग करें और बहुत सारी स्लाइस से बचें क्योंकि वह पढ़ने में कठिन बना देती हैं। अधिक श्रेणियों के लिए प्रतिशत दिखाने हेतु बार चार्ट बेहतर हो सकता है।

  7. Explain the difference between COUNT and COUNTA with an example. / COUNT और COUNTA में अंतर एक उदाहरण सहित समझाइए।
    Show answer

    COUNT counts only numeric cells in a range, while COUNTA counts all non-empty cells including text. Example: if A1:A4 contain 5, "Ram", 10, "" (empty) then =COUNT(A1:A4) returns 2 because only 5 and 10 are numbers. =COUNTA(A1:A4) returns 3 because it counts 5, "Ram" and 10 but ignores the empty cell. Use COUNT when you need the number of numeric entries and COUNTA to know how many cells are filled. / COUNT केवल संख्या वाली कोशिकाओं को गिनता है जबकि COUNTA सभी खाली नहीं कोशिकाओं को गिनता है, जिसमें टेक्स्ट भी शामिल है। उदाहरण: यदि A1:A4 में 5, "Ram", 10, "" (खाली) हों तो =COUNT(A1:A4) 2 देगा क्योंकि केवल 5 और 10 संख्याएँ हैं। =COUNTA(A1:A4) 3 देगा क्योंकि यह 5, "Ram" और 10 को गिनता है और खाली कोशिका को नहीं। संख्या में प्रविष्टियों के लिए COUNT और भरे हुए कक्षों के लिए COUNTA का प्रयोग करें।

  8. You have monthly sales in B2:B13 and months in A2:A13. Describe steps to create a simple column chart. / A2:A13 में महीने और B2:B13 में मासिक बिक्री है। साधारण Column चार्ट बनाने के चरण बताइए।
    Show answer

    Select the data including labels (A2:B13). Go to Insert > Chart and choose Column chart (clustered column). Check that months are on the horizontal axis and sales values are the bars. Add a chart title like "Monthly Sales", label the vertical axis as "Sales (₹)", and move the legend if needed. Adjust colours and gridlines for readability and resize the chart next to the table or on a separate sheet. Finally preview or export to PDF for sharing. / A2:B13 सहित डेटा चुनें। Insert > Chart पर जाएँ और Column chart (clustered column) चुनें। जांचें कि महीने क्षैतिज अक्ष पर और बिक्री मान बार के रूप में दिख रहे हैं। शीर्षक "Monthly Sales" जोड़ें, ऊर्ध्वाधर अक्ष को "Sales (₹)" लेबल करें और आवश्यकतानुसार legend का स्थान बदलें। पठनीयता के लिये रंग और gridlines समायोजित करें और चार्ट को तालिका के पास या अलग शीट पर आकार दें। शेवट में प्रीव्यू कर लें या साझा करने के लिये PDF में निर्यात करें।

  9. If cell E1 contains 100 and you write =A2*E1 in B2 then copy B2 down, what happens and how to prevent E1 from changing? / यदि E1 में 100 है और आप B2 में =A2*E1 लिखकर B2 को नीचे कॉपी करते हैं तो क्या होगा और E1 को बदलने से कैसे रोका जा सकता है?
    Show answer

    By default the reference E1 will change relatively (to E2, E3...) when copied down. To prevent this use an absolute reference: =A2*$E$1. The dollar signs fix the column and row so every copied formula still refers to E1. For example, if A2 contains 5 then =A2*$E$1 gives 500 and copying down keeps using the same 100 from E1. / सामान्यतः E1 सापेक्ष रूप से बदलकर E2, E3 आदि बन जाएगा जब आप नीचे कॉपी करेंगे। इसे रोकने के लिए absolute reference का प्रयोग करें: =A2*$E$1। $ चिन्ह कॉलम और पंक्ति दोनों को फिक्स कर देते हैं ताकि प्रत्येक कॉपी किया गया सूत्र अभी भी E1 को ही संदर्भित करे। उदाहरण के लिए यदि A2 में 5 है तो =A2*$E$1 500 देगा और नीचे कॉपी करने पर भी यह E1 के 100 का ही उपयोग करता रहेगा।

  10. Describe one way to make a spreadsheet ready for printing. / प्रिंट के लिए स्प्रेडशीट तैयार करने का एक तरीका बताइए।
    Show answer

    Set the print area to include only the necessary cells, choose orientation (Portrait or Landscape) based on width, and use Page Layout to adjust margins and scaling so the data fits on the desired number of pages. Use Print Preview to check page breaks, repeat header rows on each printed page, and add a header/footer with a title and page numbers. Finally export to PDF to preserve layout before printing or sharing. / केवल आवश्यक कोशिकाओं को शामिल करने के लिए print area सेट करें, चौड़ाई के अनुसार orientation (Portrait या Landscape) चुनें और Page Layout में margins और scaling समायोजित करें ताकि डेटा वांछित पन्नों पर ठीक से फिट हो। Print Preview से page breaks जांचें, हर पृष्ठ पर header rows दोहराएँ और शीर्षक व पृष्ठ संख्या के साथ header/footer जोड़ें। अंत में प्रिंट या साझा करने से पहले layout बचाने के लिए PDF में निर्यात करें।

Related Laws & Principles

Explore all

Foundational laws & principles connected to this chapter — tap to open in the Laws Explorer.

Loading related laws…
Sourced from 0 content files · LLOS Learn · browse all chapters