Help

Upcoming database upgrades. to improve our reliability at 03:30 UTC on Feb. 25 / 7:30pm PT on Feb. 24. Some users may briefly experience slow load times or error messages. Learn more here

New to Formulas

Topic Labels: Formulas
425 1
cancel
Showing results for 
Search instead for 
Did you mean: 

Thanks in advance for your help!
I need to create a formula to determine a project’s classification based on Date Added. There are three classifications: Rocks – 90 days or less, Boulders – 180 days or less, and Mountains – 180 days or more.

1 Reply 1

This should be at least close to what you want:

IF(
   DATETIME_DIFF({Date Added}, TODAY(), 'days') >= 180,
   "Mountains",
   IF(
      DATETIME_DIFF({Date Added}, TODAY(), 'days') > 90,
      "Boulders",
      "Rocks"
   )
)