简体   繁体   English

Excel 索引/匹配公式问题

[英]Excel index/match formula issue

I have an issue with index/match formula in excel.我对 excel 中的索引/匹配公式有疑问。 I fill row A and B automatically (first name and last name) with index/match formula depending on a employee ID on C column which is dynamic (I pull it from another sheet and it refreshes/changes automatically)我使用索引/匹配公式自动填充 A 行和 B 行(名字和姓氏),具体取决于 C 列上的员工 ID,该列是动态的(我从另一张表中提取它并自动刷新/更改)

When one or more employees are removed, my formula is messed up in some cells (A and B columns) related to column C.当一名或多名员工被移除时,我的公式在与列 C 相关的某些单元格(A 和 B 列)中出现混乱。

Match($C sometimes becomes match(#REF, and sometimes it has wrong cell number for example it has match($c5 instead of match($c6 because some employees are removed automatically) Match($C 有时会变成 match(#REF,有时它的单元格编号错误,例如它有 match($c5 而不是 match($c6 因为一些员工被自动删除)

Please see a picture and a hope everything will be much clearer.请看一张图片,希望一切都会更清楚。

Appreciate help.感谢帮助。 在此处输入图像描述

try changing the source data into a true table with structured references (Ctrl + T) that may get rid of your REF errors when the source changes.尝试将源数据更改为具有结构化引用 (Ctrl + T) 的真实表,这可能会在源更改时消除您的 REF 错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM