Skip to main content
Solved

Formula Help

  • December 2, 2022
  • 1 reply
  • 15 views

Forum|alt.badge.img

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.

Best answer by kuovonne

Is this what you want?


IF(

{Date B},

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

WORKDAY_DIFF( {Date A}, TODAY())

)

1 reply

kuovonne
Forum|alt.badge.img+29
  • Brainy
  • Answer
  • December 2, 2022

Is this what you want?


IF(

{Date B},

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

WORKDAY_DIFF( {Date A}, TODAY())

)