+ Reply to Thread
Results 1 to 5 of 5

Conditional Average

  1. #1
    Registered User
    Join Date
    09-09-2005
    Posts
    3

    Conditional Average

    Hi Everybody,

    I am trying to do a conditonal AVERAGE on an excel spreadsheet and am stuck...What I would like to do is check a one row for a certain value, and if true, AVERAGE the corresponding values on another coumn.

    Is this possible? thanks.

    -mek

  2. #2
    Forum Expert swatsp0p's Avatar
    Join Date
    10-07-2004
    Location
    Kentucky, USA
    MS-Off Ver
    Excel 2010
    Posts
    1,545
    answered in this thread:

    http://www.excelforum.com/showthread.php?t=466285

    please don't multipost...
    Bruce
    The older I get, the better I used to be.
    USA

  3. #3
    Richard Buttrey
    Guest

    Re: Conditional Average

    On Fri, 9 Sep 2005 10:27:28 -0500, MEK911
    <MEK911.1v3n2k_1126281951.9242@excelforum-nospam.com> wrote:

    >
    >Hi Everybody,
    >
    >I am trying to do a conditonal AVERAGE on an excel spreadsheet and am
    >stuck...What I would like to do is check a one row for a certain value,
    >and if true, AVERAGE the corresponding values on another coumn.
    >
    >Is this possible? thanks.
    >
    >-mek


    I'm interpreting this to mean that you have a column containing the
    value (in this example the word "Yes") you're interested in, in say
    A3:A100, and the numbers you want to average in B3:B100

    So in B1 put

    =SUMIF(A3:A100,"Yes",B3:B100)/COUNTIF(A3:A100,"Yes")

    HTH

    __
    Richard Buttrey
    Grappenhall, Cheshire, UK
    __________________________

  4. #4
    Max
    Guest

    Re: Conditional Average

    One way ..

    Assume you have numbers in A1:A10,
    and certain cells marked as "X" within B1:B10

    We could put in say, C1, and array-enter the formula
    (i.e press CTRL+SHIFT+ENTER):

    =AVERAGE(IF(B1:B10="X",A1:A10))

    which will evaluate the average of only those numbers in col A
    corresponding to the "x" marked in col B
    --
    Rgds
    Max
    xl 97
    ---
    Singapore, GMT+8
    xdemechanik
    http://savefile.com/projects/236895
    --
    "MEK911" <MEK911.1v3n2k_1126281951.9242@excelforum-nospam.com> wrote in
    message news:MEK911.1v3n2k_1126281951.9242@excelforum-nospam.com...
    >
    > Hi Everybody,
    >
    > I am trying to do a conditonal AVERAGE on an excel spreadsheet and am
    > stuck...What I would like to do is check a one row for a certain value,
    > and if true, AVERAGE the corresponding values on another coumn.
    >
    > Is this possible? thanks.
    >
    > -mek
    >
    >
    > --
    > MEK911
    > ------------------------------------------------------------------------
    > MEK911's Profile:

    http://www.excelforum.com/member.php...o&userid=27115
    > View this thread: http://www.excelforum.com/showthread...hreadid=466284
    >




  5. #5
    David Billigmeier
    Guest

    RE: Conditional Average

    Without knowing your exact cell references I'll just use row 1 for the check
    and row 2 as the corresponding numbers to average, in that case:

    =AVERAGE(IF(1:1="value to check",2:2,""))

    Array formula so enter with Ctrl+Shift+Enter


    --
    Regards,
    Dave


    "MEK911" wrote:

    >
    > Hi Everybody,
    >
    > I am trying to do a conditonal AVERAGE on an excel spreadsheet and am
    > stuck...What I would like to do is check a one row for a certain value,
    > and if true, AVERAGE the corresponding values on another coumn.
    >
    > Is this possible? thanks.
    >
    > -mek
    >
    >
    > --
    > MEK911
    > ------------------------------------------------------------------------
    > MEK911's Profile: http://www.excelforum.com/member.php...o&userid=27115
    > View this thread: http://www.excelforum.com/showthread...hreadid=466284
    >
    >


+ 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