I am using excel to track inventory for a small business. I am building out a few pages for each category of inputs and have a sheet dedicated to collecting the usage/month that pulls the sums from the input specific sheets. On my dashboard page (which houses current levels, and other high level information) I want to have a cell that averages the historic monthly demand. Due to the way the monthly sums are set up I have it looking for information from January to December, however as it is only February, there are 10 months that have 0 in the current monthly demand.
Because of this, I am using the formula =AVERAGEIF('Month Sums'!B2:B13,">0",'Month Sums'!B2:B13). Where Month Sums is the sheet where the month sums is, B2:B13 is the monthly Sum of product usage (those cells consist of the formula =SUMIF('Coffee Beans'!$D:$D,month number,'Coffee Beans'!$B:$C) ). So i want to have the average of all the non 0 numbers from the monthly sums page.
However I am recieveing a #div/0! error on the averageif formula. is this because i have it averaging a formula rather than a number?