• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 75
  • Last Modified:

Sumif inbetween dates

Column A has a list of dates. Column B has a list of values I want to add.

If the date is inbetween the date in C2 and D2 (including the dates of C2 and D2) then I want it to sum the value in Column B.

Any idea how to write this sumif code?

  • 2
1 Solution
check this

Open in new window

Farzad AkbarnejadDeveloperCommented:
if you don't get result from FarWest solution try this simple:

=SUMIFS(B1:B24,A1:A24,">="&C2, A1:A24, "<="&D2)

sorry correct comparing cells

Open in new window

Dale FyeCommented:
I'm confused; you posted this to the Access topic area.  Did you want to do this in Access?  In Access, you would normally use the values in the first row of the spreadsheet as column headers.

Is this Excel file linked to Access?  

Did you really mean in between C2 and D2, or did you mean between the data in the relevant row of the C and D columns?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now