0

I have an Excel (2013) sheet with 5 cells which each have an identical dropdown (List Data Validation). This dropdown list has exactly 5 values (A, B, C, D, E) as well. Is there any way (preferably without having to get into VB) to make the cell values chosen (and ideally choosable) mutually exclusive, e.g., B C E D A would be a valid combination, B B E D A would not.

For example, if these are the five cells:

enter image description here

When I use "conventional" validation (using the range A5:A9 which I named validRange), you see that the pulldown menu shows all five values, even though some of these values were already used. What I would like to see is something like this:

enter image description here

Where the pulldown menu includes only the values that were not yet used. Can anyone help me figure out how to create a validation range that includes only "unused" cells (like the "Clean Range" in my spreadsheet below)?

4

2 回答 2

1

在http://www.contextures.com/xlDataVal03.html上在线找到答案,他们通过公式创建动态列表并命名该列表。似乎工作正常。

于 2013-07-13T11:07:20.133 回答
0

不知道如何在不使用 VB 的情况下执行此操作,但也许您可以使用一个报告 5 个选项是否不同的单元格来解决问题,因此至少用户可以清楚地知道需要修复一些东西。

于 2013-07-13T10:55:33.707 回答