I agree with Robert ... I would use an array formula for this. Here's a short tutorial of mine on array formulas, if you don't know how to use them: http://personal-computer-tutor.com/arrayformulas.htm ******************************* Linda F. Johnson Linda's Computer Stop http://personal-computer-tutor.com -----Original Message----- From: mso-bounce@xxxxxxxxxxxxx [mailto:mso-bounce@xxxxxxxxxxxxx] On Behalf Of Tillotson, Robert N (US SSA) Sent: Friday, March 28, 2008 10:24 AM To: mso@xxxxxxxxxxxxx Subject: [mso] Re: Average IF function Yeliz, AverageIF is only avalible in Excel 2007 which I don't have so some of this is conjecture. You are using the formula according to its rules but MS limits all the IF functions to contiguous ranges. You could try an array formula to simulate this function If the cells to be skipped contain text they will be ignored as well as blanks=20 Robert Tillotson ************************************************************* You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or MicrosoftOffice@xxxxxxxxxxxxxxxx To send mail to the group, simply address it to mso@xxxxxxxxxxxxx To Unsubscribe from this group, visit the group's homepage and use the dropdown menu at the top. This will allow you to unsubscribe your email address or change your email settings to digest or vacation (no mail). //www.freelists.org/webpage/mso To be able to share files with the group, you must join our Yahoo sister group. This group will not allow for posting of emails, but will allow you to join and share problem files, templates, etc.: http://tech.groups.yahoo.com/group/MicrosoftOffice . This group is for FILE SHARING ONLY. If you are using Outlook and you see a lot of unnecessary code in your email messages, read these instructions that explain why and how to fix it: http://personal-computer-tutor.com/abc3/v28/greg28.htm *************************************************************