98.7% Of all customers recommend us, we're so confident about our results we publish all reviews and stats
View Live Stats View ReviewsForum home » Delegate support and help forum » Microsoft Excel Training and help » =DAVERAGE
=DAVERAGE
Resolved · Low Priority · Version 2003
David has attended:
Excel Advanced course
Excel VBA Intro Intermediate course
=DAVERAGE
I want to display an error message when no items satisfy the criteria set in the formula rather than provide the average of all the data as a default answer.
RE: =DAVERAGE
Please use If condition to embed your message along with the daverage function.
RE: =DAVERAGE
If you need further assistance on embedding If condition with daverage,
Ex:
IF(average(range)<=daverage(database, field, criteria), "ERROR MESSAGE",daverage(database, field, criteria))
if daverage picks up default average for not satisfying any criteria, then it will give you the normal average of all numbers, so obviously match your average() function, if so, then the true case of yours will print the error message you need....
-Viji
Wed 21 Oct 2009: Automatically marked as resolved.
Training information:
See also:
Welcome. Please choose your application (eg. Excel) and then post your question. Our Microsoft Qualified trainers will then respond within 24 hours (working days). Frequently Asked Questions
Any suggestions, questions or comments? Please post in the Improve the forum thread. |
Excel tip:Validating text entries1. Select the range of cells.
where A1 is the first cell in the range. 6. Click OK. |