我有两张Excel工作表,我试图将它合并为一张工作表。我创建了一个非常小的我正在处理的数据样本和我试图获得的输出。我想尝试创建一个循环,当匹配或如果可能的类似匹配(IE Verizon Corp链接到Verizon或Verizon Co.)并且找到这些匹配时保存数组中的行以便能够提取信息我正在进入输出表。
Sheet 1中
Date Cilent Decript Stage Deal$ Segment
1/15/2016 Verizon Assistance Won $200 People
12/10/2015 Home Depot Service Lost $1,000 Intel
10/30/2015 Home Depot Contract Progress $300 People
11/13/2015 Samsung Assistance Progress $2,000 People
第2页
Qtr Month Name Large Name Segment $ Segment $ Total
4th 10 HomeDepot Home Depot $200 - $200
4th 11 Samsung Samsung - $5,000 $5,000
4th 12 HomeDepot Home Depot $200 - $200
1st 1 Verizon Verizon Corp $5,000 $100 $5,100
输出表
Qtr Month Name Segment $ Segment $ Total Stage Deal$ Segment
4th 10 Home Depot $200 - $200 Lost $1,000 Intel
4th 12 Home Depot $200 - $200 Progress $300 People
4th 11 Samsung - $5,000 $5,000 Progress $2,000 People
1st 1 Verizon $5,000 $100 $5,100 Won $200 People
我为凌乱的桌子道歉,我只是想尽可能地展示我的目标,因为我觉得上面的描述并没有很好地传达我的目标。