Class Notes
Class Notes
Class Notes
A spreadsheet is a digital tool used for organizing, calculating, and analyzing data. The
most common spreadsheets are Microsoft Excel, Google Sheets, and LibreOffice
Calc.
Key Features:
• Data Entry: Spreadsheets allow users to enter text, numbers, dates, and
formulas into cells.
• Data Analysis: Built-in tools for sorting, filtering, and analyzing large datasets
are useful for professionals in fields like finance, business, and science.
Use Cases:
• Data Analysis: Analyze and visualize trends using graphs and charts.
1. Cells:
o Every cell has a unique reference based on its row and column (e.g., A1,
B2).
o Cells can contain different types of data such as text, numbers, dates,
and formulas.
o Displays the content of the active cell, and it’s where you can enter or edit
text and formulas.
4. Worksheet Tabs:
o Located at the bottom of the screen, these tabs allow users to switch
between different worksheets within a workbook.
5. Ribbon/Toolbar:
o The Ribbon in Excel and similar tools offers commands for formatting,
inserting charts, using functions, and customizing data views.
6. Gridlines:
o The lines that define the cells in a worksheet. These are usually visible to
help with organizing data but don’t appear when printing.
3. Opening a Worksheet
o This opens a blank worksheet where you can start entering data.
o Go to File > Open, and browse to locate the spreadsheet file you want to
open.
• Entering Data:
o Click on any cell and type your data. Cells can contain text, numbers, or
formulas.
• Text:
• Numbers:
• Formulas:
o Ctrl + Arrow Keys: Jump to the end of a continuous data range in any
direction.
o In Excel, you can type a specific cell reference in the Name Box (next to
the formula bar) to quickly jump to that cell.
6. Editing a Worksheet
Editing Cells:
1. Direct Edit:
Deleting Content:
• Delete Key: Pressing the Delete key removes the content of the selected cell,
but keeps the formatting.
Adding Rows/Columns:
1. Rows: Right-click on the row number where you want to add a row and select
Insert.
2. Columns: Right-click on the column letter where you want to add a column and
choose Insert.
Deleting Rows/Columns:
Adding Cells:
• Right-click on any cell and select Insert. You can shift other cells left or down
depending on where the new cell is inserted.
o Double-click the boundary between two column letters, and the width
will auto-adjust to fit the longest content.
9. Selecting Ranges
• Selecting a Range:
o Click on the first cell of the range, hold the mouse button, and drag across
the cells you want to include.
Moving Data:
• Addition:
Copy code
=A1 + B1
Common Operators:
• You can reference other cells in your formulas so that when the cell values
change, the formula recalculates automatically.
Example:
• Instead of writing =SUM(A1:A5), you could name the range "SalesData" and use
=SUM(SalesData) in your formula.
• How to Name: Select the range, click on the Name Box (next to the formula bar),
and enter a name.
13. Using Functions
Functions are pre-built formulas in spreadsheets. Common examples include:
• SUM:
=SUM(A1:A10)
• AVERAGE:
=AVERAGE(B1:B10)
• IF:
arduino
Returns "Pass" if the value in A1 is greater than 50; otherwise, it returns "Fail".
1. SUM Function
Formula:
=SUM(A1:A10)
2. AVERAGE Function
Formula:
=AVERAGE(B1:B10)
3. IF Function
• Purpose: Performs logical tests and returns different values based on the
condition.
• Real-Life Use: Making decisions like checking if you’re within a budget, whether
a task is complete or not, or eligibility criteria.
Formula:
Returns "Above Budget" if the value in A1 is greater than 1000; otherwise, returns
"Within Budget".
4. COUNT Function
• Real-Life Use: Counting how many products are sold, number of days with
expenses, or the number of tests passed.
Formula:
=COUNT(A1:A10)
5. COUNTIF Function
• Real-Life Use: Tracking how many times a specific event happens (e.g., how
many days the sales were above a certain threshold).
Formula:
=COUNTIF(B1:B10, ">100")
Formula (MAX):
=MAX(A1:A10)
Formula (MIN):
=MIN(B1:B10)
• Purpose: Searches for a value in the leftmost column and returns a value in the
same row from another column.
Formula:
• Real-Life Use: Combining first and last names, creating addresses, or building
text-based information.
Formula:
• Purpose: Returns the current date (TODAY) or the current date and time (NOW).
Formula (TODAY):
=TODAY()
Formula (NOW):
=NOW()
• Purpose: Calculates the payment for a loan based on constant payments and a
constant interest rate.
• Real-Life Use: Calculating monthly loan payments for a car, house, or other
loan.
Formula:
Example:
This calculates the monthly payment for a $20,000 loan with 5% annual interest over 60
months.
• Real-Life Use: Useful for data validation (e.g., checking if a code or ID has the
correct length).
Formula:
=LEN(A1)
• Real-Life Use: Rounding off totals in invoices, rounding grades, or dealing with
decimals in financial reports.
Formula:
=ROUND(A1, 2)
• Purpose: Removes any unnecessary spaces from text except for single spaces
between words.
=TRIM(A1)
Formula (PROPER):
=PROPER(A1)
Formula (UPPER):
=UPPER(A1)
Formula (LOWER):
=LOWER(A1)
Formula:
=TEXT(A1, "0.00%")
Steps:
Editing:
• You can adjust the chart's data range, titles, or axis labels by right-clicking the
chart and selecting Edit Data.
Formatting:
• To change the chart's colors, fonts, and styles, select the chart and use the
options under the Chart Tools tab.
Sorting:
o Go to Data > Sort and select the column by which you want to sort the
data.
Filtering:
• Filters allow you to display only the data that meets certain criteria.
o Select the range and click Data > Filter. Small dropdown arrows will
appear, allowing you to filter by specific values.
Running a Macro:
• Use Alt + F8 to view and run saved macros.