Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

How to make a query with Google Spreadsheet, that checks for a date within a certain range. I have tried using:

    =QUERY('Noah''s Weight'!A:D, "select * where A > date ' " &text(TODAY()-15;"yyyy-MM-dd" ) &" ' ")

Row 1 is the headers, column A is the time stamp of from the form, and column 2 has the accompanying values I'm looking for.

share|improve this question

1 Answer 1

You can use =QUERY(A:B, "select * WHERE datediff(now(), todate(A)) <= 15")

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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