仕組みと動作原理
SEQUENCE関数はExcel業務を効率化する代表的な関数です。Generates a list or 2D grid of sequential numbers. 複雑な集計や参照処理を簡素化し、データ分析の精度と生産性を飛躍的に高めます。
構文.
標準Excel表記法=SEQUENCE(rows, [columns], [start], [step])引数一覧.
この関数で指定できるすべての引数について詳しく解説します。
Number of rows to generate.
指定例:5Number of columns to generate (default 1).
初期値: 1Starting number (default 1).
初期値: 1Increment step per number (default 1).
初期値: 1具体的な計算例
ステップ別の実務シナリオSequential ID Generator
Generate a list of consecutive invoice numbers starting at 101.
| Generated Invoices |
|---|
| — |
| — |
| — |
=SEQUENCE(4, 1, 101, 1)Evaluates SEQUENCE over the sample table cells, placing the verified output in cell A1.
数式ジェネレーター
ウィザードを開く引数を入力するだけで、シートにそのまま貼り付けて使える数式を作成できます。
=SEQUENCE()出力される値の特性
Returns number 101 based on sample evaluation criteria and active cell references.
実務上のベストプラクティス
- Generate monthly dates automatically: =DATE(2025, SEQUENCE(12), 1).
よくあるミスと注意点
- Rows or columns specified as 0 or negative numbers return a #VALUE! error.
各プラットフォーム対応表
実際のExcelおよびGoogleスプレッドシートの計算エンジン仕様に基づいた検証結果です。
In Excel 2019, use the ROW(1:N) function with Ctrl+Shift+Enter or Excel auto-fill series handle.
Introduced in Excel 365 and Excel 2021. Not available in Excel 2019.
Fully supported in Google Sheets. Generates multi-row/multi-column integer or stepped number series.
よくある質問と回答
技術解説Can I use SEQUENCE across different worksheets in Excel?↓
Yes. You can reference cells located on other sheets by including the sheet name followed by an exclamation mark, for example: =SEQUENCE(Sheet2!A2:A10). If the sheet name contains spaces, enclose it in single quotes: ='Q1 Report'!A2:A10.
What is the most common reason for errors in SEQUENCE?↓
Rows or columns specified as 0 or negative numbers return a #VALUE! error.
Does SEQUENCE work identically in Google Sheets?↓
Yes, SEQUENCE is supported in both Microsoft Excel and Google Sheets with standard evaluation behavior.