Skip to main content
Question

Date Calculation for Formula Checkbox field

  • November 6, 2017
  • 0 replies
  • 25 views

I am trying to build out a To-Do app, and I want to sort by Tasks that have a due date within 7 days of the current date.  My idea was to create a Formula-Checkbox field with an if/then statement that would check itself if it met the criteria, and then set the report to sort by checked/not checked.  But I can't figure out what formula would let me do this.  Thoughts?
This topic has been closed for replies.

Here is a formula

IF(Today()-[Due Date] <= Days(7), "Due within 7 Days", "Not Due within 7 Days")

  • Quickbase Alumni
  • November 6, 2017
I'd recommend using the filters and grouping options to actually key off the 'Date' rather than a yes/no checkbox.

If gives the user a better experience to have it sorted by dates, and then grouped by weeks (thus your 7 day windows).  Acts as a better 'priority' based to-do list.