=IF Function Returns Invalid Column Value Error?
Hello, I'm trying to return "True" if the number of days in another column is less than or equal to 5, and "False" if not. The formula I'm using is =IF([Working Days]@row <=5, true, false). It's returning an "Incorrect Column Value" but the column is set to text/number so I'm not sure why that is.
Answers
-
@Ktaylor Trying adding Quotation marks around True and False.
=IF([Working Days]@row <=5, "true", "false")
-
You will need to put quotes around "true" and "false" if you are dropping them into a text/number type column so that they are text strings. Without the quotes they are boolean values (checked vs unchecked) in a non-boolean type column. It is like trying to put a date into a checkbox column.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 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
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!