# Read and Import Excel Data

Read and Import Excel Data on Evotec with installation guidance, setup notes, reference details, and project documentation.

Project

PSWriteOffice

PowerShell document automation across OfficeIMO's document, spreadsheet, presentation, PDF, Project, Access, EPUB, invoicing, and conversion engines.

[View on GitHub](https://github.com/EvotecIT/OfficeIMO/tree/master/PowerShell/PSWriteOffice) [Visit Website](#) [Releases](https://github.com/EvotecIT/PSWriteOffice/releases/tag/v3.0.5) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/PSWriteOffice)

Stars**750**

Forks**87**

Open issues**8**

PowerShell Gallery downloads**5533821**

Release**v3.6.2**

Language: C# Updated: 2026-11-28

Documentation

Read worksheets, ranges, tables, and typed rows from existing workbooks without requiring Microsoft Excel.

Use `Import-OfficeExcel` when the workbook is a data source. Use `Get-OfficeExcel` and the targeted inspection commands when workbook structure, formatting, formulas, validation, charts, or metadata matter.

## Import rows

```powershell
$rows = Import-OfficeExcel -Path '.\Input\Register.xlsx' `
    -WorksheetName 'Services' -Range 'A1:D500'
$atRisk = $rows | Where-Object Status -eq 'At risk'
```

`-AllSheets` adds sheet identity to each result. `-ByColumn`, `-AsHashtable`, `-AsDataTable`, and `-AsDataReader` support different downstream consumers. Range and row/column bounds keep large imports intentional.

## Inspect workbook structure

Use `Get-OfficeExcelSummary` for a workbook-level inventory, then query tables, named ranges, formulas, comments, validation, pivots, worksheet views, page breaks, links, queries, and rich text only when needed.

The [read-and-filter recipe](https://github.com/EvotecIT/PSWriteOffice/blob/main/Examples/Excel/Recipe-Excel-ReadAndFilter.ps1) creates a table, imports typed rows, and filters the records that require attention.

For semicolon-delimited or other text data, continue with [delimited import and publishing](/projects/pswriteoffice/docs/excel-export-publish/).

<!-- PowerForge markdown artifact sha256:D1048959B2F3C5C68F746B401ED1C9F54D0A20228E0E0FCBD8A4296FAF5BF363 -->
