Skip to main content
Solved

Easy Formula Fix

  • August 19, 2024
  • 0 replies
  • 251 views

Forum|alt.badge.img+11

Sometimes, I just can't get the hang of formulas! Please help...thank you

Case(
DayOfWeek([FINAL PROJECTED START DATE]),
0,"SUN",
1,"MON",
2,"TUE",
3,"WED",
4,"THU",
5,"FRI",
6,"SAT",
"OPEN")

 

Error:  

 

Best answer by MarkShnierYou

That is an unusual name for a text field type.  Do you have a date field that you can use in that formula instead?    But, if the contents of that field is always a properly formatted date (or blank), but just in text format, then you can try this.

Case(
DayOfWeek(ToDate([FINAL PROJECTED START DATE])),
0,"SUN",
1,"MON",
2,"TUE",
3,"WED",
4,"THU",
5,"FRI",
6,"SAT",
"OPEN")

 

MarkShnierYou
Forum|alt.badge.img+24

Is there any chance that your final projected start date field is actually a text field and not a date  field type?


Maria
Forum|alt.badge.img+19
  • Community Manager
  • August 20, 2024

Or perhaps the field should be called [FINAL PROJECTED START WEEKDAY]