What the video covers
Show how to enter an ARRAYFORMULA that evaluates a formula across ranges (for example, adding two columns) and how to handle common header and range issues.
Watch the video on YouTubeStep-by-step instructions
- Choose the start cell
Click the cell where you want the first result to appear (usually the row under your header, e.g., C2). - Begin the ARRAYFORMULA
Type =ARRAYFORMULA( and then enter the expression you want to apply across ranges, using column ranges instead of single cells. - Example formula
For adding columns A and B from row 2 down, enter: =ARRAYFORMULA(A2:A + B2:B) then close the parentheses and press Enter. Google Sheets fills results down the column automatically. - Skip headers or conditionally apply
To keep a header row intact or avoid blank rows, wrap the expression with IF. Example: =ARRAYFORMULA(IF(ROW(A2:A)=1,"Header",A2:A+B2:B)) or more commonly start ranges at row 2 and use IF(LEN(A2:A), … ,"") to only compute when input exists. - Avoid overwriting data
Ensure the output column below your start cell is empty before using ARRAYFORMULA. If existing values are in the way you will get an error. - Adjust ranges as needed
Use open-ended ranges (A2:A) to include future rows. If you need a bounded range, use A2:A100, but remember to update if you add more rows.
Watch the video
Play tutorial
Why it matters
ARRAYFORMULA saves time and keeps formulas consistent by applying one expression to many rows at once. It makes sheets more efficient and dynamic.
Check your result
After Enter, the starting cell and the rows below should show results for each row of the referenced ranges without manually copying the formula.
Troubleshooting
If you see a #REF! error, check for existing data in the output range—ARRAYFORMULA can’t overwrite cells. Ensure referenced ranges have compatible sizes (e.g., A2:A and B2:B). To avoid applying to header rows, wrap with IF to skip the header (see step 4).