Making DATETIME_DIFF Conditional on another field

Hello -
I am using a simple formula of:

DATETIME_DIFF({Today},{Start Date :star:},‘days’) to calculate the number of days from the Start Date to Today.

I would like to combine an IF statement to do the following: I only want to return a number IF the Field ‘SOP Status’ contains the words ‘On Ramp’, otherwise return a blank result.

Any help is greatly appreciated.

Thank you

IF(
  FIND('On Ramp', {SOP Status}),
  DATETIME_DIFF({Today}, {Start Date :star:}, 'days')
)

If this doesn’t work, can you post a screen shot?

1 Like

This topic was solved and automatically closed 3 days after the last reply. New replies are no longer allowed.