ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   如何加總算出sigma(1到n) (https://www.excelbanter.com/excel-worksheet-functions/201889-%E5%A6%82%E4%BD%95%E5%8A%A0%E7%B8%BD%E7%AE%97%E5%87%BAsigma-1%E5%88%B0n.html)

jefferson

如何加總算出sigma(1到n)
 
在Excel如何*總算出 sigma ( 1 到 n),
不使用儲**,要能直接在儲**內輸 公式而得到*總值的.
例如:
sigma(1,3)=6 *為 1+2+3 = 6

sigma(2,5)=14 *為 2+3+4+5 = 14

Bob Bridges[_2_]

如何加總算出sigma(1到n)
 
I'm not sure what you mean by "*總", jefferson. In general the formula for 總和
i (m 到 n) ought to be

n(n+1)/2 - (m-1)m/2

....which comes out to

(n**2 - m**2 + m + n)/2

I'm not aware of any Excel function that does that calculation for you.

--- "jefferson" wrote:
在Excel如何*總算出 sigma (1 到 n),
不使用儲**,要能直接在儲**內輸 公式而得到*總值的.
例如:
sigma(1,3)=6 *為 1+2+3 = 6

sigma(2,5)=14 *為 2+3+4+5 = 14



All times are GMT +1. The time now is 11:09 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com