# العمل مع جداول Google

{% hint style="danger" %}
ملاحظة!&#x20;

لتحقيق أداء أفضل مع بياناتك، قم بتحميلها إلى جداول MaviBot. بهذه الطريقة، ستعمل روبوتاتك بسرعة أكبر بكثير وتتجنب الأخطاء المتعلقة بالطلبات إلى Google Sheets.
{% endhint %}

## للتعامل مع أحرف الأعمدة&#x20;

c2n() | n2c() | addCols()

<details>

<summary>الوصف</summary>

<mark style="background-color:blue;">**للحصول على رقم عمود من خلال حرفه**</mark>

**c2n(str)**

المعلمات:\ <mark style="color:red;">**!**</mark> **str** - رقم العمود بصيغة حرفية

<mark style="background-color:blue;">**للحصول على حرف عمود من خلال رقمه**</mark>

**n2c(n)**

المعامل:\ <mark style="color:red;">**!**</mark> **n**- رقم العمود كقيمة عددية

<mark style="background-color:blue;">**للحصول على حرف عمود بالإزاحة من عمود معيّن**</mark>

**addCols(str, n)**

المعلمات:\ <mark style="color:red;">**!**</mark> **str** - حرف العمود\
**n** - الإزاحة؛ للحصول على رقم عمود إلى يسار العمود المحدد، مرّر قيمة إزاحة سالبة.

</details>

<details>

<summary>أمثلة</summary>

<div data-with-frame="true"><figure><img src="/files/379a521d6a41b5d09a01d455d23f67655a7d19f9" alt="" width="563"><figcaption></figcaption></figure></div>

<div data-with-frame="true"><figure><img src="/files/a5309bb3b6ffff58654160c70f2087306d6b764e" alt="" width="375"><figcaption></figcaption></figure></div>

</details>

<details>

<summary>أمثلة</summary>

```
number=c2n('AAB')
string=n2c(54)
offset=addCols('AA',-1)
```

</details>


---

# 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.mavibot.ai/doc/ar/chatbot/functions/alaalh-alhasbh/sheets.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.
