Results 1 to 5 of 5

AverageIF and Offset Issue

Threaded View

Parallax AverageIF and Offset Issue 10-14-2009, 05:13 PM
daddylonglegs Re: AverageIF and Offset Issue 10-14-2009, 05:46 PM
Parallax Re: AverageIF and Offset Issue 10-15-2009, 08:30 AM
DonkeyOte Re: AverageIF and Offset Issue 10-15-2009, 08:38 AM
Parallax Re: AverageIF and Offset Issue 10-15-2009, 10:57 AM
  1. #1
    Registered User
    Join Date
    08-24-2009
    Location
    Boston
    MS-Off Ver
    Excel 2007
    Posts
    3

    AverageIF and Offset Issue

    I'm trying to make a formula that will calculate the average of the previous 12months. The goal is to tie the formula to a reference cell that contains a date. Each time the date is changed by a user the calculation will be updated accordingly. Here is the CSE formula that I thought would work:

    {=AVERAGE(IF($B$5:$B$53=B$2,OFFSET($C$5,(COUNT(C5:$C$53)-1),0,12,1)))}

    I've also attached a sample file to illustrate the problem. The 'range' portion ($C$5,(COUNT(C5:$C$53)-1)[/B]of the Offset function was setup simply to get the 12 months which preceeded the reference date. I'm reasonable sure this isn't the problem. Any help is appreciated.
    Attached Files Attached Files
    Last edited by Parallax; 10-15-2009 at 10:56 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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