Hi, I'm trying the below formula for changing the start & stop text based on dates. What we want is that if the start date is tomorrow, it should show START. If the stop date is tomorrow, it should show STOP today.
Some times we enter dates 1 week prior & we want the data to change a day prior.
Appreciate the help.
Some times we enter dates 1 week prior & we want the data to change a day prior.
SAMPLE DATA-ETAF-2.xlsx | |||||
---|---|---|---|---|---|
A | B | C | |||
1 | Start Date | Stop Date | Meal 1 - ORDER | ||
2 | 01-05-23 | 07-05-23 | STOP | ||
3 | 01-06-23 | 01-08-23 | STOP | ||
4 | 04-05-23 | 05-05-23 | STOP | ||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
C2:C4 | C2 | =IF(AND(TODAY()>=$A2-1,TODAY()<$B2-1),"START", "STOP") |
Appreciate the help.