+ Reply to Thread
Results 1 to 6 of 6

Average with multiple criteria in another workbook

  1. #1
    Registered User
    Join Date
    07-01-2010
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    8

    Unhappy Average with multiple criteria in another workbook

    Hi all,

    I'm new to excel programming. I'm task to compute the average if several criteria is met. I have output.xls and inside this workook there is a button. When a user click this button, it will calculate for them the average. And I have another workbook, data.xls that has a total of 40 columns and 40640 rows(The data will get bigger). I have to find the average by month,week,service,testname and result. The result of this average will be in output.xls

    Is there any macro to write so they know when to find the average? I'm using excel 2003. I don't even know where and how to start. So far I only tried the AVERAGE(IF(......
    However,it is not efficient and sometimes it will come out an error.

    Anybody can help?

    Thanks in advance

  2. #2
    Valued Forum Contributor
    Join Date
    06-17-2009
    Location
    Chennai,India
    MS-Off Ver
    Excel 2003,excel 2007
    Posts
    678

    Re: Average with multiple criteria in another workbook

    I am thinking that if month,week,service,testname and result. are column heading why not do a pivot table.

  3. #3
    Registered User
    Join Date
    07-01-2010
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Average with multiple criteria in another workbook

    I'm not allowed to use pivot table. Pivot has been done. Now it's more to like a summary worksheet in another workbook. Any more suggestion?

  4. #4
    Forum Expert
    Join Date
    03-31-2009
    Location
    Barstow, Ca
    MS-Off Ver
    Excel 2002 & 2007
    Posts
    2,164

    Re: Average with multiple criteria in another workbook

    Hi blabla;

    Is this the same question as http://www.excelforum.com/excel-prog...s-average.html
    Foxguy

    Remember to mark your questions [Solved] and rate the answer(s)
    Forum Rules are Here

  5. #5
    Registered User
    Join Date
    07-01-2010
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Average with multiple criteria in another workbook

    No it is not. For this question I do not know how to do it. For the other one I know which statement to use but just not sire if it is correct as I'm new to VBA and DAVERAGE. Thank you

  6. #6
    Forum Expert
    Join Date
    03-31-2009
    Location
    Barstow, Ca
    MS-Off Ver
    Excel 2002 & 2007
    Posts
    2,164

    Re: Average with multiple criteria in another workbook

    I can not see a difference between the 2 questions. Maybe if you provided averages.xls it would make more sense.

+ 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