Excel 函数
Excel 中的 UNIQUE 函数
了解如何在 Excel 中使用 UNIQUE 函数,理解其语法、常见用法,以及如何让 ExcelGPT 按你的真实工作簿结构生成或调整公式。
语法
UNIQUE(array, [by_col], [exactly_once])参数
公式各部分的作用说明。
array必填用于 UNIQUE 的参数 array。说明(原文):The range or array to evaluate for unique values.
by_col可选用于 UNIQUE 的参数 by_col。说明(原文):Optional TRUE to compare columns instead of rows.
exactly_once可选用于 UNIQUE 的参数 exactly_once。说明(原文):Optional TRUE to return values that appear only once.
示例
示例 1:UNIQUE 用法
=UNIQUE(B2:B200)展示 UNIQUE 的常见用法。说明(原文):Builds a deduplicated customer list from the source column.
示例 2:UNIQUE 用法
=UNIQUE(D2:D200, FALSE, TRUE)展示 UNIQUE 的常见用法。说明(原文):Returns only entries that occur exactly one time in the range.
常见错误
确认 UNIQUE 的参数顺序、数据类型和引用方向是否正确。
检查引用范围、空值、错误值或数组溢出是否会影响结果。
先在小范围样例上验证,再扩展到完整工作簿。