> For the complete documentation index, see [llms.txt](https://manuals.i-reporter.jp/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://manuals.i-reporter.jp/create-a-form/prepare-the-formexcelfile/excelfunctions/edate-function.md).

# EDATE関数について

## **EDATE関数の使用制限**

EDATE関数は、第一引数に開始日を年月日で指定し、第二引数に月を指定することで、開始日から指定した月数分を足して（マイナス値の場合は引いて）日付を算出する関数です。\
計算結果が年月日となる関数のため、EDATE関数の結果を表示したい計算式クラスターに対しては、「計算結果データ型」を「年月日・時刻」に設定して年月日書式を指定して下さい。

{% hint style="success" %}
\=EDATE(開始日,月)
{% endhint %}

### **第一引数の指定について**

第一引数には開始日として、シリアル値またはクラスターを指定します。\
小数値が指定された場合は小数点以下を切り捨てて算出します。\ <mark style="color:red;">文字列での年月日指定は不可です。</mark>開始日を固定値で指定したい場合はシリアル値を指定して下さい。

#### **第一引数として指定可能なクラスター種別**

* 年月日
* カレンダー年月日
* 計算式（計算結果データ型を「年月日・時刻」に設定して年月日書式を指 定して下さい）
* 帳票登録年月日（iOS版アプリのみ）
* 帳票更新年月日（iOS版アプリのみ）

### **第二引数の指定について**

第二引数には計算する月として、数値またはクラスターを指定します。\
&#x20;小数値が指定された場合は小数点以下を切り捨てて算出します。\
文字列での指定は不可です。

#### **第二引数として指定可能なクラスター種別**

* 数値
* 数値選択
* 計算式
* トグル選択（「値」を用いて計算を行います）
* トグル集計
* 単一選択（「選択肢の「値」を数値として扱う」設定の場合のみ可）
* バーコード（「読み込んだ文字列を数値として 扱う」設定の場合のみ可）


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://manuals.i-reporter.jp/create-a-form/prepare-the-formexcelfile/excelfunctions/edate-function.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
