Average if ...
Try this array formula** which will work in all versions of Excel:
=AVERAGE(IF((A1:A5="no")*(B1:B5="full"),D1:D5))
Try this normally entered version if you're using Excel 2007 only:
=AVERAGEIFS(D1:D5,A1:A5,"no",B1:B5,"full")
--
Biff
Microsoft Excel MVP
"taurus99" wrote in message
...
What formula do I use to find the average of certain columns, when columns
around it equal specific text?
example: I need the average of Column D, ONLY IF A equals "no" and B
equals
"full". (in this case the average of D2 and D4)
A B C D
1 yes full 0 27
2 no full 3 15
3 yes empty 9 31
4 no full 1 16
5 no empty 7 16
|