我有一个包含A到BR列的工作表。
B列包含客户(重复值)
J列包含申请日期(重复值)
列O包含贷款信息
我想将客户和提交日期合并为1行,然后将后续行中的贷款信息附加到最后。
数据看起来像:
Number | Customer | ...| File Date |...| Loan Information| 1 | Customer 1 | ...| 11/30/2012|...| Loan Info 1 2 | Customer 1 | ...| 11/30/2012|...| Loan Info 2 3 | Customer 1 | ...| 05/12/2011|...| Loan Info 1 4 | Customer 1 | ...| 05/12/2011|...| Loan Info 2 5 | Customer 2 | ...| 10/31/2012|...| Loan Info 1 6 | Customer 2 | ...| 10/31/2012|...| Loan Info 2 7 | Customer 2 | ...| 10/31/2012|...| Loan Info 3 8 | Customer 3 | ...| 03/16/2010|...| Loan Info 1 9 | Customer 3 | ...| 03/16/2010|...| Loan Info 2 10 | Customer 3 | ...| 07/01/2013|...| Loan Info 1
我想:
Number | Customer | ...| File Date |...| Loan Information|...|BR|Loan Info 2| Loan Info 3| ect| 1 | Customer 1 | ...| 11/30/2012|...| Loan Info 1 |...|BR|Loan Info 2 3 | Customer 1 | ...| 05/12/2011|...| Loan Info 1 |...|BR|Loan Info 2 5 | Customer 2 | ...| 10/31/2012|...| Loan Info 1 |...|BR|Loan Info 2|Loan Info 3 8 | Customer 3 | ...| 03/16/2010|...| Loan Info 1 |...|BR|Loan Info 2 10 | Customer 3 | ...| 07/01/2013|...| Loan Info 1
欢迎来到超级用户。你都尝试了些什么?告诉我们你在哪里。然后我们可以帮忙。
—
nixda
我尝试过使用数组:= IFERROR(INDEX($ O $ 2:$ O $ 7567,MIN(IF($ B $ 2:$ B $ 7567 = B2,IF($ J $ 2:$ J $ 7567 = J2,IF($ O) $ 2:$ O $ 7567<>“”,ROW($ B $ 2:$ B $ 7567),10000),10000),10000))),“”)并且在第3或第4行有麻烦给定客户日期合并这也不允许我删除行。我希望有一个VBA解决方案,但没有这方面的专业知识。谢谢凯文
—
Kevin