# ExcelFormulaInspection

Workbook or worksheet formula inspection result.

Class 

`OfficeIMO.Excel`

**Namespace**

`OfficeIMO.Excel`

**Assembly**

`OfficeIMO.Excel`

**Source revision**

`273d35d5ba8a` with working tree changes

**Source**

[ExcelFormulaInspection.cs:108](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelFormulaInspection.cs#L108)

**Modifiers**

sealed

Workbook or worksheet formula inspection result.

## Inheritance

- object
- ExcelFormulaInspection

## Usage

Explore 5 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 5

- Method [ExcelDocument.InspectFormulas](/api/excel/officeimo-excel-exceldocument/#method-inspectformulas)
- Method [ExcelFormulaInspection.EnsureAllHaveCachedResults](/api/excel/officeimo-excel-excelformulainspection/#method-ensureallhavecachedresults)
- Method [ExcelFormulaInspection.EnsureAllSupported](/api/excel/officeimo-excel-excelformulainspection/#method-ensureallsupported)
- Method [ExcelFormulaInspection.EnsureNoDependencyIssues](/api/excel/officeimo-excel-excelformulainspection/#method-ensurenodependencyissues)
- Method [ExcelSheet.InspectFormulas](/api/excel/officeimo-excel-excelsheet/#method-inspectformulas)

Filter members 

Show inherited

## Methods

`public ExcelFormulaInspection EnsureAllHaveCachedResults()` [#](#method-ensureallhavecachedresults)

[ExcelFormulaInspection.cs:123](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelFormulaInspection.cs#L123)

Throws when any formula lacks a cached result.

Returns

`ExcelFormulaInspection`

`public ExcelFormulaInspection EnsureAllSupported()` [#](#method-ensureallsupported)

[ExcelFormulaInspection.cs:108](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelFormulaInspection.cs#L108)

Throws when any formula is outside OfficeIMO's lightweight evaluator support.

Returns

`ExcelFormulaInspection`

`public ExcelFormulaInspection EnsureNoDependencyIssues()` [#](#method-ensurenodependencyissues)

[ExcelFormulaInspection.cs:138](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelFormulaInspection.cs#L138)

Throws when any formula dependency issue is detected.

Returns

`ExcelFormulaInspection`

`public string ToMarkdown()` [#](#method-tomarkdown)

[ExcelFormulaInspection.cs:157](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelFormulaInspection.cs#L157)

Returns a compact Markdown report of formula support and cache status.

Returns

`string`

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public IReadOnlyList<ExcelFormulaCellInfo> Formulas { get; }` [#](#property-formulas)

[ExcelFormulaInspection.cs:69](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelFormulaInspection.cs#L69)

Formula cells discovered in workbook order.

`public int TotalFormulas { get; }` [#](#property-totalformulas)

[ExcelFormulaInspection.cs:72](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelFormulaInspection.cs#L72)

Total formula count.

`public int SupportedFormulas { get; }` [#](#property-supportedformulas)

[ExcelFormulaInspection.cs:75](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelFormulaInspection.cs#L75)

Formula count supported by OfficeIMO's lightweight evaluator.

`public int UnsupportedFormulas { get; }` [#](#property-unsupportedformulas)

[ExcelFormulaInspection.cs:78](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelFormulaInspection.cs#L78)

Formula count that must be preserved, cached, or recalculated by Excel.

`public int MissingCachedResults { get; }` [#](#property-missingcachedresults)

[ExcelFormulaInspection.cs:81](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelFormulaInspection.cs#L81)

Formula cells without cached results.

`public int DirtyFormulas { get; }` [#](#property-dirtyformulas)

[ExcelFormulaInspection.cs:84](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelFormulaInspection.cs#L84)

Formula cells marked dirty for recalculation.

`public int DependencyIssueCount { get; }` [#](#property-dependencyissuecount)

[ExcelFormulaInspection.cs:87](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelFormulaInspection.cs#L87)

Total dependency issues found across formula cells.

`public ExcelFormulaDependencyGraph DependencyGraph { get; }` [#](#property-dependencygraph)

[ExcelFormulaInspection.cs:90](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelFormulaInspection.cs#L90)

Workbook-level graph of formula cells, direct dependencies, and formula dependents.

`public bool AllSupported { get; }` [#](#property-allsupported)

[ExcelFormulaInspection.cs:93](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelFormulaInspection.cs#L93)

True when every formula can be evaluated by OfficeIMO's lightweight evaluator.

`public bool AllHaveCachedResults { get; }` [#](#property-allhavecachedresults)

[ExcelFormulaInspection.cs:96](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelFormulaInspection.cs#L96)

True when every formula has a cached result.

`public bool HasDependencyIssues { get; }` [#](#property-hasdependencyissues)

[ExcelFormulaInspection.cs:99](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelFormulaInspection.cs#L99)

True when any formula dependency issue was detected.

`public ExcelFormulaCapabilities Capabilities { get; }` [#](#property-capabilities)

[ExcelFormulaInspection.cs:102](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelFormulaInspection.cs#L102)

Describes the formula patterns supported by OfficeIMO's lightweight evaluator.

<!-- PowerForge markdown artifact sha256:590B7CC116388B47C60FAB35C5E92B1F4A765E50204F629DF5CD961CC91D11A0 -->
