I am trying to find dates within 30 days in Column B. If the date matches the range it should sum all those that match in column I.

I have tried this formula:


It won't work in Google Sheets. I tried moving the date outside but that didn't work either.

1 Answer 1


You should use the DATEVALUE function:


Calculate Sum Based On Date Range in Google Sheets

As an alternative you could place the date =(TODAY()-30) in a cell (eg cell C1) and use the formula


SUMIF with criterion a date range from a cell

Functions used:

  • Welcome. Please remember that as per site guidelines when an answer addresses your question, you should accept it so others can benefit as well. Feb 21, 2020 at 0:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.