Hi AISYAH_AMBOK,
Have you seen the function: DATETIME_DIFF() ?
Give this a try:
DATETIME_DIFF(
{Start Date},
{End Date},
'days'
)
WORKDAY_DIFF is only looking at the day of the weeks and comparing them, so you’ll always get 0-6 in results based on the days of the week being compared. DATETIME_DIFF() is what you’re looking for and should work the way you’re trying to use it.
Hi AISYAH_AMBOK,
Have you seen the function: DATETIME_DIFF() ?
Give this a try:
DATETIME_DIFF(
{Start Date},
{End Date},
'days'
)
WORKDAY_DIFF is only looking at the day of the weeks and comparing them, so you’ll always get 0-6 in results based on the days of the week being compared. DATETIME_DIFF() is what you’re looking for and should work the way you’re trying to use it.
Hi Kris! Thank you for the response!
However, it’s not exactly the solution I’m looking for. :grinning_face_with_sweat: I’m sorry, I think I may not have explained myself properly. Below is a screenshot of the table I’m testing this out on:

I have the two columns indicating the “START” and “END” dates for a task. If the start & end occur within the same month, calculating working days it takes to finish the task is pretty straightforward.
However, as soon as the end date crosses over into a different month, I’m not sure how to separate the tally of the working days by month.
The end result I’m looking for would be something like: Oct 2020, 1.0; Nov 2020, 3.0
Just FYI, the formula I have in the “DAYS SPENT PER MONTH” column is:
IF(IS_SAME(
{MONTH TASK STARTS},
{MONTH TASK ENDS},
'month'),
({MONTH TASK STARTS}
&", "&{ALLOCATION}),
IF(IS_AFTER({MONTH TASK ENDS},
{MONTH TASK STARTS})=1,
"CROSS MONTH"))