# Worksheet &amp; Ranges

Most work in EPPlus starts with a range. You address cells through the indexer of the `ExcelWorksheet.Cells` property, which returns an `ExcelRange`, and use its properties and methods to read, write, copy, sort and format the cells. This section covers working with ranges and the worksheet-level features that apply to them.

### Addressing ranges

- [Addressing a worksheet](<https://epplussoftware.com/docs/worksheet-and-ranges/addressing-a-worksheet/index.md>) - How to address cells and ranges, and how to use relative addresses with the `Offset` method.
- [Dimension/Used range](<https://epplussoftware.com/docs/worksheet-and-ranges/dimension-used-range/index.md>) - Find the area of the worksheet that contains values, formulas or styling, or only values.

### Working with ranges

- [Copying ranges/sheets](<https://epplussoftware.com/docs/worksheet-and-ranges/copy-ranges-or-entire-worksheets/index.md>) - Copy ranges, values without formulas, styles or entire worksheets, within a workbook or to another workbook.
- [Insert/Delete](<https://epplussoftware.com/docs/worksheet-and-ranges/insert-and-delete-rows-columns-and-ranges/index.md>) - Insert and delete rows, columns and ranges. EPPlus adjusts formulas, tables, pivot tables, conditional formatting, drawings and other references in the workbook.
- [Filling ranges](<https://epplussoftware.com/docs/worksheet-and-ranges/fill-ranges/index.md>) - Fill a range with numbers, dates or a list of values with `FillNumber`, `FillDateTime` and `FillList`.
- [Sorting ranges](<https://epplussoftware.com/docs/worksheet-and-ranges/sorting-ranges/index.md>) - Sort the rows or columns of a range on one or more columns or rows, ascending, descending or by a custom list.
- [Taking and skipping columns/rows](<https://epplussoftware.com/docs/worksheet-and-ranges/taking-and-skipping-columns-from-a-range/index.md>) - Select parts of a range without knowing its size, for example the result of a dynamic array formula or a `LoadFrom...` method.

### Data validation and comments

- [Data validation](<https://epplussoftware.com/docs/worksheet-and-ranges/data-validation/index.md>) - Restrict what can be entered in cells, with whole numbers, decimals, lists, dates, times or custom formulas.
- [Comments](<https://epplussoftware.com/docs/worksheet-and-ranges/comments/index.md>) - Add and read comments (notes) and threaded comments.

### Layout and presentation

- [Freeze and Split Panes](<https://epplussoftware.com/docs/worksheet-and-ranges/freeze-and-split-panes/index.md>) - Freeze rows and columns, for example a header row, or split the worksheet into separate panes.
- [Header and Footer](<https://epplussoftware.com/docs/worksheet-and-ranges/header-and-footer/index.md>) - Set headers and footers for printed worksheets, including page numbers, dates and other automatic text.
- [Hyperlinks](<https://epplussoftware.com/docs/worksheet-and-ranges/hyperlinks/index.md>) - Add hyperlinks to cells and drawings, and style them with a named style.
- [Autofit columns](<https://epplussoftware.com/docs/worksheet-and-ranges/autofit-columns/index.md>) - Adjust column widths to fit their content, and how EPPlus measures text.
- [Grouping and Ungrouping Rows and Columns](<https://epplussoftware.com/docs/worksheet-and-ranges/grouping-and-ungrouping-rows-and-columns/index.md>) - Group rows and columns into outlines that can be expanded and collapsed.

### See also

- [Formatting and styling](<https://epplussoftware.com/docs/styling/formatting-and-styling/index.md>)
- [Import/Export data](<https://epplussoftware.com/docs/import-export-data/index.md>)
