Another option:

=ArrayFormula(SUMIF(IF(COLUMN(A1:H1),ROW(A1:A1000)),ROW(A1:A1000),A1:H1000))
Answer from AdamL on Stack Overflow
🌐
Coupler.io Blog
blog.coupler.io › home › the complete guide to using arrayformula in google sheets for all
Google Sheets ARRAYFORMULA With Examples | Coupler.io Blog
October 14, 2025 - SUMIF and SUMIFS are two independent functions in Google Sheets. SUMIF is used for adding values based on one condition and the purpose of SUMIFS is to sum the values in a range, based on multiple conditions. So, let’s code an array formula for SUMIF.
Discussions

google sheets - How to use ARRAYFORMULA and SUM together to get a column with the sum of the preceeding columns? - Web Applications Stack Exchange
1 How can I sum a row in Google Spreadsheet so that the formula isn't overwritten when Google Forms adds a new row? 4 Sum a column if another column contains any of the values · 1 Dynamically sum each row and column by arrayformula · 1 SUM columns from other sheets and group by month, but ... More on webapps.stackexchange.com
🌐 webapps.stackexchange.com
Arrayformula and Sum in Google sheets - Stack Overflow
How do I make this formula into an ArrayFormula in google sheets.. =IF(A1="online", SUM(B1,C1,D1,E1,F1), B1) More on stackoverflow.com
🌐 stackoverflow.com
Sum with array formula
If I understood you correctly, this should work: =ARRAYFORMULA(D2:D-C2:C) :) More on reddit.com
🌐 r/googlesheets
6
2
July 25, 2022
SUMIFS combined with ARRAYFORMULA
Just wrap it using BYROW. =BYROW(data_simple!F2:F, LAMBDA(F_Variable, ARRAYFORMULA(IF($A$3:$A=""; ""; COUNTIFS(data_simple!$B:$B; $A$3:$A; data_simple!$A:$A; ">="&($B$3:$B+F_Variable-14); data_simple!$A:$A; "<"&($B$3:$B+F_Variable)))))) More on reddit.com
🌐 r/googlesheets
2
1
May 27, 2023
People also ask

