+ Reply to Thread
Results 1 to 4 of 4

macro to perform average of cells

  1. #1
    Registered User
    Join Date
    03-26-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    17

    macro to perform average of cells

    Hi I'm looking for a macro that will help me calculate the average for a range of cells. In the attached excel workbook, I'd like to calculate the average of cells B7:E7 on F7, and the similar pattern for other rows as well as for the heading
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    03-14-2012
    Location
    Arizona USA
    MS-Off Ver
    Excel 2000/2007
    Posts
    408

    Re: macro to perform average of cells

    It's not a custom macro, it's a standard worksheet function.

    Take a look at F7 on the attached(modified version of your workbook).
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    03-26-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: macro to perform average of cells

    i know that function exist, but it would be quite tedious to drag down/ copy and paste the function when there's chucks of data extending up to column ZZ. The data you see in this book is just a small part of what I have. So would prefer if there is a macro that can help calculate the average, especially useful if there is a change of values in between

  4. #4
    Registered User
    Join Date
    03-26-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: macro to perform average of cells

    anyone ?????

+ 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