Forum Discussion

UK_User123456's avatar
UK_User123456
Icon for Resolver I rankResolver I
6 years ago
Solved

Ranking and calculating the difference

Hi All,   I am working with Ranking and currently using RankX. I have multiple gift dates that could have been given by the same person over a period of time. I have ranked each of the gifts by dat...
  • MartynRamsden's avatar
    6 years ago

    Hi UK_User123456 

     

    Have you tried using the VALUE function to covert the result into a number?

    For example:

     

    Date Diff = VALUE ( [Last gift] - [Gift prior to last] )

     

    Best regards,

    Martyn

  • MartynRamsden's avatar
    MartynRamsden
    6 years ago

    Hi UK_User123456 

     

    How about this?

     

    Date Diff = 
    IF ( 
        NOT ISBLANK ( [Gift date prior to last] ),
        VALUE ( [Last gift date] - [Gift date prior to last] ),
        BLANK()
    )

     

    Best regards,

    Martyn