+ Reply to Thread
Results 1 to 4 of 4

Average Array Formula

  1. #1
    Rachael
    Guest

    Average Array Formula

    I would like to calculate the Average Passed % (Column C).

    0%s should only be included in the average calculation if the corresponding
    Total Number in Column A is more than 0.

    Should it be something like this array formula?

    {=AVERAGE(IF((B1509:B1519=>0)*(D1509:D1519<>0),D1509:D1519))}

    Please help.

    Thanks & best wishes.

    Rachael


    Total Number Number Passed Passed % Number Failed
    125 118 94% 7
    0 0 0% 0
    325 319 98% 5
    105 103 98% 2
    0 0 0% 0
    1 0 0% 1




  2. #2
    Mangesh Yadav
    Guest

    Re: Average Array Formula

    =AVERAGE(IF(A1:A4=0,"",B1:B4))

    Mangesh



    "Rachael" <[email protected]> wrote in message
    news:[email protected]...
    > I would like to calculate the Average Passed % (Column C).
    >
    > 0%s should only be included in the average calculation if the

    corresponding
    > Total Number in Column A is more than 0.
    >
    > Should it be something like this array formula?
    >
    > {=AVERAGE(IF((B1509:B1519=>0)*(D1509:D1519<>0),D1509:D1519))}
    >
    > Please help.
    >
    > Thanks & best wishes.
    >
    > Rachael
    >
    >
    > Total Number Number Passed Passed % Number Failed
    > 125 118 94% 7
    > 0 0 0% 0
    > 325 319 98% 5
    > 105 103 98% 2
    > 0 0 0% 0
    > 1 0 0% 1
    >
    >
    >




  3. #3
    Mangesh Yadav
    Guest

    Re: Average Array Formula

    Sorry forgot to mention that this is an array formula.

    =AVERAGE(IF(A1:A4=0,"",B1:B4))

    Mangesh




    "Rachael" <[email protected]> wrote in message
    news:[email protected]...
    > I would like to calculate the Average Passed % (Column C).
    >
    > 0%s should only be included in the average calculation if the

    corresponding
    > Total Number in Column A is more than 0.
    >
    > Should it be something like this array formula?
    >
    > {=AVERAGE(IF((B1509:B1519=>0)*(D1509:D1519<>0),D1509:D1519))}
    >
    > Please help.
    >
    > Thanks & best wishes.
    >
    > Rachael
    >
    >
    > Total Number Number Passed Passed % Number Failed
    > 125 118 94% 7
    > 0 0 0% 0
    > 325 319 98% 5
    > 105 103 98% 2
    > 0 0 0% 0
    > 1 0 0% 1
    >
    >
    >




  4. #4
    Rachael
    Guest

    Re: Average Array Formula

    Thanks very much. I have used a variation of your formula suggestion.

    Best wishes.

    Rachael

    "Mangesh Yadav" wrote:

    > Sorry forgot to mention that this is an array formula.
    >
    > =AVERAGE(IF(A1:A4=0,"",B1:B4))
    >
    > Mangesh
    >
    >
    >
    >
    > "Rachael" <[email protected]> wrote in message
    > news:[email protected]...
    > > I would like to calculate the Average Passed % (Column C).
    > >
    > > 0%s should only be included in the average calculation if the

    > corresponding
    > > Total Number in Column A is more than 0.
    > >
    > > Should it be something like this array formula?
    > >
    > > {=AVERAGE(IF((B1509:B1519=>0)*(D1509:D1519<>0),D1509:D1519))}
    > >
    > > Please help.
    > >
    > > Thanks & best wishes.
    > >
    > > Rachael
    > >
    > >
    > > Total Number Number Passed Passed % Number Failed
    > > 125 118 94% 7
    > > 0 0 0% 0
    > > 325 319 98% 5
    > > 105 103 98% 2
    > > 0 0 0% 0
    > > 1 0 0% 1
    > >
    > >
    > >

    >
    >
    >


+ 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