I am trying to get the average value of a column (column C "Profit Margin" in the screenshot) in Google Sheets. For some reason, I get a #DIV/0 error when trying to use any sort of range functions like SUM, AVERAGE, COUNT, etc on this column:
I feel like it is related to the fact that column C was generated using ARRAYFORMULA, but I'm not sure...
Here is a link to a copy of the spreadsheet if you want to look at the data: BuyBack Example Spreadsheet
