Microsoft Excel Fundamentals: File Formats, Grid Operations, Formulas, and Functions

Excel File Formats and Advanced Capabilities

  • Macro-Enabled Workbooks (.XLSM):
    • Macros consist of recorded sequential steps executed automatically by Excel to eliminate repetitive manual tasks, such as formatting recurring spreadsheets.
    • Creating a macro does not require writing manual software code. Recording is initiated by selecting the record button, performing an example set of actions, and stopping the recording, allowing Excel to store the workflow as executable code.
  • Object Embedding:
    • External files, such as PDFs or text documents, can be directly embedded into a worksheet.
    • Embedded files (e.g., vendor invoices) open locally on the user's computer when clicked, rather than launching an external website or web browser.
  • Comma-Separated Values (.CVS / .CSV):
    • Extensively utilized within data science, data analytics, and data engineering environments.
    • Standardizes raw data extracted from external applications by removing structural anomalies, incorrect spacing, and extra commas.
    • Facilitates clean data ingestion into dashboards, analytical tools, and data warehouses.

Grid Architecture: Cell References, Ranges, and Labels

  • Cell Reference:
    • Identifies the precise location and content of an individual cell within the grid by specifying its column letter and row number (e.g., cell reference B3 or Bravo 3).
  • Cell Range:
    • Refers to a defined combination or contiguous block of cells bounded by specific boundaries (e.g., A1 to B3, written as A1:B3\text{A1:B3}).
    • Ranges are necessary when constructing mathematical formulas, performing arithmetic operations, or generating visual charts.
  • Visual Chart Generation:
    • Example setup: Column A contains months (January, February, March in cells A1 to A3), and Column B contains corresponding sales figures (10,00010{,}000, 20,00020{,}000, and 25,00025{,}000 in cells B1 to B3).
    • Procedure: Highlight the target range (A1:B3\text{A1:B3}), navigate to the Insert tab on the ribbon, and select Bar Graph. Excel processes the highlighted range to automatically render a visual bar chart.
  • Column Labels and Values:
    • Labels: Text headings positioned at the top of columns (e.g., "Month", "Sales", "Units", "Price per Unit", "Total Sales") that identify the data underneath. When included in highlighted ranges for charts, labels serve as descriptors and are excluded from underlying mathematical calculations.
    • Values: Numerical data and the calculated outputs resulting from applied mathematical formulas.

Formula Construction and Arithmetic Operations

  • Initializing Formulas:
    • Every formula in Excel must begin with an equals sign (=).
  • Basic Multiplication Workflow:
    • Example inventory table layout:
    • Part 1: 10,00010{,}000 units at a unit price of $50\$50.
    • Part 2: 20,00020{,}000 units at a unit price of $25\$25.
    • Part 3: 25,00025{,}000 units at a unit price of $35\$35.
    • To calculate total sales for Part 1 in cell D2, enter =B2×C2=\text{B2} \times \text{C2} (where B2 contains units and C2 contains price per unit) and press Enter. The resulting value displays as 50,00050{,}000.
    • Multiplication uses the asterisk symbol (*), and subtraction uses the minus symbol (-).
  • Copying Formulas Across Ranges:
    • To apply the same relative calculation down a column without retyping, click the lower-right corner square of the active formula cell (the Fill Handle) and drag it down over target cells. Excel updates relative row references automatically.
  • Cell Editing Techniques:
    • Direct manual override: Select the target cell, type the new value (e.g., updating units from 10,00010{,}000 to 15,00015{,}000), and press Enter. Linked formula outputs recalculate instantly.
    • Keyboard edit mode: Select the cell and press F2 to open the inline editor, allowing cursor placement to modify specific digits without overwriting the full entry.

