【问题标题】:Google Sheet Formula: How to calculate and print out an array result?Google Sheet Formula:如何计算并打印出数组结果?
【发布时间】:2022-01-12 15:56:19
【问题描述】:

例如,如果我将以下值放入 A1-A3

A1: 3000  // Initial value
A2:0.99  // Decrease percentage
A3: 5     // Decrease times

我应该在 B1 中输入什么公式才能在 B1-B5 中得到以下结果?

B1: 3000
B2: 2970   //3000*0.99
B3: 2940.3 //3000*0.99*0.99
B4: 2910.897 // 3000*0.99*0.99*0.99
B5: 2881.78803 //3000*0.99*0.99*0.99*0.99

【问题讨论】:

    标签: google-sheets-formula array-formulas


    【解决方案1】:

    试试

    =arrayformula($A$1*($A$2^(row(offset(B1,,,$A$3))-1)))
    

    【讨论】:

      【解决方案2】:

      尝试:

      =INDEX(A1*A2^SEQUENCE(A3; 1; ))
      

      【讨论】:

        猜你喜欢
        • 2014-06-03
        • 2023-03-11
        • 2019-01-02
        • 2018-10-25
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多