Hi millonario and welcome to the forum,

Count can deal with both Text and Numbers. Average will only work with numbers. Do you have some TEXT in the range you are trying to average?

Another possible problem is the criteria might need quotes around it. See http://www.ozgrid.com/Excel/count-if.htm for an example.