ExcelFormulas logoExcelFormulas.
AIに聞く
動的配列QA検証済み

UNIQUE.

リストまたは範囲から重複を排除し、一意(ユニーク)な値のリストを返します。

動的配列
ExcelExcel 365Excel 2021Google Sheets

仕組みと動作原理

UNIQUE関数はExcel業務を効率化する代表的な関数です。リストまたは範囲から重複を排除し、一意(ユニーク)な値のリストを返します。 複雑な集計や参照処理を簡素化し、データ分析の精度と生産性を飛躍的に高めます。

💡 わかりやすい要約

Looks at a list with duplicate entries and returns a clean list containing only one copy of each item.

日常のたとえ

"Think of this like sorting cards. If you have five duplicate red aces, it keeps only one copy and throws the rest away."

構文.

標準Excel表記法
=UNIQUE(配列, [列単位], [1回のみ出現])
ヒント: カッコの中の [角カッコ] で囲まれた引数は省略可能です。その他の引数は必須です。

引数一覧.

この関数で指定できるすべての引数について詳しく解説します。

array必須

The range or array to extract unique values from.

指定例: A2:A6
by_col省略可

FALSE = Compare rows (default), TRUE = Compare columns.

初期値: FALSE
exactly_once省略可

FALSE = Return all unique values (default), TRUE = Return only values that appear exactly once in the list.

初期値: FALSE

具体的な計算例

ステップ別の実務シナリオ

Extract Sales Categories

Extract a clean list of unique product departments that recorded sales.

Sale DepartmentAmountUnique list
Electronics120———
Home Decor45———
Electronics250———
適用する数式
=UNIQUE(A2:A6)
期待される結果::Calculated output

Evaluates UNIQUE over the sample table cells, placing the verified output in cell C2:C6.

数式ジェネレーター

ウィザードを開く

引数を入力するだけで、シートにそのまま貼り付けて使える数式を作成できます。

Generated Formulaコピー準備完了

出力される値の特性

Returns "Calculated output" based on sample evaluation criteria and active cell references.

出力サンプル::Calculated output
戻り値の型::Text

実務上のベストプラクティス

  • Nest UNIQUE inside SORT to get a alphabetically or numerically sorted list of unique values (e.g. `=SORT(UNIQUE(A2:A20))`).
  • You can retrieve unique rows across multiple columns (like unique First/Last name combos).

よくあるミスと注意点

  • Requires Excel 365 or 2021+. Returns #SPILL! if any cell in the output range is already occupied.
互換性情報

各プラットフォーム対応表

実際のExcelおよびGoogleスプレッドシートの計算エンジン仕様に基づいた検証結果です。

Excel✓
対応
Excel 365✓
対応
Excel 2021✓
対応
Excel 2019✕
非対応
Google Sheets✓
対応
Excelバージョン対応履歴

Introduced in Excel 365 and Excel 2021. Not available in Excel 2019.

Googleスプレッドシート対応状況

Native Google Sheets function for deduplicating ranges with automatic multi-cell spilling.

よくある質問と回答

技術解説
How does UNIQUE handle empty or blank cells?↓

By default, UNIQUE will return a 0 for blank cells in the source range. You can nest FILTER inside UNIQUE to exclude empty cells before deduplicating.

Can UNIQUE extract items that appear exactly once?↓

Yes. Setting the third argument exactly_once to TRUE will filter out any items that appear more than once, leaving only distinct unique entries.