# Update a specific cells in existing table

Sometimes, you may need to retain the content of an existing table while modifying specific cells. To achieve this, use the keyword `null` to skip the cells you don't want to change.&#x20;

In the example below, we updated the cell value in row 2, column 3 from `70%` to `NA`, and added a new row with data for `FIAT`. All other cells remain unchanged.

Before vs after

<div><figure><img src="/files/4VY7Pz81ZnjIqWwRohmk" alt=""><figcaption></figcaption></figure> <figure><img src="/files/6n4TFR2xNvLAKYApsnWO" alt=""><figcaption></figcaption></figure></div>

Template Presentation

{% file src="/files/r0OFgbqkhyXkgtbjEuAi" %}

JSON Payload

```json
{
    "presentation": {
        "template": "Table-Shape-New-Data.pptx",
        "export_version": "Pptx2013",
        "slides": [
            {
                "type": "slide",
                "slide_index": 0,
                "shapes": [
                    {
                        "name": "Mytable",
                        "data_cells": [
                            [
                                null,
                                null,
                                null,
                                null
                            ],
                            [
                                null,
                                null,
                                "NA",
                                null
                            ],
                            [
                                null,
                                null,
                                null,
                                null
                            ],
                            [
                                null,
                                null,
                                null,
                                null
                            ],
                            [
                                "FIAT",
                                "30%",
                                "40%",
                                "50%"
                            ]
                        ]
                    }
                ]
            }
        ]
    }
}
```


---

# 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.powerpointgeneratorapi.com/examples/table/update-a-specific-cells-in-existing-table.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.
