Difference beetween Two duration [SOLVED]

New to Glide, love it !

I have to keep an updated list of household appliances, for which the depreciation calculation varies depending on the type of appliance (a washing machine may last 5 years, and a refrigerator 8). In addition to the purchase date, I’ve added a column (if it’s a “washing machine”, then “5 years”, if a “fridge”, “8 years”…).
Then in another column, I have calculated the duration between the purchase date and today. But now I need to know quickly if this duration is greater than the depreciation duration, to have an alert. Is that possible directly? Or should I use dates instead of durations? Thank you for your help !
pour la communauté francophone :
Je dois tenir à jour une liste d’électroménager, pour laquelle le calcul de la vétusté est différent selon le type d’appareil (une machine à laver peut durer 5 ans, un frigidaire, 8).
En plus de la date d’achat, j’ai ajouté une colonne (si “machine à laver”, alors “5 ans”, si “frigo”, “8”…). Dans une autre colonne, j’ai calculé la durée entre le jour d’achat et aujourd’hui.
Mais j’ai maintenant besoin de savoir si cette durée est supérieure à la durée de vétusté, pour avoir une alerte. Est-ce possible directement ? Ou bien faut-il que je passe par des dates et non des durées ? Merci de votre aide !

You could do it as follows:

  • Create a Math column using the following formula:
Purchase Date + (X * 365.25)
  • where X is your depreciation period in years.
  • Then use an if-then-else column:
    – If Math column is before Now, then true
  • If your if-then-else column returns true, then the item has depreciated.
1 Like

:wave: Oh thanks … Looks so simple, I can’t believe it !

SOLVED !

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.