Skip to main content
Solved

Date formula override

  • August 14, 2023
  • 1 reply
  • 15 views

Forum|alt.badge.img+1

I'm using the formula below to calculate the date difference between the day a position was opened to today (tracking number of days the position is open until filled). Is there a way to override that formula if the Position Status is listed as Filled or to make the formula only run on Positions with the status as Open. I don't want the running count of days once the job is filled, but don't want to lose the data point of the day it was opened.

DATETIME_DIFF(TODAY(),({Open Date}), 'days')

Best answer by Ron_Williams

This should work:

if({Position Status}="Open",DATETIME_DIFF(TODAY(),({Open Date}), 'days'))

1 reply

Forum|alt.badge.img+12
  • Inspiring
  • Answer
  • August 14, 2023

This should work:

if({Position Status}="Open",DATETIME_DIFF(TODAY(),({Open Date}), 'days'))