+ Reply to Thread
Results 1 to 3 of 3

Average/Offset Function

  1. #1
    Registered User
    Join Date
    12-10-2011
    Location
    Houston, TX
    MS-Off Ver
    Excel 2007
    Posts
    10

    Average/Offset Function

    Sir:



    I have 15 columns with several hundred rows of data. The last seven columns (I:O), as of now, are weekly hours for employees. Column P is a total for the most recent six weeks. The sum function below always pulls in the most recent six weeks. Column Q is an average column. My second formula below is not working because it is including the total column value. how can I have the formula skip column P when taking the average in column Q? Any help would be greatly appreciated.



    =SUM(OFFSET(P8,0,-6,1,6))

    =AVERAGE(OFFSET(Q8,0,-7,1,7))

  2. #2
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: Average/Offset Function

    Hello
    I think you just need to use the same parameters as in your sum function and not change them to 7 as in your average function. e.g.

    =AVERAGE(OFFSET(P1,0,-6,1,6))

    I assume you might be adding columns as your P1 reference is not absolute.

    Hope this helps.

  3. #3
    Registered User
    Join Date
    12-10-2011
    Location
    Houston, TX
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Average/Offset Function

    Yes that works great! Thanks for the help

+ 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