arrayformula sum in Google spreadsheet

前端 未结 10 2345
野性不改
野性不改 2020-12-14 17:02

How do you arrayformula() a sum() such as:

=sum(A1:H1)

I need to go down 1000 rows.

10条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-14 17:17

    This is what you are looking for:

    =MMULT(A1:H1000,TRANSPOSE(ARRAYFORMULA(COLUMN(A1:H1000)^0)))
    

    See this answer on Web Application I gave: https://webapps.stackexchange.com/a/53419/29140

    Note: tried it on the new Google Spreadsheet, without succes.

提交回复
热议问题