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