# FormulaCellReference Class

> FormulaCellReference class in the TX Sheet Control .NET API: A worksheet identity and A1 address returned by precedent/dependent auditing.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Class
- **Namespace:** `TXTextControl.TXSheetControl.Server`
- **Package:** `TXTextControl.TXSheetControl.Server` (assembly `TXTextControl.TXSheetControl.Api.dll`, from the private NuGet feed or the supplied NuGet folder)
- **Package:** `TXTextControl.TXSheetControl.Blazor` (assembly `TXTextControl.TXSheetControl.Api.dll`, from the private NuGet feed or the supplied NuGet folder)
- **Implements:** `System.IEquatable<TXTextControl.TXSheetControl.Server.FormulaCellReference>`
- **Path:** TX Sheet Control > API Reference > .NET API > TXTextControl.TXSheetControl.Server > FormulaCellReference Class
- **698 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/formulacellreference/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/formulacellreference/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/formulacellreference/llms-full.txt

---

A worksheet identity and A1 address returned by precedent/dependent auditing.

### Syntax

```csharp
public class FormulaCellReference
```

Interfaces: `IEquatable<FormulaCellReference>`.

### Members

#### Constructors

| Constructor | Description |
|---|---|
| [Constructor](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/formulacellreference/constructor/llms-full.txt) |  |

#### Properties

| Property | Description |
|---|---|
| [Address](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/formulacellreference/address-property/llms-full.txt) |  |
| [SheetId](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/formulacellreference/sheetid-property/llms-full.txt) |  |

### Examples

Obtain FormulaCellReference from a real document operation. Return the detached result to the calling report, API response or application.

```csharp
using TXTextControl.TXSheetControl.Server;

async Task<FormulaCellReference> ReadReportFormulaCellReferenceAsync(ServerSheetControl control)
{
    var book = control.Workbook;
    var sheet = await book.Sheets.AtAsync(0);
    await sheet.Cell("B8").SetValueAsync(120);
    await sheet.Cell("B9").SetValueAsync(80);
    await sheet.Cell("B10").SetFormulaAsync("=SUM(B8:B9)");

    var result = (await book.Calculation.PrecedentsAsync(sheet.Id, "B10")).First();
    return result;
}
```

### See Also

- [TXTextControl.TXSheetControl.Server Namespace](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/llms-full.txt)
- [Formulas](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/formulas/llms-full.txt)

---

## In This Section

- [FormulaCellReference.Address Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/formulacellreference/address-property/llms-full.txt): FormulaCellReference.Address property in the TX Sheet Control .NET API, with its syntax, its type string and a C# example.
- [FormulaCellReference Constructor](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/formulacellreference/constructor/llms-full.txt): FormulaCellReference constructor in the TX Sheet Control .NET API, with its syntax, a C# example and remarks on awaiting tasks and handles.
- [FormulaCellReference.SheetId Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/formulacellreference/sheetid-property/llms-full.txt): FormulaCellReference.SheetId property in the TX Sheet Control .NET API, with its syntax, its type string and a C# example.

---

## Nearby

- **Previous:** [FontFamilyDefinition.Family Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/fontfamilydefinition/family-property/llms-full.txt)
- **Next:** [FormulaCellReference Constructor](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/formulacellreference/constructor/llms-full.txt)
