Excel:Sum系列函数调用 [英] Excel: Sum series of function calls
本文介绍了Excel:Sum系列函数调用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有以下简单的功能,我需要调用 n 次,并将结果相加。
I have the following simple function that I need to call n times and sum the result.
10000*((1.01)^n)
我想打电话30次, em> n 为1-30,然后求和。如何在Excel中执行此操作?
I wish to call this 30 times, with n being 1-30, then sum the result. How can I do this in Excel?
推荐答案
可以使用以下数组公式。
You can use the following array formula.
=SUM(1000*((1.01)^ROW(A1:A30)))
将公式粘贴到公式栏中,然后按 Ctrl + Shift + 输入。您输入公式或者 A1:A30
的内容无关紧要; A1:A30
只是让Excel遍历公式30次的技巧。
Paste the formula into the formula bar and press Ctrl+Shift+Enter. It doesn't matter where you enter the formula or what the contents of A1:A30
are; the A1:A30
is just a trick to get Excel to iterate through the formula 30 times.
这篇关于Excel:Sum系列函数调用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文