Thread
:
Creating If Statement not to include if O in average
View Single Post
#
3
Posted to microsoft.public.excel.misc
Sandy Mann
external usenet poster
Posts: 2,345
Creating If Statement not to include if O in average
I read it that you are trying to exclude months that have a return of zero
or months that are still in the future. If so try:
=IF(C10=0,0,SUM(C10:N10)/COUNT(C10:N10))
--
HTH
Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings
Replace @mailinator.com with @tiscali.co.uk
"C Kreig" wrote in message
...
Good afternoon!
I have a spreadsheet that includes all 12 month, however when it figures
the
yearly average I do not want it to include it when it does the average. I
have posted the formula below. Can you please help me figure this out.
=IF(C10=0,"0",AVERAGE(C10:N10))
Thank you in advance for your help.
Reply With Quote
Sandy Mann
View Public Profile
Find all posts by Sandy Mann