Hi, Can I return the corresponding day of the week from a date in another column?
Thanks
@Tony_DugganYes this can be done,
You can try an IFs expression like this where you want the value to returne:
IFS( WEEKDAY([DATE COLUMN])=1,SUNDAY, WEEKDAY([DATE COLUMN])=2,MONDAY, WEEKDAY([DATE COLUMN])=3,TUESDAY, WEEKDAY([DATE COLUMN])=4,WEDNESDAY, WEEKDAY([DATE COLUMN])=5,THURSDAY, WEEKDAY([DATE COLUMN])=6,FRIDAY, WEEKDAY([DATE COLUMN])=7,SATURDAY)
switch(weekday([DATE COLUMN]),
1, โSUNDAYโ,
2, "MONDAY,
3, "TUESDAY,
4, "WEDNESDAY,
5, "THURSDAY,
6, "FRIDAY,
7, "SATURDAY,
โโ )
Many Thanks Victor
@Tony_Duggan +Steve Coile
Im pretty sure Coileโs expresion is more efective
thanks Steve
cheers Victor
User | Count |
---|---|
41 | |
28 | |
28 | |
23 | |
13 |