+ Reply to Thread
Results 1 to 4 of 4

Mean of standard deviations across columns?

  1. #1
    Registered User
    Join Date
    02-19-2004
    Posts
    17

    Mean of standard deviations across columns?

    I'm looking for an (array) formula that will take the mean of standard deviations across several columns given the value of another column. For example, I would have

    A B C D
    2 4 2 1
    2 2 2 1
    4 2 1 0

    I am looking for a formula that will take the mean of the standard deviations of A B and C IN EACH ROW given that column D contains value 1.

    (Note that I am not trying to take the standard deviations of all the values in columns A, B and C where the value in column D is 2. I'm trying to take an average of the standard deviations. I have not succeeded in finding an array formula that will do this.

    Thanks again for everyone's help on previous problems!
    Last edited by ModelerGirl; 02-04-2006 at 12:21 PM.

  2. #2
    Domenic
    Guest

    Re: Mean of standard deviations across columns?

    Try...

    =AVERAGE(IF(D1:D3=1,SUBTOTAL(7,OFFSET(A1:C3,ROW(A1:C3)-MIN(ROW(A1:C3)),0,
    1))))

    ....confirmed with CONTROL+SHIFT+ENTER, not just ENTER.

    Hope this helps!

    In article <ModelerGirl.22pq73_1139069712.1771@excelforum-nospam.com>,
    ModelerGirl <ModelerGirl.22pq73_1139069712.1771@excelforum-nospam.com>
    wrote:

    > I'm looking for an (array) formula that will take the mean of standard
    > deviations across several columns given the value of another column.
    > For example, I would have
    >
    > A B C D
    > 2 4 2 1
    > 2 2 2 1
    > 4 2 1 0
    >
    > I am looking for a formula that will take the mean of the standard
    > deviations of A B and C given that column D contains value 1.
    >
    > Thanks again for everyone's help on previous problems!


  3. #3
    Registered User
    Join Date
    02-19-2004
    Posts
    17
    Domenic,
    Thanks. The only issue is that the columns are not contiguous.

    I'm just wondering if there's a way to take an mean of a mean of columns, without calculating a separate column. Subtotal seems to work for groups of columns only.

  4. #4
    Domenic
    Guest

    Re: Mean of standard deviations across columns?

    Which columns are we taking about? Can you specify each range for your
    columns?

    In article <ModelerGirl.22prta_1139071800.7227@excelforum-nospam.com>,
    ModelerGirl <ModelerGirl.22prta_1139071800.7227@excelforum-nospam.com>
    wrote:

    > Domenic,
    > Thanks. The only issue is that the columns are not contiguous.
    >
    > I'm just wondering if there's a way to take an mean of a mean of
    > columns, without calculating a separate column. Subtotal seems to work
    > for groups of columns only.


+ 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