Formula stops working when changing name of column
Greetings-
I have the following formula that tells me what day of week a specific date is if the date column is called "Date". If I try and change the formula to reference a column called "Date of Program" the formula doesnt work anymore. Why is this? How can I make it work with a date column called Date of Program instead of just Date? I updated the formula to say (Date of Program@row) but that doesnt do it. Thanks for any info. MD
WORKS
=IFERROR(IF(WEEKDAY(Date@row) = 1, "Sunday", IF(WEEKDAY(Date@row) = 2, "Monday", IF(WEEKDAY(Date@row) = 3, "Tuesday", IF(WEEKDAY(Date@row) = 4, "Wednesday", IF(WEEKDAY(Date@row) = 5, "Thursday", IF(WEEKDAY(Date@row) = 6, "Friday", IF(WEEKDAY(Date@row) = 7, "Saturday"))))))), "")
Doesnt WORK
=IFERROR(
IF(WEEKDAY(Date of Program@row) = 1, "Sunday",
IF(WEEKDAY(Date of Program@row) = 2, "Monday",
IF(WEEKDAY(Date of Program@row) = 3, "Tuesday",
IF(WEEKDAY(Date of Program@row) = 4, "Wednesday",
IF(WEEKDAY(Date of Program@row) = 5, "Thursday",
IF(WEEKDAY(Date of Program@row) = 6, "Friday",
IF(WEEKDAY(Date of Program@row) = 7, "Saturday"))))))), "")
Best Answer
-
Since there is a blank space in the title, you need to add brackets around the column name [Date of Program].
If you update where you have that name to the bracketed name, it should resolve.
Smartsheet Community Champion and Ambassador
If my answer helped you, please be sure to mark it as Accepted to help future learners locate the information.
Answers
-
Since there is a blank space in the title, you need to add brackets around the column name [Date of Program].
If you update where you have that name to the bracketed name, it should resolve.
Smartsheet Community Champion and Ambassador
If my answer helped you, please be sure to mark it as Accepted to help future learners locate the information.
-
That worked! Thank you for the help!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.1K Get Help
- 444 Global Discussions
- 142 Industry Talk
- 472 Announcements
- 5K Ideas & Feature Requests
- 83 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 489 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!