gina clemens
New Member
Hi,
I have a large set of data I am working on which contains alot of moisture data. Within my huge set of data there are moisture readings that come from various treatments. I am trying to do averages on a bunch of these different treatments for which I am using an averageifs statment which is working nicely - but... in quite a number of cases there is 1 of, for example 5, of the moisture readings for a particular treatment missing - in which case I want to just have an empty cell as the average of the 4 remaining moistures may not be representative.
So I would like to do something that works excatly like the averageifs but rather than giving me the average it says that eg 4 cells make up the average - so a count. But countifs seems to work differently as I can't tell it to count all the cells in column H that meet meet critera 1 in coulumn A, critera 2 in Coloum B and Critera 3 in Column C.
I hope this makes sense. The idea is that I can eventually tell have a formula saying that if the count in column H doesn't = 5 (or whatever the number maybe for that treatment) then just leave the cell empty rather than giving me the average.
I have a large set of data I am working on which contains alot of moisture data. Within my huge set of data there are moisture readings that come from various treatments. I am trying to do averages on a bunch of these different treatments for which I am using an averageifs statment which is working nicely - but... in quite a number of cases there is 1 of, for example 5, of the moisture readings for a particular treatment missing - in which case I want to just have an empty cell as the average of the 4 remaining moistures may not be representative.
So I would like to do something that works excatly like the averageifs but rather than giving me the average it says that eg 4 cells make up the average - so a count. But countifs seems to work differently as I can't tell it to count all the cells in column H that meet meet critera 1 in coulumn A, critera 2 in Coloum B and Critera 3 in Column C.
I hope this makes sense. The idea is that I can eventually tell have a formula saying that if the count in column H doesn't = 5 (or whatever the number maybe for that treatment) then just leave the cell empty rather than giving me the average.