+ Reply to Thread
Results 1 to 2 of 2

summarize values between 2 years

  1. #1
    Registered User
    Join Date
    04-15-2011
    Location
    madrid
    MS-Off Ver
    Excel 2007
    Posts
    25

    summarize values between 2 years

    I want to know how I can summarize the number of "1" in column 3 that are between the date in column 4 and column 5, as I show in the attach file

    in column "O" is the first year and in column "P" the end year. I want to sum the column F between that range.

    Thanks in advance!
    Attached Files Attached Files
    Last edited by silviario; 05-04-2011 at 06:14 AM.

  2. #2
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: summarize values between 2 years

    Is this what you want?

    =SUMIFS(F:F,B:B,">="&O25,B:B,"<="&P25)

    or this (if using version below Excel 2007):

    =SUMPRODUCT((B4:B44>=O25)*(B4:B44<=P25)*(F4:F44))
    Last edited by Cutter; 04-15-2011 at 10:54 AM.

+ 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