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
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!