use averageif() Function instead of Average(if()) Rajan.
On Wed, Apr 6, 2011 at 2:09 PM, syed aliya raza hashim <hashim...@gmail.com>wrote: > > Hi in this formula if i am incresing the range 25 to 125 then it is > counting blank cell also and traeting blank cell as a jan month so is there > any suggestion where can we ignore blank cell > > =IF(ISERROR(AVERAGE(IF(MONTH($B$2:$B$125)=2,$E$2:$E$125))),"",AVERAGE(IF(MONTH($B$2:$B$125)=2,$E$2:$E$125))) > > *see i have highlighted the cell in yellow color in sheet > *-- > syed aliya > > -- > > ---------------------------------------------------------------------------------- > Some important links for excel users: > 1. Follow us on TWITTER for tips tricks and links : > http://twitter.com/exceldailytip > 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 > 3. Excel tutorials at http://www.excel-macros.blogspot.com > 4. Learn VBA Macros at http://www.quickvba.blogspot.com > 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com > > To post to this group, send email to excel-macros@googlegroups.com > > <><><><><><><><><><><><><><><><><><><><><><> > Like our page on facebook , Just follow below link > http://www.facebook.com/discussexcel > -- Regards Rajan verma +91 9158998701 -- ---------------------------------------------------------------------------------- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 3. Excel tutorials at http://www.excel-macros.blogspot.com 4. Learn VBA Macros at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com <><><><><><><><><><><><><><><><><><><><><><> Like our page on facebook , Just follow below link http://www.facebook.com/discussexcel