Google-sheets – ARRAYFORMULA for a column, but only for blank cells

google sheetsgoogle-sheets-arrayformula

I'm trying to fill a formula down a column using ARRAYFORMULA. However, there are certain cells in this column which I would like to overwrite, but all the other cells should use the ARRAYFORMULA.

Is it possible to use ARRAYFORMULA with overrides? Whenever I try to override a cell's data currently in the column, I get the following error:

Array result was not expanded because it would overwrite data in (some cell).

Best Answer

array result was not expanded because it would overwrite data in (some cell).

this error indicates that some cell isn't empty therefore array won't be executed on a given range/scale. your options are:

  • delete the content of some cell
  • use multiple ranges in the array formula to skip excluded cells =ARRAYFORMULA({C1;C3:C7;C9:C})
  • use array formula 3 times in C1, C3 and C9