在插入新行时将公式复制到下一行 [英] Copying formula to the next row when inserting a new row

查看:245
本文介绍了在插入新行时将公式复制到下一行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一行使用相同行的值使用公式。
下一行是空的,只是使用不同的背景颜色。

I have a row in which there are formulas using values of the same row. The next row is empty, just with a different background color.

现在,如果我插入一个新行(右键单击空行, insert),我得到一个没有背景颜色(这是我想要的)的一行,但该行也不包含任何公式:如何让Excel更聪明,并从上一行复制公式,当创建新行?

Now, if I insert a new row (by right-clicking on the empty row and "insert"), I get a new row with NO background color (which is what I want), but the line also does NOT contain any formulas: how do I get Excel to be smarter and copying the formulas from the previous row, when creating the new row?

另外一条信息:插入新行时会复制数据验证信息(即下拉列表)。

One more piece of information: data validation information (i.e. a drop down list) is copied when inserting the new row.

谢谢。

推荐答案

将区域与您的数据和公式一起使用表:

Make the area with your data and formulas a Table:

然后在下一行添加新信息将复制该表中该表中的所有公式。数据验证也将应用于新行,就像整列一样。这确实是Excel对您的数据更加智能。

Then adding new information in the next line will copy all formulas in that table for the new line. Data validation will also be applied for the new row as it was for the whole column. This is indeed Excel being smarter with your data.

不需要VBA ...

NO VBA required...

这篇关于在插入新行时将公式复制到下一行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