Notionの数式で、今日から特定日までの日曜日を除いた日数を求める方法は以下のようにできます。
日付の差を計算:
dateBetween(prop("End Date"), now(), "days")
日曜日の数を計算:
floor(dateBetween(prop("End Date"), now(), "days") / 7)
最終的な日数を計算:
dateBetween(prop("End Date"), now(), "days") - floor(dateBetween(prop("End Date"), now(), "days") / 7)
この数式を使うことで、今日から特定日までの日数から日曜日を除いた日数を求めることができます。試してみてください!
他に何かお手伝いできることがあれば教えてくださいね。
ソース: Copilot との会話、 2024/10/12 (1) 9 Useful Date And Time Notion Formulas — Red Gregory. https://www.redgregory.com/notion/2022/3/2/9-useful-date-and-time-notion-formulas. (2) 数式の構文と関数 – Notion (ノーション)ヘルプセンター. https://www.notion.so/ja/help/formula-syntax. (3) How to Exclude Weekends in Excel: A Comprehensive Step .... https://www.supportyourtech.com/excel/how-to-exclude-weekends-in-excel-a-comprehensive-step-by-step-guide/. (4) How to count the days excluding Sundays between two dates .... https://www.extendoffice.com/documents/excel/3447-excel-count-days-excluding-sundays.html. (5) Calculate Business Days Between Two Variable Dates. https://notionthings.com/2022/03/11/calculate-business-days-between-two-variable-dates/. (6) undefined. https://notion.so.