Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
该图像解释了我想要达到的最好效果:
我想创建的表,目前我只有前三列:
每当关键字重复时,我希望“新卷”具有相同的值。目前我有前三列,但不知道用什么公式可以创建“新卷”列。
我将不胜感激。
这是一个vlookup工作。
=vlookup(D3;$D$3:$E$8;2;false)
它在 D 列中搜索标识符(也在 D 列中)并从第二列返回值。当 vlookup 设置为 false 时,将始终返回第一个找到的值。
为避免复制公式,您可以使用 arrayformula 嵌套它:
=ArrayFormula(ifna(vlookup(D3:D;$D$3:$E;2;false)))
我的解决方案在这里: https ://docs.google.com/spreadsheets/d/1RpSsb6DmUs6lcPmZ1R6uPW-a3iWs9XEnSpc3b3XiihI/edit?usp=sharing