Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in


How to sum values between two dates range in Excel?

When there are two lists in your worksheet as right screenshot shown, one is the list of dates, the other is the list of the values. And you want to sum up the values between two dates range only, for instance, sum up the values between 3/4/2014 and 5/10/2014, how can you calculate them quickly? Now, I introduce a formula for you to sum up them in Excel.

Sum values between two dates with formula in Excel

sum between two dates

Easily count between two dates and select corresponding rows/cell in Excel

Kutools for Excel's Select Special Cells utility can help Excel users quickly count and select cell/rows/column based on specified criteria, such as greater than a value, less than a value, containing some text strings, between two values, etc. Full Feature Free Trial 60-day!
ad select special cells count between two dates

arrow blue right bubble Sum values between two dates with formula in Excel

Fortunately, there is a formula can sum up the values between two dates range in Excel.

Select a blank cell and type into this formula =SUMIFS(B2:B8,A2:A8,">="&E2,A2:A8,"<="&E3), and press Enter button. And now you will get the calculating result. See screenshot:

doc sum between dates 03

Note: In above formula, B2:B8 is the value list you will sum up, A2:A8 is the date list you will sum based on, E2 is the cell with start date, E3 is the cell with end date, and you can change them based on your needs.

note ribbon Formula is too complicated to remember? Save the formula as an Auto Text entry for reusing with only one click in future!
Read more…     Free trial

Relative Articles:

Sum values based on criteria in another column in Excel

Sum entire column except header in Excel

Recommended Productivity Tools

Office Tab

gold star1 Bring handy tabs to Excel and other Office software, just like Chrome, Firefox and new Internet Explorer.

Kutools for Excel

gold star1 Amazing! Increase your productivity in 5 minutes. Don't need any special skills, save two hours every day!

gold star1 300 New Features for Excel, Make Excel Much Easy and Powerful:

  • Merge Cell/Rows/Columns without Losing Data.
  • Combine and Consolidate Multiple Sheets and Workbooks.
  • Compare Ranges, Copy Multiple Ranges, Convert Text to Date, Unit and Currency Conversion.
  • Count by Colors, Paging Subtotals, Advanced Sort and Super Filter,
  • More Select/Insert/Delete/Text/Format/Link/Comment/Workbooks/Worksheets Tools...

Screen shot of Kutools for Excel

Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    CAA · 1 days ago
    I am trying to create a holiday calendar to calculate the following information:

    Start Date:
    End Date (if there is one, otherwise calculate on the entire holiday year_
    No of Holidays
    Holiday year runs from 01/04 to 31/03 with an entitlement of 20 days plus bank holidays

    any help is much appreciated
  • To post as a guest, your comment is unpublished.
    Kasim · 2 months ago
    Hello there,
    I am a sales man at hotel and I want to create a rate plan for different dates and room types,
    for example
    10.08.19 rate 50 usd per person,
    11.08.19 rate 45 usd per person
    12.08.19 rate 55 usd per person
    13.08.19 rate 60 usd per person
    14.08.19 rate 60 usd per person

    when guest ask me 2 different room types for example family room =pp rate x 3
    and standard room =pp rate x 2

    check in 10.08 and for 5 nights.. On rate plan I filled all dates rates, but I cannot arrange for room types..

    could you help someone to me pls..
  • To post as a guest, your comment is unpublished.
    Steve · 3 months ago
    I'm trying to sum the monthly data, in column E, between the Date in Q4 and R4, using the dates in column A. All I get is 0 for an answer. Am I making a mistake or is there a bug in Excel?

    =SUMIFS('Major business figures'!$E:$E,'Major business figures'!$A:$A,">"&Analysis!Q$4,'Major business figures'!$A:$A,"<="&Analysis!R$4)
  • To post as a guest, your comment is unpublished.
    Yaroslav · 3 months ago
    Hello Excel gurus,

    quick question. I`m trying to sum amounts that are in date range but all i`m trying is useless. The task is the following:

    I have column with trade amounts (more then 1 hundred lines, means different trades). Each trade have booking date and Maturity date. First trade was done on 27.04.2017 and last one 21.11.2018. So, I need to sum trades amounts for each and every date separately starting from 27.04.2017 and till 21.11.2018. How to type the formula correctly having mentioned conditions on top?

    Appreciated in your help.

  • To post as a guest, your comment is unpublished.
    vanji · 8 months ago
    hai Friends I have one dout, how to calculate how many dates between one date to another date.
    • To post as a guest, your comment is unpublished.
      kellytte · 2 months ago
      Hi vanji,
      Just apply the formula =later date – earlier date