+ Reply to Thread
Results 1 to 3 of 3

Sum based on date range

  1. #1
    Registered User
    Join Date
    11-07-2007
    Posts
    38

    Sum based on date range

    I would like to have cell G3 automatically sum the values in Column B based on the start and end date parameters that are typed in the cells (E3 and E4). Does someone know a formula that will work for this?
    Attached Files Attached Files
    Last edited by VBA Noob; 10-14-2008 at 02:01 AM.

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885
    Hi Statenja,

    You can use a few formulas, for example:

    =SUMIF(A2:A10,">="&E3,B2:B10)-SUMIF(A2:A10,">"&E4,B2:B10)

    or

    =SUMPRODUCT((A2:A10>=E3)*(A2:A10<=E4),B2:B10)

  3. #3
    Registered User
    Join Date
    11-07-2007
    Posts
    38
    Thanks for the help and rapid response!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. avg based on date range
    By thePCMD in forum Excel General
    Replies: 10
    Last Post: 07-29-2007, 12:20 PM
  2. Counting instances of "N" within a date range
    By hottoku in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-21-2007, 07:17 PM
  3. Search Date within Date Range
    By sach0025 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-03-2007, 02:30 PM
  4. Find A Value On Specific Date – In A Date Range
    By elzial4x in forum Excel General
    Replies: 2
    Last Post: 03-15-2007, 05:46 AM
  5. Replies: 0
    Last Post: 09-11-2006, 10:40 PM

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