两列单元格列表(下拉列表)- Google Sheet
Two-column cell list (Drop Down List) - Google Sheet
我需要一个两列单元格列表(下拉列表)。
默认情况下,我们只能使用“数据验证”选项在单元格列表中看到单列值,但我想从两个不同的列填充列表。请查看下面的示例 Table...
Example Table:
| Column A | Column B |
-------------------------------
| Sr. 1 | Product One |
| Sr. 2 | Product Two |
| Sr. 3 | Product Three |
Now cell list be like;
Sr.1 - Product One
Sr.2 - Product Two
Sr.3 - Product Three
我想要一个单一的公式方法,如果可能的话不使用任何技巧...
I want a single formula approach without using any tricks if possible...
因为当使用公式 Data validation
不允许 Show dropdown list in cell
的选项时,您将需要一个具有以下公式的辅助列
=ArrayFormula(A2:A4&" - "&B2:B4)
备注
辅助列可以在 sheet 中的任何位置,也可以隐藏。
请根据您的需要调整范围。
我需要一个两列单元格列表(下拉列表)。
默认情况下,我们只能使用“数据验证”选项在单元格列表中看到单列值,但我想从两个不同的列填充列表。请查看下面的示例 Table...
Example Table:
| Column A | Column B |
-------------------------------
| Sr. 1 | Product One |
| Sr. 2 | Product Two |
| Sr. 3 | Product Three |
Now cell list be like;
Sr.1 - Product One
Sr.2 - Product Two
Sr.3 - Product Three
我想要一个单一的公式方法,如果可能的话不使用任何技巧...
I want a single formula approach without using any tricks if possible...
因为当使用公式 Data validation
不允许 Show dropdown list in cell
的选项时,您将需要一个具有以下公式的辅助列
=ArrayFormula(A2:A4&" - "&B2:B4)
备注
辅助列可以在 sheet 中的任何位置,也可以隐藏。
请根据您的需要调整范围。