Advanced-excel-functions-advanced-excel-information-n-function
提供:Dev Guides
高度なExcel情報-N関数
説明
N関数は、数値に変換された値を返します。
構文
N (value)
引数
Argument | Description | Required/Optional |
---|---|---|
Value |
The value or reference to a value that you want converted. Nは、以下の表にリストされている値を変換します。 |
Required |
Value | Return Value of N |
---|---|
A number | That number |
A date, in one of the built-in date formats available in Microsoft Excel | The serial number of that date |
TRUE | 1 |
FALSE | 0 |
An error value, such as #DIV/0! | The error value |
Anything else | 0 |
ノート
- Excelは必要に応じて値を自動的に変換するため、式でN関数を使用して値を数値に変換する必要はありません。 この機能は、他のスプレッドシートプログラムとの互換性のために提供されています。
- Excelは日付を連続したシリアル番号として保存し、計算に使用できるようにします。 デフォルトでは、1900年1月1日はシリアル番号1であり、2008年1月1日は1900年1月1日から39,448日後のシリアル番号39448です。
適用範囲
Excel 2007、Excel 2010、Excel 2013、Excel 2016