# Editing cells

Premium Table allows you to edit the contents of a cell and apply calculations. These are visual-level updates and will not impact the source dataset.

### 1. Overwriting values

To overwrite an existing value, simply double-click on the cell and enter the new value. You can enter scaled values (250m, 5.6b, etc.) or reference other cell values.

{% hint style="info" %}
Another way to enable the formula bar is by selecting a cell and clicking the **Edit Cell** button in the Insert ribbon.&#x20;
{% endhint %}

Double-click on a cell as shown in the image. A formula bar is enabled below the toolbar. Type in a value and click Enter. Note that Premium Table allows entry of scaled values (e.g., 45.3m instead of 45,300,000).

<figure><img src="/files/OrQICT6iiP1rLtD1zRQY" alt=""><figcaption><p>Overwriting cell values</p></figcaption></figure>

The value gets updated and the manual update can be identified by the pencil icon in the cell. The total row is also updated to include the value entered.&#x20;

<figure><img src="/files/csnU9pOcnND4p5lmLvld" alt=""><figcaption><p>Edited cells can be identified from the pencil icon</p></figcaption></figure>

You can even reference other cells and apply formulas to them using the cell editor. You can define simple mathematical operations such as A +/- B, etc.

<figure><img src="/files/9knLpTm6SQaqqV6sBYbp" alt=""><figcaption><p>Referencing cell values in formulas</p></figcaption></figure>

{% hint style="info" %}

* You can also edit cells using the 'Edit cell' icon in the toolbar. You can access it in the Insert tab > Cell section.&#x20;
* Premium Table allows you to edit AC, PY, PL, FC, and OM measures. You can edit dates and text measures as well.
  {% endhint %}

### 2. Apply formulas

&#x20; You can use the wide range of formulas and functions available in Premium Table while editing a cell. In the below example, we are using the 'Average' function. As you start typing, you can see the functions that match the entered text as a list. Click on 'Average'.

2.1. Click on the arrow icon to see more information, such as the arguments and examples.

<figure><img src="/files/rkndaRizhE9dL0T2WydN" alt=""><figcaption><p>View syntax and examples for supported formulas</p></figcaption></figure>

2.2. You can click on any cell, and it gets automatically populated as shown below.&#x20;

<figure><img src="/files/c71SQlwxzmjJ32OQF2Q0" alt=""><figcaption><p>Referencing a cell in a formula</p></figcaption></figure>

2.3. We can reference multiple cells in a formula. Click the <img src="/files/SOEmyyDkEf2ki2WoIP1j" alt="" data-size="line">button or press Enter to apply the formula.

<figure><img src="/files/PSK0KY9bqTcA3lxPh95O" alt=""><figcaption><p>Referencing multiple cells</p></figcaption></figure>

### 3. Updating multiple cells

You can also override the data in multiple cells with the same value, for instance, set a fixed budget. Select the cells and update the value in any cell; the updated value will be cascaded to all the selected cells.

<figure><img src="/files/vq7Vw9KznqiPIsuaHBFH" alt=""><figcaption></figcaption></figure>

### 4. Renaming Row Categories

You can also rename row categories by double-clicking on them.&#x20;

<figure><img src="/files/oUIwEmYQGTBcVdPdhZBB" alt=""><figcaption><p>Renaming row categories</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.inforiver.com/premium-table/working-with-premium-table/4.-adding-business-logic-and-formulae/editing-cells.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
