+ Reply to Thread
Results 1 to 5 of 5

average data from diff sheets

  1. #1
    shwethav@gmail.com
    Guest

    average data from diff sheets

    need a quick formulae help from you in excel.





    This is what am trying to do.



    I have 2 sheets (A and B ) . From sheet B am taking the average of (A1:
    B3) and want it in the A1 cell of sheet A. To put it concisely



    sheet A



    A1 Average (SheetB!(A1:B3))
    B1 Average( SheetB!(C1:D3))



    A2 Average (SheetB!(A4:B6))
    B2 Average( SheetB!(C4:D6)) and so on.





    sheet B has (60*48) cells



    I want a common formulae or macro to do this but not sure how to go
    about using offset or index functions for the same.



    Will be helpful if you have some thoughts on this.


  2. #2
    Peo Sjoblom
    Guest

    Re: average data from diff sheets

    Please refrain from multiposting, post only in one newsgroup, it is really
    looked down upon, it's better to crosspost since the post and answers are
    visible

    =AVERAGE(OFFSET(Sheet2!$A$1,ROWS($A$1:A1)*2-2,COLUMNS($A$1:A1)*2-2,2,2))

    copied across and down
    --

    Regards,

    Peo Sjoblom

    http://nwexcelsolutions.com




    <shwethav@gmail.com> wrote in message
    news:1143672767.866593.221570@e56g2000cwe.googlegroups.com...
    > need a quick formulae help from you in excel.
    >
    >
    >
    >
    >
    > This is what am trying to do.
    >
    >
    >
    > I have 2 sheets (A and B ) . From sheet B am taking the average of (A1:
    > B3) and want it in the A1 cell of sheet A. To put it concisely
    >
    >
    >
    > sheet A
    >
    >
    >
    > A1 Average (SheetB!(A1:B3))
    > B1 Average( SheetB!(C1:D3))
    >
    >
    >
    > A2 Average (SheetB!(A4:B6))
    > B2 Average( SheetB!(C4:D6)) and so on.
    >
    >
    >
    >
    >
    > sheet B has (60*48) cells
    >
    >
    >
    > I want a common formulae or macro to do this but not sure how to go
    > about using offset or index functions for the same.
    >
    >
    >
    > Will be helpful if you have some thoughts on this.
    >




  3. #3
    Bob Phillips
    Guest

    Re: average data from diff sheets

    Try this

    =AVERAGE(INDEX(Sheet2!$1:$100,(ROW()-1)*3+1,(COLUMN()-1)*2+1):INDEX(Sheet2!$
    1:$100,ROW()*3,(COLUMN())*2))

    --

    HTH

    Bob Phillips

    (remove nothere from the email address if mailing direct)

    <shwethav@gmail.com> wrote in message
    news:1143672767.866593.221570@e56g2000cwe.googlegroups.com...
    > need a quick formulae help from you in excel.
    >
    >
    >
    >
    >
    > This is what am trying to do.
    >
    >
    >
    > I have 2 sheets (A and B ) . From sheet B am taking the average of (A1:
    > B3) and want it in the A1 cell of sheet A. To put it concisely
    >
    >
    >
    > sheet A
    >
    >
    >
    > A1 Average (SheetB!(A1:B3))
    > B1 Average( SheetB!(C1:D3))
    >
    >
    >
    > A2 Average (SheetB!(A4:B6))
    > B2 Average( SheetB!(C4:D6)) and so on.
    >
    >
    >
    >
    >
    > sheet B has (60*48) cells
    >
    >
    >
    > I want a common formulae or macro to do this but not sure how to go
    > about using offset or index functions for the same.
    >
    >
    >
    > Will be helpful if you have some thoughts on this.
    >




  4. #4
    Domenic
    Guest

    Re: average data from diff sheets

    Assuming that Sheet2!A1:AV60 contains the data, try...

    Sheet1!A1, copied down and across:

    =AVERAGE(INDEX(Sheet2!$A$1:$AV$60,ROWS(A$1:A1)*3-3+1,COLUMNS($A1:A1)*2-2+
    1):INDEX(Sheet2!$A$1:$AV60,ROWS(A$1:A1)*3,COLUMNS($A1:A1)*2))

    Hope this helps!

    In article <1143672767.866593.221570@e56g2000cwe.googlegroups.com>,
    shwethav@gmail.com wrote:

    > need a quick formulae help from you in excel.
    >
    >
    >
    >
    >
    > This is what am trying to do.
    >
    >
    >
    > I have 2 sheets (A and B ) . From sheet B am taking the average of (A1:
    > B3) and want it in the A1 cell of sheet A. To put it concisely
    >
    >
    >
    > sheet A
    >
    >
    >
    > A1 Average (SheetB!(A1:B3))
    > B1 Average( SheetB!(C1:D3))
    >
    >
    >
    > A2 Average (SheetB!(A4:B6))
    > B2 Average( SheetB!(C4:D6)) and so on.
    >
    >
    >
    >
    >
    > sheet B has (60*48) cells
    >
    >
    >
    > I want a common formulae or macro to do this but not sure how to go
    > about using offset or index functions for the same.
    >
    >
    >
    > Will be helpful if you have some thoughts on this.


  5. #5
    shwethav@gmail.com
    Guest

    Re: average data from diff sheets

    Thanks bob and other guys .. it works


+ 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