TRYING TO RETURN THE DAY OF THE WEEK.
trying to get the Day of the week (ie. Mon, Tue, Wed) to return based on a date column. Tried this, but getting and unparseable error - what am I missing?
=IF(WEEKDAY[Bid Date] = 1, "SUN", IF(WEEKDAY[Bid Date] = 2, "MON", IF(WEEKDAY[Bid Date] = 3, "TUES", IF(WEEKDAY[Bid Date] = 4, "WED", IF(WEEKDAY[Bid Date] = 5, "THU", IF(WEEKDAY[Bid Date] = 6, "FRI", IF(WEEKDAY[Bid Date] = 7, "SAT")))))))
Snip of the columns;
Thanks!!
Best Answer
-
Hi,
Try something like this.
=IF(WEEKDAY([Bid Date]@row) = 1; "Sun"; IF(WEEKDAY([Bid Date]@row) = 2; "Mon"; IF(WEEKDAY([Bid Date]@row) = 3; "Tues"; IF(WEEKDAY([Bid Date]@row) = 4; "Wed"; IF(WEEKDAY([Bid Date]@row) = 5; "Thur"; IF(WEEKDAY([Bid Date]@row) = 6; "Fri"; IF(WEEKDAY([Bid Date]@row) = 7; "Sat")))))))
The same version but with the below changes for your and others convenience.
=IF(WEEKDAY([Bid Date]@row) = 1, "Sun", IF(WEEKDAY([Bid Date]@row) = 2, "Mon", IF(WEEKDAY([Bid Date]@row) = 3, "Tues", IF(WEEKDAY([Bid Date]@row) = 4, "Wed", IF(WEEKDAY([Bid Date]@row) = 5, "Thur", IF(WEEKDAY([Bid Date]@row) = 6, "Fri", IF(WEEKDAY([Bid Date]@row) = 7, "Sat")))))))
Depending on your country you’ll need to exchange the comma to a period and the semi-colon to a comma.
Did it work?
I hope that helps!
Have a fantastic weekend!
Best,
Andrée Starå
Workflow Consultant / CEO @ WORK BOLD
✅Did my post help answer your question or solve your problem? Please help the Community by marking it as the accepted answer/helpful. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
Answers
-
Hi,
Try something like this.
=IF(WEEKDAY([Bid Date]@row) = 1; "Sun"; IF(WEEKDAY([Bid Date]@row) = 2; "Mon"; IF(WEEKDAY([Bid Date]@row) = 3; "Tues"; IF(WEEKDAY([Bid Date]@row) = 4; "Wed"; IF(WEEKDAY([Bid Date]@row) = 5; "Thur"; IF(WEEKDAY([Bid Date]@row) = 6; "Fri"; IF(WEEKDAY([Bid Date]@row) = 7; "Sat")))))))
The same version but with the below changes for your and others convenience.
=IF(WEEKDAY([Bid Date]@row) = 1, "Sun", IF(WEEKDAY([Bid Date]@row) = 2, "Mon", IF(WEEKDAY([Bid Date]@row) = 3, "Tues", IF(WEEKDAY([Bid Date]@row) = 4, "Wed", IF(WEEKDAY([Bid Date]@row) = 5, "Thur", IF(WEEKDAY([Bid Date]@row) = 6, "Fri", IF(WEEKDAY([Bid Date]@row) = 7, "Sat")))))))
Depending on your country you’ll need to exchange the comma to a period and the semi-colon to a comma.
Did it work?
I hope that helps!
Have a fantastic weekend!
Best,
Andrée Starå
Workflow Consultant / CEO @ WORK BOLD
✅Did my post help answer your question or solve your problem? Please help the Community by marking it as the accepted answer/helpful. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
It did! I didn't try @row - tried @cell - thank you so much as always Andree! Happy Valentine's Day!
-
You're more than welcome!
Happy Valentines!
✅Remember! Did my post help answer your question or solve your problem? Please help the Community by marking it as the accepted answer/helpful. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 141 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!