我在MS excel表格中有如下数据:
Row Column A
1 AAA Number of ABC
2 Streaming Call
3 Explanation
4 BBB Number of ABC
5 Streaming Call
6 from source
7 Explanation
8 CCC Number of ABC
9 Streaming Call
10 from source
11 to Dest
12 Explanation
...
...
196000 Explanation我想在B栏中将A列的单元格连在一起,直到单元格值为“解释”为止:
1 AAA Number of ABC AAA Number of ABC
2 Streaming Call AAA Number of ABC Streaming Call
3 Explanation Explanation
4 BBB Number of ABC BBB Number of ABC
5 Streaming Call BBB Number of ABC Streaming Call
6 from source BBB Number of ABC Streaming Call from source
7 Explanation Explanation
8 CCC Number of ABC CCC Number of ABC
9 Streaming Call CCC Number of ABC Streaming Call
10 from source CCC Number of ABC Streaming Call from source
11 to Dest CCC Number of ABC Streaming Call from source to Dest
12 Explanation Explanation
...
....有人能建议我的公式,我可以粘贴在B列,并拖动,以获得预期的结果?
提前谢谢。
发布于 2013-12-16 15:33:18
不愿意为你写代码,但这很容易,所以为什么不.放入B2:
=IF(ROW()=1,A2,IF(A2="Explanation","Explanation",CONCATENATE(IF(A1="Explanation","",B1),A2)))上下拖曳。
https://stackoverflow.com/questions/20614441
复制相似问题