Skip to main content
Solved

2 If Statements, 1 is IF/AND Help

  • June 21, 2024
  • 2 replies
  • 28 views

AndreaR
Forum|alt.badge.img+9

Hi there and Happy Friday!

I am trying to calculate the time it takes an individual to get a specific type of number at the time they enroll in our program.

The formula I have is essentially, "If the individual does not have a preexisting number, calculate the time difference between the date they got the number and the date they enrolled in the program."

 

The formula is: IF({LO has FTN at time of Enrollment}="No",WORKDAY_DIFF({Enrollment Date},{Turned in FTN}))

 

That works but if “Turned in FTN” is blank, the calculation results in "#ERROR" and I hate "#ERROR".

 

So, that means I need to add something like, “If “Turned in FTN” = Blank, then “””. I tried adding that a few different ways but am still getting #ERROR.

 

Any ideas how to get rid of the #ERROR? Thanks in advance!

 

 

Best answer by AndreaR

figured it out - nested if statement with the blank one first

2 replies

AndreaR
Forum|alt.badge.img+9
  • Author
  • Inspiring
  • June 21, 2024

PS - The enrollment date is a lookup


AndreaR
Forum|alt.badge.img+9
  • Author
  • Inspiring
  • Answer
  • June 21, 2024

figured it out - nested if statement with the blank one first