+ Reply to Thread
Results 1 to 6 of 6

average array formulae return different results

  1. #1
    Forum Contributor
    Join Date
    04-11-2008
    Posts
    156

    average array formulae return different results

    Hi,

    Please can you help me understand why this formula is not working i.e. it is returning zero?

    =AVERAGE(IF(AND(Pension!$F$5:$F$52<=20000,Pension!$F$5:$F$52<=20000),Pension!$L$5:$L$52)) entered with ctrl+shift+enter

    This version without the AND statement works fine:

    =AVERAGE(IF(Pension!$F$5:$F$52<=20000,Pension!$L$5:$L$52)) entered with ctrl+shift+enter

    Thanks

    Andrew
    Last edited by zbor; 10-24-2012 at 07:49 AM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,037

    Re: [=average(if(and problem

    I assume it returning value of L5.
    Is 0 in L5?
    Never use Merged Cells in Excel

  3. #3
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: average array formulae return different results

    Please use code tag because unable to view your full formula.

    I hope there is no use or logic in using the same condition twice (In the below formula)

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  4. #4
    Forum Contributor
    Join Date
    04-11-2008
    Posts
    156

    Re: average array formulae return different results

    HI,

    The aim is to average column L based on the adjacent conditions being met in column F.

    Thanks

  5. #5
    Forum Contributor
    Join Date
    04-11-2008
    Posts
    156

    Re: [=average(if(and problem

    Sorry, the formula I am trying to get to work is here:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Thanks

    Andrew

  6. #6
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: [=average(if(and problem

    Quote Originally Posted by penfold View Post
    Sorry, the formula I am trying to get to work is here:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Thanks

    Andrew
    * works as AND with array formula

    Please check the below Untested formula

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Hope that helps!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1