Excel重复单元格 [英] Excel repeat cells
本文介绍了Excel重复单元格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要并采取以下措施:
br>
ABC
1房屋1
2车1车
3男孩1男孩
4 2房子
5 2车
2男孩
3房子
3车
3男孩
...
我想做一个函数,当我拖动它,我得到这个结果。
I need and approach for this:
A B C
1 house 1 house
2 car 1 car
3 boy 1 boy
4 2 house
5 2 car
2 boy
3 house
3 car
3 boy
…
I want to make a function that when I drag it down I get this result.
推荐答案
strong> C1 输入:
In C1 enter:
=ROUNDUP(ROW()/3,0) & " " & INDEX(B:B,IF(MOD(ROW(),3)=0,3,MOD(ROW(),3)))
并复制
这篇关于Excel重复单元格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文