Results 1 to 6 of 6

Average over a dynamic range of values in a different worksheet

Threaded View

  1. #1
    Registered User
    Join Date
    10-24-2012
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    3

    Red face Average over a dynamic range of values in a different worksheet

    Hi,

    My problem is this:

    I want to use the Range("E1"). Formula = "Average..." formula to calculate a dynamic average on another worksheet in the same workbook. The range will be determined by what users enter into a specific cell. And though the column of data (E) is the same it is the rows that change. I can do this easily using the formula:

    Sheets("Calculations").Activate
    Range("E1").Value = Application.WorksheetFunction.Average(Sheets("Template").Range("E" & Zprow & ":E" & Iprow - 1))
    However, when this runs it doesn't display the function in the cell on the worksheet and for transparency this is what I need.

    Is this clear? I really hope someone can help as I'm pulling my hair out looking for solutions on the web.

    Many thanks in advance.
    Last edited by Cutter; 10-29-2012 at 05:29 PM. Reason: Added code tags

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