我有一个看起来像这样的 Excel 工作表:
|A B C D
-----------------------------------------------------------------------------------
1 |ID PARENTID VALUE RESOLVED VALUE (how to generate this?)
===================================================================================
2 |0 0 /root /root
3 |1 0 /one /root/one
4 |2 0 /two /root/two
5 |3 0 /three /root/three
6 |4 3 /child-one-of-three /root/three/child-one-of-three
7 |5 3 /child-two-of-three /root/three/child-two-of-three
每行都有一个ID和一个PARENTID。RESOLVED VALUE我想通过递归地附加VALUE每一行的内容来生成最后一列的内容。
如何在 Excel 中执行此操作?
