Forum Discussion

tmitton's avatar
tmitton
Frequent Visitor
6 years ago
Solved

Calculate Text value based on date in another column

Softball question for some of the experts out there...   I have a column titled "Due Date" that tells me when a specific action item will be completed by.   I want to calculate a "Phase" column t...
  • Greg_Deckler's avatar
    6 years ago

    tmitton - Seems like:

    Phase =
      SWITCH(TRUE(),
        [Date] <= DATE(2020,6,30),"Phase 1",
        [Date] > DATE(2020,6,30) && [Date] <= DATE(2020,9,30),"Phase 2",
        [Date] > DATE(2020,10,1) && [Date] <= DATE(2020,12,31),"Phase 3",
        "N/A"
      )