Excel尝试创建自组织列表。

huangapple go评论54阅读模式
英文:

Excel trying to create self organising list

问题

我有两列,一列是报告撰写人,另一列是校对人。我试图创建一个公式,可以自动将校对人列表中的一个分配给报告,但如果与作者姓名匹配,则公式将选择列表中的下一个姓名。到目前为止,我所有的尝试都导致循环引用和错误,我已经没有更多的想法。

英文:

I have two columns, one is report writer the other is proofreader. I am trying to put together a formula that will automatically assign one of the proofreaders in a list to the report, but if there is a match with the author name then the formula will select the next name in the list. All of my attempts so far have resulted in circular references and errors and i am out of ideas.

答案1

得分: 0

这个WorksheetFunction的解决方案并不是太复杂,但有效。

准备工作:

  • 在A列中是作者
  • 在B列中是工作表函数(将C14=5更改为校对人数)
  • 在C列中是随机生成器公式:=RANDBETWEEN(1;5) 将5更改为校对人数。
  • 在D列中是校对人员

根据作者和校对人员的实际长度调整公式。
在B列中键入第一个单元格后,将其复制到作家的最后一行。

缺点是,每当修改一个单元格时,自动重新计算会生成新的随机数,因此在接受配对后,将范围复制到某个地方,只粘贴特殊值。

Excel尝试创建自组织列表。

英文:

This worksheetfunction solution is not too sophisticated but works.

The preliminaries

  • In Column A the writers
  • In Column B the worksheet function (Change C14=5 to the proofreaders count)
  • In Column C the random generator formula : =RANDBETWEEN(1;5) change 5 to the proofreaders count.
  • In Column D the proofreaders

Adjust the formula to the real length for the writers and proofreaders.
After typing the first cell in column B, copy it down till the end row of writers.

The disadvantage that any time you modify a cell automatic recalculation generates new random numbers, so after accepting the pairing copy the range to somewhere with paste special only values.

Excel尝试创建自组织列表。

huangapple
  • 本文由 发表于 2023年7月24日 17:01:23
  • 转载请务必保留本文链接:https://go.coder-hub.com/76752877.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定