How to Use Excel: From Basics to Macros (Step-by-Step)

2026-06-05·SaaS Setup

Key Takeaways

  • Start with Excel basics: navigation, data entry, and formatting before diving into formulas.
  • Master SUM, AVERAGE, and IF functions first—they handle 80% of common tasks.
  • Pivot tables can summarize 10,000+ rows in under 10 seconds with no formulas.
  • VBA macros automate repetitive tasks: a 5-minute macro can save 2 hours per week.

Introduction

I remember my first time opening Excel—it looked like a grid of death. Columns labeled A through XFD, over a million rows. But after years of teaching, I’ve learned that Excel is just a giant calculator with a better interface. This guide walks you from zero to VBA, using real examples I’ve seen in offices. No fluff, just steps.

1. The Basics: Navigating and Entering Data

Open Excel, and you’ll see a grid. Each box is a cell, labeled by column and row (e.g., A1 is column A, row 1). Start here:

  • Enter data: Click a cell and type. Press Enter to move down, Tab to move right.
  • Format cells: Right-click a cell > Format Cells > Number. For currency, choose $ with 2 decimals. For dates, pick a format like 14-Mar-2024.
  • Resize columns: Drag the boundary between column headers (e.g., between A and B). Or double-click to auto-fit.
  • Quick fill: Type "Jan" in A1, then drag the fill handle (small square at bottom-right of cell) down—Excel auto-completes "Feb", "Mar", etc.

Pro tip: Use Ctrl + Arrow keys to jump to the last non-empty cell in a row or column. I use this daily to navigate large datasets.

2. Essential Formulas: The Workhorses

Formulas start with an equals sign (=). Here are the three you’ll use most:

  • SUM: Add numbers in a range. Example: =SUM(B2:B10) totals cells B2 through B10. I’ve used this to sum sales data for 500 rows in seconds.
  • AVERAGE: Find the mean. =AVERAGE(C2:C100) gives you the average of 99 numbers. In a real case, I calculated average order value for an e-commerce store ($47.23).
  • IF: Make decisions. =IF(D2>100, "Bonus", "No Bonus") returns "Bonus" if D2 is over 100, else "No Bonus". This saved a client 3 hours of manual checking each month.

Common mistake: Forgetting to lock cell references with $. For example, =B2*$C$1 multiplies B2 by the fixed value in C1. Without $, dragging the formula shifts the reference.

3. Pivot Tables: Summarize Data Instantly

Pivot tables are Excel’s secret weapon. Imagine you have a spreadsheet with 5,000 sales records: date, product, amount. You want sales by product. Here’s how:

1. Select your data (Ctrl + A to select all).

2. Go to Insert > PivotTable > OK.

3. In the PivotTable Fields pane, drag "Product" to Rows, "Amount" to Values.

4. Result: A clean table showing total sales per product.

5. To see sales by month, drag "Date" to Columns.

Real-world example: A logistics company I worked with used pivot tables to analyze 20,000 shipments. They found that 35% of delays happened on Tuesdays—so they rescheduled trucks, saving $12,000 per month.

Comparison: Pivot Table vs. Manual Formulas

FeaturePivot TableManual Formulas (SUMIF)
-----------------------------------------------
Time to create30 seconds5 minutes
Update with new dataRefresh (right-click)Re-enter formulas
Group by multiple fieldsDrag and dropComplex nested formulas
Beginner-friendly?YesModerate

Verdict: For large datasets, pivot tables win every time.

4. VBA Macros: Automate the Boring Stuff

VBA (Visual Basic for Applications) lets you record or write code to automate tasks. Example: You need to format 50 reports the same way each week.

  • Record a macro: Go to View > Macros > Record Macro. Name it "FormatReport". Perform actions (e.g., bold headers, set column width to 15). Click Stop Recording.
  • Run it: Press Alt + F8, select "FormatReport", click Run.
  • Edit code: Press Alt + F11 to open the VBA editor. You’ll see your recorded steps as code. For instance:

```vba

Range("A1").Font.Bold = True

Columns("A:A").ColumnWidth = 15

```

You can modify this—like looping through 50 sheets with `For Each ws In Worksheets`.

A real saving: I once wrote a macro for a client that imported CSV files, cleaned data, and generated charts. It took 3 hours to write, but saved 10 hours weekly. After 2 weeks, it paid for itself.

Caution: Always save your workbook as a Macro-Enabled Workbook (.xlsm) if you use macros. Regular .xlsx files won’t store them.

5. Next Steps & Common Pitfalls

  • Back up often: Excel crashes. I’ve lost work. Enable AutoSave (File > Options > Save) every 10 minutes.
  • Learn keyboard shortcuts: Ctrl + Shift + L toggles filters, F2 edits a cell, F4 repeats last action.
  • Use Tables: Select data > Ctrl + T turns it into a Table. This auto-expands formulas and makes pivot tables easier.
  • Avoid merged cells: They break sorting and formulas. Use "Center Across Selection" instead (Format Cells > Alignment > Horizontal > Center Across Selection).

FAQ

Q: What’s the fastest way to learn Excel formulas?

A: Start with SUM, AVERAGE, and IF. Practice on real data—like your personal budget. Use Excel’s built-in help (F1) for function details. I recommend the "Formula Builder" button (fx) next to the formula bar.

Q: Can I use Excel on a Mac?

A: Yes, but with differences. Mac Excel lacks the Power Query add-in (for data cleaning) and some VBA features. However, basic formulas, pivot tables, and macros work. Shortcuts use Cmd instead of Ctrl.

Q: How do I debug a VBA macro that’s not working?

A: Step through the code line by line: In the VBA editor, click in the macro and press F8. Watch for errors (they highlight in red). Common fixes: ensure sheet names are spelled correctly, and use `ActiveSheet` sparingly—reference specific sheets like `Worksheets("Sheet1")`.