Formula Help! IF

Hi,

I am trying to do something and need some help! We are tracking the submitted date of an invoice and the day it was settled. The difference is what we are looking at. The problem is I know how to figure that out, but I am struggling with how to add in the condition that says IF the “Settled Date” is blank, leave the “Days to Settle” blank. That way, if we don;t it settled yet (i.e. there is no date entered into that cell) it won’t have an #ERROR! on every line of the sheet.

Is there anyway to do this? Thanks in advance.

This should do it:

IF(
   {Settled Date},
   << your date formula here >>
)

Beat me to it :slight_smile: IF(Date2,DATETIME_DIFF(Date2,Date1,‘days’))

Thanks - I will give this a try!

1 Like