+ Reply to Thread
Results 1 to 2 of 2

Add numbers by week

  1. #1
    Registered User
    Join Date
    06-23-2008
    Posts
    9

    Add numbers by week

    this might be an easy one...I have a spreadsheet which has a certain date on each row. In a different column I have a number that is related to the date. What I want to do is find the average of each number but only if the date falls in a certain week of the year.

    So I am trying to consolidate the numbers that correspond to the dates so I can chart based on a 52 week year.

    Ex

    3/30/08 55
    3/30/08 48
    4/1/08 87

    in this short example I would want to get the average of 55 and 48 because they are in the same week. I will want to do the same with the rest of the dates in the sheet.

    Is that easy or not? Am I just missing something obvious?

    Thanks.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Maybe like this:

    =AVERAGE( IF( (A1:A10 >= SomeSunday) * (A1:A10 <= theFollowingSaturday), B1:B10) )

+ 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