You can use a if(ISERROR(... test to set the cells to "" instead of displaying the div/0 errors. You do have to repeat the formula twice but it makes it much prettier to look at.

The next thing to do is add a count and desired AFR cell and use those to create another table with the amount of error or correction factor.