With 3 columns how would I apply a formula to the first 2 and display the result in the 3rd?

时间秒杀一切 提交于 2020-01-17 05:52:29

问题


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.

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


回答1:


Try:

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


来源:https://stackoverflow.com/questions/40497946/with-3-columns-how-would-i-apply-a-formula-to-the-first-2-and-display-the-result

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!