[英]Excel - Copying content from a cell to another ( with condition )
i have a little issue with excel doing this let's say i have 4 cells A,B,C,DA and C are just identifiers ( they have same text ) but not ordered i want to perform a function that copy cell D content to B if they had the same identifier ( A and C ) example :我在使用 excel 时遇到了一个小问题,假设我有 4 个单元格 A、B、C、DA 和 C 只是标识符(它们具有相同的文本)但没有订购我想要执行将单元格 D 内容复制到 B 的功能,如果他们有相同的标识符( A 和 C )示例:
A B C D
something AsomethingA something CsomethingC
result :结果 :
A B C D
something CsomethingC something CsomethingC
i hope i didn't make it compliacted thank you guys in advance!我希望我没有让它变得复杂,提前谢谢你们!
I found out how to do it, i used Vlookup function ,here is it :我发现了怎么做,我使用了 Vlookup 功能,这是它:
=IFERROR(VLOOKUP(A1;$C$1:$D$2000;2;FALSE);"NO MATCH FOUND")
In my case i had 2000 cells, you can edit it however you want ,have a nice day!就我而言,我有 2000 个单元格,您可以随意编辑它,祝您有美好的一天!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.