admin管理员组文章数量:1399260
I need to copy the contents from one file to another, to different sheets according to the condition. I need to find matches in the ID field in both files, then if column s3 contains 111, then copy the data to the first file on sheet 1. And if s3 contains 222, then to the second sheet with the same ID. expected result:
file1 sheets1
id | s1 | s2 | s3 |
---|---|---|---|
1 | 123 | 111 | |
2 | |||
3 | Two | Three |
本文标签: EXCELvba copying cell between files based on criteriaStack Overflow
版权声明:本文标题:excel, vba copying cell between files based on criteria - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744206016a2595190.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论