What Is an Array Formula in Google Sheets?
An array formula in Google Sheets is a single formula that can perform calculations or operations on multiple cells or an entire range, simplifying complex data tasks.
🌐
owox.com
owox.com › blog › articles › google sheets tips › mastering arrayformula in google sheets: a complete guide
Complete Guide to Master Array Formulas in Google Sheets for 2025
How to Use the ARRAY FORMULA Function in Google Sheets?
To use the ARRAYFORMULA function, start with =ARRAYFORMULA(), and inside the parentheses, enter the desired calculation or operation to apply it across a range of cells or data.
🌐
owox.com
owox.com › blog › articles › google sheets tips › mastering arrayformula in google sheets: a complete guide
Complete Guide to Master Array Formulas in Google Sheets for 2025
How Do Array Formulas Interact with Other Functions in Google Sheets?
Array formulas can be combined with various functions, such as SUM, AVERAGE, or VLOOKUP, to perform complex calculations and data manipulations.
🌐
owox.com
owox.com › blog › articles › google sheets tips › mastering arrayformula in google sheets: a complete guide
Complete Guide to Master Array Formulas in Google Sheets for 2025
🌐
Google Support
support.google.com › docs › answer › 3093275
ARRAYFORMULA - Google Docs Editors Help
Enables the display of values returned from an array formula into multiple rows and/or columns and the use of non-array functions with arrays. Sample Usage ARRAYFORMULA(SUM(IF(A1:A10>5, A1:A10, 0
🌐
Owox
owox.com › blog › articles › google sheets tips › mastering arrayformula in google sheets: a complete guide
Complete Guide to Master Array Formulas in Google Sheets for 2025
May 25, 2026 - =ARRAYFORMULA(SUMIFS(D3:D11, C3:C11, ">=15", E3:E11, "<=500")‍ · For example, the formula above sums the values in D3:D11 (sales amount) where C3:C11 (units sold) are 15 or more, and E3:E11 are 500 or less. This method is ideal for more complex situations, like calculating total sales for products within a specific price range and with a minimum sales quantity. 💡 Simplify your calculations and streamline data analysis with Google Sheets' SUM functions.
🌐
How-To Geek
howtogeek.com › home › web › how to use the arrayformula function in google sheets
How to Use the ARRAYFORMULA Function in Google Sheets
June 3, 2022 - Using the formula below, we sum the amounts in cells M2 through M16 if the values in cells O3 through O5 equal those in cells L2 through L16. ... Now with this one simple formula, we're able to get sales totals for only those three products we want. The formula for the ARRAYFORMULA function fills our cells for Shirts, Shorts, and Shoes correctly. Here you have the basics of using the ARRAYFORMULA function in Google Sheets.
🌐
Coefficient
coefficient.io › home
How to Use the ArrayFormula Function in Google Sheets
September 2, 2025 - Press Cmd/Ctrl + Shift + Enter to add an ArrayFormula around your function in Google Sheets. Learn how to use the ArrayFormula function with the examples below, and watch our video above for a full walkthrough.
Find elsewhere
🌐
InfoInspired
infoinspired.com › home › google docs › spreadsheet › array formula to sum multiple columns in google sheets
Array Formula to Sum Multiple Columns in Google Sheets
April 5, 2018 - In that case, you should replace B2:J in your formula (whether using MMULT or BYROW) with the following filtered range: ... This excludes any columns whose headers match those listed in column O. If you want to include only specific columns listed in, say, column N, use: ... This lets you control what’s summed without hardcoding column letters. How to Sum Each Row in Google Sheets – Covers all methods to sum across rows, including manual, BYROW, QUERY, MMULT, and more.
🌐
Form Approvals
formapprovals.com › home › how to use arrayformula in google sheets™ with google forms™
How to Use ARRAYFORMULA in Google Sheets™ with Google Forms™ | Form Approvals
March 30, 2026 - The formula may look intimidating, but don't worry I'll show you an example. To set up a basic Total field that sums the values in two columns (column L and column N), your array formula would be =ARRAYFORMULA(L2:L+N2:N).
🌐
Ben Collins
benlcollins.com › home › how do array formulas work in google sheets?
How do array formulas work in Google Sheets? Get the lowdown here.
June 20, 2024 - We could easily do this by adding a formula in column D that multiplies B and C, and then add a sum at the bottom of column D. However, array formulas let us skip that step and get straight to the answer with a single formula. 💡 Learn more Learn more about working with Advanced Formulas in the Advanced Formulas in Google Sheets course
🌐
The Bricks
thebricks.com › home › resources › how to sum an array in google sheets
How to Sum an Array in Google Sheets
February 20, 2025 - The old-fashioned way would be to create a third column, say 'Line Total', with the formula =A2*B2, drag it down, and then use =SUM(C2:C5) at the bottom. With ARRAYFORMULA, you can do it all in one cell without any extra columns: ... ARRAYFORMULA ...
🌐
Layer
golayer.io › home › how to use google sheets arrayformula (+ examples)
How to Use Google Sheets ARRAYFORMULA (+ Examples) | Layer Blog
September 23, 2024 - The ARRAYFORMULA function is automatically wrapped around your formula. How to Use Google Sheets ARRAYFORMULA (+ Examples) – Use ARRAYFORMULA Function Shortcut · Press ‘Enter’ to see the resulting array. How to Use Google Sheets ARRAYFORMULA (+ Examples) – Results Array ... Below, you have three different examples of how to combine the ARRAYFORMULA function with other built-in functions in Google Sheets: SUMIF, VLOOKUP, and IF.
🌐
Google Support
support.google.com › docs › answer › 6208276
Using arrays in Google Sheets - Google Docs Editors Help
You can also use arrays with other existing formulas using brackets in order to organize the returns from your formulas into rows or columns. For example, ={SUM(A1:A10), SUM(B1:B10)} will produce two values. The first cell will contain the sum of A1 to A10, the cell to the right will contain ...
🌐
FormulasHQ
formulashq.com › home › blog › arrayformula: google sheet formulas explained
ArrayFormula: Google Sheet Formulas Explained — FormulasHQ
January 29, 2024 - To do this, you would use the following formula: =ARRAYFORMULA(SUM(A1:A10)). In this formula, 'SUM(A1:A10)' is the function you want to apply to the range of cells, and ArrayFormula applies this function to each cell in the range individually.
🌐
LiveFlow
liveflow.com › product-guides › arrayformula-in-google-sheets
ARRAYFORMULA Function in Google Sheets: Explained | LiveFlow
... This time, you think it is excellent to get the total result from a formula expression in a cell. So, you enter the formula “=SUM(C16:C20*D16:D20)”, as shown in the following screenshot.
🌐
MakeUseOf
makeuseof.com › home › productivity › how to sum numbers, cells, or matrices in google sheets
How to Sum Numbers, Cells, or Matrices in Google Sheets
January 28, 2022 - =SUM(B2:B5, E5) This formula will sum the values in cells B2 to B5, and then it will sum the result with cell E5, giving you the total cash earned. Press Enter. Google Sheets will now tell you how much the worker has earned.
🌐
Spreadsheet Point
spreadsheetpoint.com › home › formula posts › array formulas in google sheets | full guide
Array Formulas in Google Sheets | Full Guide for 2026
To make this work, improvise your formula using the SUMIF function. You’ll need to use the Google Sheets array formula and IF functions instead of IFS using the ampersand operator (&) and an array formula!
Published: September 9, 2025
🌐
SimpleSheets
simplesheets.co › blog › arrayformula-google-sheets
ArrayFormula in Google Sheets: A Quick Guide with Examples
December 17, 2024 - It can include ranges, functions, or expressions. ... Instead of typing =A1+B1, =A2+B2, =A3+B3 in each row, you can use =ARRAYFORMULA(A1:A5+B1:B) to calculate the sum for all rows at once.