Does anyone know if there is an average if function. i.e show me the average of this field if it is greater than 5 for example.The field is a in this case
Ive tried this but it doesnt work
=IIf([a]>5,Avg([a]))
The field may have 20 records in it for example - life expectancy of roofs amd the cost of repair
10 smith road - 10 years £10
11 smith road - 20 years £25
12 alex street - 5 years £30
I want it to tell me the average cost of roof repairs for all roofs within the next 10 years. In other words discard 11 smith road.
[This message has been edited by fordy (edited 03-12-2002).]
Ive tried this but it doesnt work
=IIf([a]>5,Avg([a]))
The field may have 20 records in it for example - life expectancy of roofs amd the cost of repair
10 smith road - 10 years £10
11 smith road - 20 years £25
12 alex street - 5 years £30
I want it to tell me the average cost of roof repairs for all roofs within the next 10 years. In other words discard 11 smith road.
[This message has been edited by fordy (edited 03-12-2002).]