Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
对于大量数字,我想找出某个移动平均线。例如,我想在 T(750) 中获得 K2:K(index) 的平均值。这个特定的索引可以在同一行的 B 列中找到。所以在单元格 B750 中。我怎样才能做到这一点?
任何帮助深表感谢
使用索引():
=AVERAGE($K$2:INDEX($K:$K,B750))
或者确保没有@Jeeped 建议的错误
=AVERAGE($K$2:INDEX($K:$K,MAX(B750,2))
否则,如果 B750 为 text 或 null,您将收到错误消息。