DAYS REMAINING FORMULA: lets( due, dateBetween(prop("Deadline"), now(), "days"), style, ifs( due > 90, ["purple", "b"], due > 45, ["blue", "b"], due > 14, ["yellow", "b"], due > 7, ["orange", "b"], ["red", "b"]),
format, ifs( prop("Done") == true, "Completed!".style("green","b","green_background"), due > 0, (due + " Days Remaining").style(style), due == -1, "Due Yesterday".style(style), due < 0, (due.abs() + " Days Overdue").style(style), due == 0, if( prop("Deadline").formatDate("MM/DD/YYYY") == now().formatDate("MM/DD/YYYY"), "Due Today!".style(style), "Due Tomorrow".style(style))), format )
@@thomasyang1 There are some elements in the formula that are not native to notion, I changed the formula to "style" so its not too confusing but, it should be working.
@@sacredtruth-1963 I just added the template link in the description box that way you can either check the formula on there or use the template, hope that helps.
Thank you! This helped me a lot, and I appreciate it.
@@bodeadeleke917 Im very happy it was useful for you ☺️
Thank you. You’re a great help
@@favourikharo2744 Im glad it was useful ☺️
Interesting video however fix your volume please 🙂
@@NtombiMChartist yes, thank you for the feedback!
DAYS REMAINING FORMULA:
lets(
due, dateBetween(prop("Deadline"), now(), "days"),
style, ifs(
due > 90, ["purple", "b"],
due > 45, ["blue", "b"],
due > 14, ["yellow", "b"],
due > 7, ["orange", "b"], ["red", "b"]),
format, ifs(
prop("Done") == true, "Completed!".style("green","b","green_background"),
due > 0, (due + " Days Remaining").style(style),
due == -1, "Due Yesterday".style(style),
due < 0, (due.abs() + " Days Overdue").style(style),
due == 0, if(
prop("Deadline").formatDate("MM/DD/YYYY") == now().formatDate("MM/DD/YYYY"),
"Due Today!".style(style),
"Due Tomorrow".style(style))),
format
)
what's styl? I assume it's a typo?
@@thomasyang1 There are some elements in the formula that are not native to notion, I changed the formula to "style" so its not too confusing but, it should be working.
This formula did not work for me?
"Done is not defined. [207,211]"
@@sacredtruth-1963 I just added the template link in the description box that way you can either check the formula on there or use the template, hope that helps.