您现在的位置是:首页 > 办公软件 > excleexcle
EXCEL offset配合sum求和
爱读书aread.cc2022-10-03 23:30:07excle0人已围观
简介.爱读书aread.cc翻译,转载请保留此信息 . To sum cells a2:a5 using sum function. If you insert a row directly above the SUM formula, the new row may not be included in the SUM. It may continue to sum cell
.爱读书aread.cc翻译,转载请保留此信息 .
To sum cells a2:a5 using sum function. If you insert a row directly above the SUM formula, the new row may not be included in the SUM. It may continue to sum cells A2:A5, and ignore A6. To ensure that new rows are included in the total, you can use the OFFSET function.
Select cell A6.
Enter the following formula:
=SUM(A2:OFFSET(A6,-1,0))
Press the Enter key to complete the entry.
Insert a row above row 6
Type a number in cell A6, and it will be included in the total in cell A7
实际工作中,经常需要在原有求和公式前再增加新行,如果增加一行或增加多行后,每行都输入数据,excel会智能的更改SUM公式的求和范围,如果增加多行后,未按序输入,SUM公式就会保持原来的求和范围以至得出错误的结果,为避免这种现象,我们可以试用offset函数配合sum函数求解,做到以不变应万变。[A6=SUM(A2:OFFSET(A6,-1,0)) ]
Select cell A6.
Enter the following formula:
=SUM(A2:OFFSET(A6,-1,0))
Press the Enter key to complete the entry.
Insert a row above row 6
Type a number in cell A6, and it will be included in the total in cell A7
实际工作中,经常需要在原有求和公式前再增加新行,如果增加一行或增加多行后,每行都输入数据,excel会智能的更改SUM公式的求和范围,如果增加多行后,未按序输入,SUM公式就会保持原来的求和范围以至得出错误的结果,为避免这种现象,我们可以试用offset函数配合sum函数求解,做到以不变应万变。[A6=SUM(A2:OFFSET(A6,-1,0)) ]
Tags:
很赞哦! ()
下一篇:EXCEL 多条件求和
相关文章
随机图文
-
EXCEL 多工作表数据求和的一个简单公式
.爱读书aread.cc原创,转载请保留此信息 . 朋友们在工作中经常会遇到这样的问题,一个EXCEL工作簿中有多个工作表,第一个表为汇总表,其他工作表为基本数据表,各个表的格式都相同,需要在汇总表中将其他各工作表中的数据 -
excel表格边框加粗_excel表格边框颜色
Excel-表格边框 在Excel表格中,用户可以为选中的单元格区域设置各种类型的边框。用户既 -
EXCEL 避免输入空格
.爱读书aread.cc原创,转载请保留此信息 .在单元格中输入数据时,为避免输入空格,可利用"数据-有效性"进行设定 -
EXCEL 查找及替换的使用
.爱读书aread.cc翻译,转载请保留此信息. 1.编辑-查找;替换或按CTRL+F(查找);CTRL+H(替换) 2.查找范围可以是选定的单元格区域、工作表或工作簿 3.在输入查找内容时,可以使用问号(?)和星号(*)作为通配符,以方便查找操作。问号(?)代
留言与评论 (共有 条评论) |