您现在的位置是:首页 > 办公软件 > 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原创,转载请保留此信息 . 输入常用符号的一个快捷方法:按住<alt>键,然后用数字小键盘输入相应数字,最后松开<alt>键。 -
EXCEL 建立已保存工作簿的拷贝
爱读书aread.cc翻译,转载请保留此信息 . To open a copy of an existing workbook: 1. Press Ctrl+F1 (new in Excel 2003), or select Task Pane from the View menu.(注:task pane--任务窗格) 2. In the New Workbook -
EXCEL 同时显示某一单元格的公式及结果
爱读书aread.cc翻译,转载请保留此信息. To display formulas and values of the same cells: 1. From the Window menu, select New Window.(窗口--新建窗口) 2. From the Window menu, select Arrange.(窗口--重排窗 -
EXCEL 插入水印
爱读书aread.cc翻译,转载请保留此信息 . To insert the text "Confidential" behind the data in a Financial Statements report: 1. Select one of the toolbars, right-click, and select the WordArt toolbar fro
留言与评论 (共有 条评论) |