+ Reply to Thread
Results 1 to 2 of 2

Sum if between 2 dates

Hybrid View

faisal.ta Sum if between 2 dates 12-02-2015, 07:26 AM
Pete_UK Re: Sum if between 2 dates 12-02-2015, 07:37 AM
  1. #1
    Forum Contributor
    Join Date
    05-19-2010
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    111

    Sum if between 2 dates

    Hi
    In Cell A 1-50 we have various dates of say 1 to 30 Dec
    In Cell B 1-50 against the date we have various quantities

    The formula needed is if i need to all the quantites between 1st to 5th December what should be the formula for the same.
    If anyone can guide

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,423

    Re: Sum if between 2 dates

    Suppose you put the 1st December in C1 and the 5th December in D1, then you can use this formula in E1:

    =SUMIFS(B:B,A:A,">="&C1,A:A,"<="&D1)

    You can only use SUMIFS if you have XL2007 or later. If you are using XL2003, as your profile states, then you can use this:

    =SUMIF(A:A,">="&C1,B:B) - SUMIF(A:A,">"&D1,B:B)

    Hope this helps.

    Pete

+ 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. Populating list of dates from another sheet with Start Dates and End Dates
    By Jesshloly in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-05-2015, 04:07 AM
  2. [SOLVED] Creating a formula to populate range of cells between dates based on start and end dates
    By Rainmain82 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-18-2014, 07:55 AM
  3. Check dates in range either same dates or different dates by formula
    By breadwinner in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-12-2013, 07:42 AM
  4. Replies: 6
    Last Post: 03-11-2013, 06:11 PM
  5. [SOLVED] Array of dates when tested shows no dates ......but there are dates
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-29-2012, 12:45 PM
  6. [SOLVED] Highlight Group of Dates if Dates Match List of other Dates
    By martinpgibson in forum Excel General
    Replies: 5
    Last Post: 10-24-2012, 08:14 PM
  7. [SOLVED] Auto filling dates based on previously entered dates and averaging numbers if dates equal
    By grambograham in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-11-2012, 03:21 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