⚡0 XP🔥0

Excel Essentials for Analysts

Lesson 1 of 7 ⏱ 6 min read ❓ 5-question quiz

Organise data the right way - tidy table structure, Excel Tables (Ctrl+T), data types and number formats, sorting, filtering, freeze panes, conditional formatting and the keyboard shortcuts analysts use every day.

Download the practice workbook#

Vindhya Mart practice workbook

vindhya_mart_practice.xlsx - use it for every lesson in this module.

Sheet Contents
Sales 1,500 clean orders (2024-2025), 17 columns
Products product master with cost price
Targets 2025 sales target for each region
Raw_Data 312 messy rows for cleaning practice

Works in Microsoft Excel 2019 / 2021 / 365 and mostly in Google Sheets (XLOOKUP and Power Query need Excel 365/2021 or Google Sheets equivalents).

The Excel workspace - quick tour#

Term Meaning
Workbook the file (.xlsx)
Worksheet / sheet a tab inside the workbook
Cell one box, addressed like B7 (column B, row 7)
Range a block of cells, like A1:Q1501
Formula bar shows the formula inside the selected cell
Ribbon the menus: Home, Insert, Formulas, Data, View...
Name box left of the formula bar - type A1000 to jump there

Tidy data - the most important rule#

Analysis tools (pivots, SUMIFS, Power BI) expect data in a tidy shape:

  1. One header row with unique, clear column names
  2. One record per row (one order, one employee...)
  3. One variable per column (don't mix city and state in one cell)
  4. No blank rows or columns inside the data
  5. No merged cells, no subtotals typed inside the data
  6. One table per sheet (put notes and summaries elsewhere)
Not tidy vs tidy

Not tidy - months as columns, regions as merged headings:

Region Jan Feb Mar
NORTH (merged)
Delhi 50,000 42,000 61,000
Jaipur 21,000 19,500 25,000
Total North 71,000 61,500 86,000

Tidy - one row per city per month:

Region City Month Sales
North Delhi Jan 50000
North Delhi Feb 42000
North Jaipur Jan 21000

The tidy version is longer, but every tool can total it any way you like. (Power Query's Unpivot converts the first shape into the second - you'll learn it later.)

हिंदी में समझें

Tidy data का मतलब है data को analysis के लायक सही ढाँचे में रखना:

  • सबसे ऊपर एक ही header row
  • हर row में एक record (एक order)
  • हर column में एक ही तरह की जानकारी
  • बीच में खाली rows, merged cells या subtotal नहीं

देखने में "सुंदर" report (merged cells, रंग, बीच में totals) analysis के लिए सबसे खराब होती है। पहले data को tidy रखें - सुंदर report बाद में pivot या dashboard से बनाएँ।

Excel Tables (Ctrl + T)#

Click anywhere in the data and press Ctrl + T → tick My table has headers → OK. Then rename it in Table Design → Table Name (e.g. tblSales).

Benefits:

  • Filters and banded rows automatically
  • Auto-expands when you add rows - formulas, pivots and charts include new data
  • Formulas copy down the whole column automatically
  • Structured references: =SUM(tblSales[sales]) instead of =SUM(N2:N1501)
Tip

Always convert raw data to a Table before building pivots or formulas. When next month's data is pasted below, a Refresh is all you need.

Data types and number formats#

Data Stored as Alignment (default) Format examples
Numbers number right #,##0.00, ₹ #,##,##0, 0.0%
Dates number (days since 1900) right dd-mmm-yyyy, mmm-yy
Text text left -
True/False logical centre -
  • A date is really a number: 25-Nov-2026 is stored as 46351. That's why you can subtract dates to get days.
  • Format ≠ value: formatting 0.1 as 10% doesn't change the value 0.1.
  • Indian number grouping (1,00,000): use the custom format [>=10000000]##\,##\,##\,##0;[>=100000]##\,##\,##0;##,##0.
Common Mistake

Numbers stored as text (often from software exports) look like numbers but are ignored by SUM and pivots. Signs: left-aligned, a green triangle in the corner. Fix: select → click the warning icon → Convert to Number, or use =VALUE(A2).

Sorting and filtering#

  • Sort: Data → Sort - sort by several levels (e.g. Region A→Z, then Sales largest→smallest).
  • Filter: Ctrl + Shift + L toggles filter buttons. Use Number Filters → Top 10, Date Filters → This Year, text search, etc.
  • The status bar (bottom right) shows Sum, Average and Count of selected cells - instant checks without formulas.

Freeze panes, zoom and navigation#

  • View → Freeze Panes → Freeze Top Row keeps headers visible.
  • Freeze both header row and first column: select cell B2 → Freeze Panes.

Shortcuts analysts use all day#

Shortcut Action
Ctrl + Arrow jump to the edge of data
Ctrl + Shift + Arrow select to the edge
Ctrl + Space / Shift + Space select column / row
Ctrl + T create Table
Ctrl + Shift + L toggle filters
Ctrl + 1 Format Cells dialog
Alt + = AutoSum
F4 toggle $ (absolute reference) while editing a formula
Ctrl + ; insert today's date
Ctrl + D fill down
Ctrl + Page Up / Down switch sheets
F2 edit cell

Conditional formatting#

Home → Conditional Formatting highlights patterns instantly:

  • Highlight Cells Rules → e.g. profit less than 0 in red
  • Top/Bottom Rules → top 10 orders
  • Data Bars and Color Scales → see magnitude at a glance
  • New Rule → Use a formula: e.g. =$M2>=0.2 to highlight whole rows with discount ≥ 20%

Practice tasks (Sales sheet)#

  1. Convert the Sales data into a Table named tblSales.
  2. Freeze the top row.
  3. Format sales, cost and profit with thousands separators and 2 decimals.
  4. Filter region = Central and year 2025 (use a Date Filter on order_date). Read the Sum of sales from the status bar.
  5. Highlight all rows with negative profit in light red using a formula rule.
Check your answers
  • Task 4: Central sales in 2025 = Rs. 8,58,346.45 (status bar Sum).
  • Task 5: 57 rows turn red, and every one of them has a discount of 15% or more (none at 0-10%) - a preview of an insight you'll prove with pivots later.
  • Total rows in tblSales = 1,500 (status bar Count on order_id = 1,500).

Summary#

  • Keep data tidy: one header row, one record per row, one variable per column, no merged cells.
  • Use Excel Tables (Ctrl + T) - they auto-expand and allow structured references.
  • Check data types: dates and numbers should be right-aligned; convert text-numbers.
  • Sort, filter, freeze panes and conditional formatting give quick insights.
  • Learn the shortcuts - they save hours each week.

Quick Quiz

Q1.

What is the shortcut to convert a range into an Excel Table?

Q2.

Which layout is best for analysis?

Q3.

A column of numbers is left-aligned and SUM gives 0. What is the likely problem?

Q4.

Which shortcut jumps to the last filled cell of a column?

Q5.

Which feature keeps the header row visible while scrolling?