Create Status based of date field

Hi,

I am trying to get a field to show either Priority Normal, Priority high or Priority Critical depending on how far away from today the “manufactured by” date field is.

ie. if 3 weeks away priority normal

if 2 weeks away priority high

If 1 week away priority critical

Aby help would be greatly appreciated.

Try:

IF(
   DATETIME_DIFF(
      {Manufactured By},
      TODAY(),
      'days'
   ) < 8,
   "priority critical",
   IF(
      DATETIME_DIFF(
         {Manufactured By},
         TODAY(),
         'days'
      ) < 15,
      "priority high",
      "normal"
   )
)

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