New Tool Radar

AI for Data & Spreadsheets

How to Check Whether an AI-Written ARRAYFORMULA Covers New Rows Automatically

Check whether an AI-written ARRAYFORMULA covers new rows automatically, where a filled-down formula would not.

Schematic with three steps: Check whether the formula is one ARRAYFORMULA; Add a test row and watch the; Convert to ARRAYFORMULA or refill the column.

ARRAYFORMULA in Google Sheets applies one formula to a whole range, so new rows added below the data are picked up without filling anything down. A filled-down formula does the same job row by row, but it stops at the last row it was filled to, and a new row arrives with no formula in it. An AI-written formula that is filled down needs checking after every data addition; an ARRAYFORMULA needs its range checked once. Check which pattern the sheet uses.

What you need

  • The AI-written formula and the range it covers
  • The rows of data, with new rows noted
  • The result a new row should produce

Step 1: Check whether the formula is one ARRAYFORMULA or many filled cells

Click the first result cell and read the formula bar. One ARRAYFORMULA in the top cell covers the range; a filled-down formula appears separately in every cell.

Step 2: Add a test row and watch the result

Add a row of data below the existing rows with values that give a distinct result. If no result appears beside it, the formula was filled down and stopped short.

Step 3: Convert to ARRAYFORMULA or refill the column

Either rewrite the calculation as one ARRAYFORMULA over the full column, or fill the formula down to cover the new rows. Add another test row and confirm the result now appears.

Worked example: synthetic order lines

The table below is a synthetic example. It shows the expected result of checking an AI-written ARRAYFORMULA; no formula was run.

Check Value Result
Rows of data 10 Ten order lines
Formula filled down to Row 11 Covers ten lines
New row added Row 12 No result beside it
After ARRAYFORMULA Row 12 result Appears automatically

Expected result (UNTESTED). the filled-down formula covers ten order lines and shows no result for the eleventh line added in row 12; one ARRAYFORMULA over the column returns the result for row 12 automatically. This check was not run live; the table shows the expected result for the synthetic example.

Limits

  • ARRAYFORMULA is a Google Sheets function; Excel’s dynamic arrays spill instead and need no fill-down.
  • An ARRAYFORMULA that returns an error in one row shows the error for the whole range.
  • A filled-down formula can be edited row by row, while an ARRAYFORMULA must be edited once at the top.
  • ARRAYFORMULA cannot be used with functions that do not accept arrays, such as some lookup functions.

Sources

See all