# Spreadsheet Foundations and Good Structure

> Cell references, tables, formatting and the tidy layout habits that keep spreadsheets from turning into unmaintainable messes. Free notes, key concepts,...

Canonical: https://www.internhack.in/roadmaps/tracks/data-analyst/spreadsheet-foundations
Last updated: 2026-11-28

Cell references, tables, formatting and the tidy layout habits that keep spreadsheets from turning into unmaintainable messes.

Beginner · about 4 hours · difficulty 1/5

Spreadsheets are still the most used analysis tool in business. Your stakeholders live in them, so fluency here earns trust quickly.

### Structure first

- One row per record, one column per variable, one header row. No merged cells inside data.
- Keep **raw data**, **calculations** and **outputs** on separate sheets.
- Convert ranges to an Excel **Table** (Ctrl+T) so formulas and charts grow automatically and you can use structured references like `Sales[Amount]`.

### References

Relative references (`A2`) shift when copied; absolute (`$A$2`) do not; mixed (`$A2`, `A$2`) lock one side. Understanding this is the difference between copying a formula confidently and fixing it cell by cell. Named ranges make key inputs (a tax rate, a target) readable.

### Hygiene

- Format numbers as numbers and dates as real dates, not text.
- Use freeze panes, filters and consistent number formats.
- Never type a hard-coded number inside a formula when it could live in a labelled input cell.

**Pitfall:** building a "pretty" sheet with blank rows, subtotals mixed into data and colour as the only signal. It breaks sorting, filtering and pivot tables. Move on when you can take a messy exported sheet and restructure it into a clean table that a pivot table can consume directly.

## Key concepts

- **Relative, absolute and mixed references**
- **Excel Tables and structured references**
- **Tidy layout: raw, calc, output sheets**
- **Number and date formats**
- **Sorting, filtering, freeze panes**
- **Named ranges**
- **Keyboard shortcuts**
- **Google Sheets differences**: Collaboration, ARRAYFORMULA, QUERY

## Mini project

Download a public CSV (e.g. World Bank GDP by country), import it into Excel or Sheets, convert it into a proper table, and build a separate summary sheet that references it.

## Check yourself

Why do merged cells and blank separator rows break sorting and pivot tables?

## Free resources

- [Excel help and learning](https://support.microsoft.com/en-us/excel) (Microsoft)
- [Google Sheets help](https://support.google.com/docs) (Google)

Previous: [Framing Questions and Requirements](https://www.internhack.in/roadmaps/tracks/data-analyst/problem-framing) · Next: [Formulas and Functions That Matter](https://www.internhack.in/roadmaps/tracks/data-analyst/spreadsheet-formulas)

## More in Spreadsheets as a Serious Analysis Tool

- [Spreadsheet Foundations and Good Structure](https://www.internhack.in/roadmaps/tracks/data-analyst/spreadsheet-foundations)
- [Formulas and Functions That Matter](https://www.internhack.in/roadmaps/tracks/data-analyst/spreadsheet-formulas)
- [Lookups: XLOOKUP, INDEX/MATCH and Friends](https://www.internhack.in/roadmaps/tracks/data-analyst/spreadsheet-lookups)
- [Pivot Tables and Summary Reporting](https://www.internhack.in/roadmaps/tracks/data-analyst/pivot-tables)
- [Charts and Simple Dashboards in Spreadsheets](https://www.internhack.in/roadmaps/tracks/data-analyst/spreadsheet-charts)
- [Power Query, Data Validation and Repeatable Cleanup](https://www.internhack.in/roadmaps/tracks/data-analyst/power-query-validation)

## Related

- [Roadmaps](https://www.internhack.in/roadmaps)
- [Data Analyst Roadmap](https://www.internhack.in/roadmaps/tracks/data-analyst)
