ERROR: Array result was not expanded because it would overwrite data

Spreadsheet formulas are not AppSheet-related. In the future, please post questions like this to a spreadsheet forum instead.