Data Formatting, Number Precision, and Worksheet Selection

  • Currency and Accounting Formatting:
    • Raw numerical entries display as plain unformatted numbers without currency symbols or thousands separators.
    • Applying currency styling: Click the Accounting or Currency format button on the ribbon, or press Shift + 4 (or Shift + F4). This inserts dollar signs (\) and formats standard decimal places.
  • Commas and Decimal Controls:
    • Comma Style: Formatting cells with commas adds thousands separators (e.g., converting 10000 to 10,000).
    • Increase Decimal / Decrease Decimal: Buttons on the ribbon adjust displayed decimal precision, triggering automatic rounding.
    • Rounding Mechanism:
    • For the value $10,001.46\$10{,}001.46: Decreasing decimals by one position rounds the display value to $10,001.5\$10{,}001.5. Decreasing decimals by another position rounds the display based on standard numerical rounding thresholds.
  • Column-Wide Formatting:
    • To format an entire column: Click the column header letter at the top of the grid to highlight every cell in that vertical column. Applying formatting (such as center alignment, red text font, or blue cell fill background) formats all current and future entries in that column.
  • Global Worksheet Selection:
    • To select every cell in the entire worksheet simultaneously:
    • Option 1: Press Ctrl + A.
    • Option 2: Click the select-all triangle icon located at the top-left corner of the grid (above row 1 and to the left of column A).
    • Global formatting adjustments (such as resetting text color to black or altering global alignment) apply across the entire worksheet at once.
  • Format Painter:
    • Represented by the paintbrush icon on the ribbon.
    • Copies formatting properties (fill colors, font styles, alignments, number formats) from a selected source cell/column and paints them onto target cells/columns.
    • Requires ensuring source and target data types match to avoid formatting mismatches between text and numerical values.

Excel Functions and Built-in Libraries

  • Mathematical and Statistical Functions:
    • Square Root (SQRT): Initialized by typing =SQRT(x)=\text{SQRT}(x), selecting or entering the target number/cell reference inside the parentheses, and pressing Enter.
    • Standard Deviation: Specialized statistical function available within Excel's function library.
  • Navigating the Formulas Ribbon Tab:
    • AutoSum / Recently Used: Quick access to primary operations like SUM()\text{SUM}(), AVERAGE()\text{AVERAGE}(), IF()\text{IF}(), and COUNT()\text{COUNT}().
    • Financial: Houses financial calculations, including Payment (PMT()\text{PMT}()) and Net Present Value (NPV()\text{NPV}()).
    • Logical: Contains logical operators such as AND()\text{AND}() and OR()\text{OR}().
    • Math & Trig: Houses standard and advanced mathematical operations.
  • Specific COUNT Functions:
    • Excel provides multiple specialized counting functions that must be selected according to precise criteria: COUNT()\text{COUNT}() (counts cells with numbers), COUNTA()\text{COUNTA}() (counts non-empty cells), COUNTBLANK()\text{COUNTBLANK}() (counts empty cells), COUNTIF()\text{COUNTIF}() (counts cells meeting a single condition), and COUNTIFS()\text{COUNTIFS}() (counts cells meeting multiple conditions).

Specialized Operations: Clipboard, Summation, and Range Types

  • Clipboard Operations:
    • Copy (Ctrl + C): Duplicates selected data into the clipboard while preserving the original source cells.
    • Cut (Ctrl + X): Extracts selected data from original cells, removing it upon pasting into the destination location.
    • Paste (Ctrl + V): Inserts clipboard contents into designated target cells.
  • Summation via SUM()\text{SUM}() vs. Manual Addition:
    • Syntax for contiguous summation: =SUM(D2:D4)=\text{SUM}(\text{D2:D4}).
    • Manual addition syntax: =D2+D3+D4=\text{D2} + \text{D3} + \text{D4}.
    • Advantages of SUM()\text{SUM}(): Automatically adjusts and incorporates newly inserted rows or additional values (e.g., expanding an inventory list up to 20 parts) without requiring manual formula re-entry. Manual addition formulas require explicit code revisions (e.g., updating =E5+D6=\text{E5} + \text{D6}) whenever data structures change.
  • Summing Non-Adjacent Cells:
    • Used when adding isolated cells scattered across a sheet (e.g., calculating totals for Part 1, Part 4, and Part 5 while excluding Parts 2 and 3).
    • Syntax: Separate individual cell references with commas inside the summation formula: =SUM(cell1,cell2,cell3)=\text{SUM}(\text{cell1}, \text{cell2}, \text{cell3}) (e.g., =SUM(D2,D5,D6)=\text{SUM}(\text{D2}, \text{D5}, \text{D6})).
    • Assessment Precision (SIMnet): Automated evaluation systems enforce strict formula syntax rules. When instructed to compute non-adjacent totals using summation functions, formulas must explicitly utilize the comma syntax (e.g., =SUM(D1,D4,D5)=\text{SUM}(\text{D1}, \text{D4}, \text{D5})) rather than manual plus signs, or the response will be marked incorrect.
  • Average Function (AVERAGE):
    • Syntax: =AVERAGE(range)=\text{AVERAGE}(\text{range}) (e.g., evaluating housing project data to determine average house costs across 50,00050{,}000 property entries).