Calc cross-sheet issue with COUNTIF and AVERAGEIF...

All functions I tried worked cross-sheet except AVERAGEIF and COUNTIF, so I am assuming this is a bug. If AVERAGEIF would work this would be so simple. I am away from home right now but will send the formula tomorrow.