Help

Upcoming database upgrades. to improve our reliability at 03:30 UTC on Feb. 25 / 7:30pm PT on Feb. 24. Some users may briefly experience slow load times or error messages. Learn more here

Formula Help

Solved
Jump to Solution
153 1
cancel
Showing results for 
Search instead for 
Did you mean: 

Hi everyone. I’m looking to create a IF statement where if date B exists, then it will calculate the working days between from date A to date B. However if date B does not exists then it will calculate how many days it’s been from date a based on the real time current date. The if statements that I have been trying to create does not work with multiple formulas embedded.

1 Solution

Accepted Solutions

Is this what you want?


IF(

{Date B},

WORKDAY_DIFF( {Date A}, {Date B}),

WORKDAY_DIFF( {Date A}, TODAY())

)

See Solution in Thread

1 Reply 1

Is this what you want?


IF(

{Date B},

WORKDAY_DIFF( {Date A}, {Date B}),

WORKDAY_DIFF( {Date A}, TODAY())

)