TODAY function and status

Options
JenS
JenS โœญโœญโœญโœญ

I'm working a formula for a RYG column based on two major sets of data:

  • Status and Quarter Start
  • Status and Quarter End

Q Start and Q End are the dates of the quarter and they are on the sheet as helper columns.

For example:

If Quarter starts in the next 80-120 days:

  • blank status - Yellow
  • Status is Product discovery, Planning w/ Build Team, or Committed - Green

If Quarter starts in the next 79-0 days:

  • Status isย Committed or Build - Green
  • Status is Product Discovery or planning w/ Build Team - Yellow
  • Status is blank - Red


-- Once Quarter is in progress---

  • Green:ย Status is Committed or build and 30 days or more remaining in quarter (Q End)
  • Yellow: status is Committedย and 30 days or less remaining in quarter
  • Yellow: status is build and go live date is blank and quarter ends in 14 days or less
  • Red:ย status isย Committedย or build and go-live date is blank;ย quarter ends in 14 or less days

The first thing I did was just try to get something working using the "TODAY" function to understand this function and it is not working (see below). I have no idea how to create the ranges (i.e., if quarter start is in the next 80-120 days - just trying to get started).

IF(AND(Status@row = โ€œBuild", [Q Start]@row <= TODAY(30), โ€œGreen", IF(AND(Status@row = โ€œCommitted", [Q End]@row <= TODAY(30), โ€œYellow", IF(AND(Status@row = โ€œBuild", [Q End]@row <= TODAY(30), โ€œGreen", IF(AND(Status@row = โ€œCommitted", [Q End]@row <= TODAY(14), โ€œRed", IF(AND(Status@row = โ€œCommitted", [Q End]@row <= TODAY(14), โ€œRedโ€, IF(AND(Release Date@row <> " ", [Q End]@row <= =TODAY(10), โ€œRedโ€œ, IF(AND(Release Date@row <> " ", [Q End]@row >= TODAY(), โ€œRedโ€œ

formula.png


Any help is appreciated - even just with getting 1 string of the initial "IF(AND.....TODAY" with the ranges in tact.

Tags:

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!