MarkBurgham
New Member
- Joined
- Apr 26, 2015
- Messages
- 8
Hi All,
I am in the process of creating a work book and am using the formula below to work through a high number of cells that contain numbers that need to be added together then divided by the number that the formula found to get an average:
=SUMIF(Sheet1!$G$2:$G$1048576,Working!A2,Sheet1!$H$2:$H$1048576)/COUNTIF(Sheet1!$G$2:$G$1048576,Working!A2)
The formula does work however I'm getting the DIV/0! message which throws calculations out in cells that rely on the information from this formula. I've tried several different ways to remove this such as trying ERRORIF but can't get this to work.
Can someone help please?
Regards
Mark
I am in the process of creating a work book and am using the formula below to work through a high number of cells that contain numbers that need to be added together then divided by the number that the formula found to get an average:
=SUMIF(Sheet1!$G$2:$G$1048576,Working!A2,Sheet1!$H$2:$H$1048576)/COUNTIF(Sheet1!$G$2:$G$1048576,Working!A2)
The formula does work however I'm getting the DIV/0! message which throws calculations out in cells that rely on the information from this formula. I've tried several different ways to remove this such as trying ERRORIF but can't get this to work.
Can someone help please?
Regards
Mark