I need a if else formula
I am trying to create a formula that returns 1 if the value in the cell is created, then 1 else it returns that value that was originally in the cell.
=IF([Total Sessions Attended]:[Total Sessions Attended] < 1, "1", [Total Sessions Attended]@row)
[Total Sessions Attended] is the column I am looking at in the formula to see if the value is greater than. I tried to use @ row to return the original value, but that did not work.
Best Answer
-
Hello @mwb , I think your formula should be =IF([Total Sessions Attended]@row < 1, 1, [Total Sessions Attended]@row), if you put the 1 in quotes, it will behave as a string instead of a number, so don't do that.
Answers
-
Hello @mwb , I think your formula should be =IF([Total Sessions Attended]@row < 1, 1, [Total Sessions Attended]@row), if you put the 1 in quotes, it will behave as a string instead of a number, so don't do that.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.8K Get Help
- 406 Global Discussions
- 218 Industry Talk
- 457 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 297 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!