对于 3 列,我如何将公式应用于前 2 列并在第三列中显示结果? [英] With 3 columns how would I apply a formula to the first 2 and display the result in the 3rd?

查看:20
本文介绍了对于 3 列,我如何将公式应用于前 2 列并在第三列中显示结果?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 Google 表格中,我想获得前 2 列的总和,并将该结果一直显示在第 3 列中.像这样:

In Google Sheets I want to get the sum of the first 2 columns and display that result in the 3rd column all the way down. Like this:

我希望有一种解决方案可以一步完成.因为我有很多行.

I'm hoping for a solution that does this in one step. As I have many rows.

我知道这个问题:申请整个列的公式,它似乎只涵盖了我要求的部分内容.

I am aware of this question: Apply formula to the entire column and it appears to only cover part of what I am asking.

推荐答案

尝试:

=arrayformula(if(A2:A<>"",ADD(A2:A,B2:B),""))

这篇关于对于 3 列,我如何将公式应用于前 2 列并在第三列中显示结果?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