Skip to main content
Jeremy Malander ha fatto una domanda in #Data Management
IF( MONTH(CloseDate)=12, DATE(YEAR(CloseDate),12,31) - CloseDate, DATE(YEAR(CloseDate), MONTH(CloseDate)+1,1) - CloseDate-1)

 

This is pulled from formula examples from Help & Training...  It calculates the number of days until a specific date.  However.. if the date is in a future year, this formula doesnt work.  Any ideas?

 

Thanks!
4 risposte
  1. 24 apr 2013, 23:49
    Here you go:

     

    Datatype = Formula

     

    Result = Number

     

    Formula =  DATE(2016, 01, 01) - TODAY() 
0/9000