Special IF Formula for Stars
I have two columns:
- [Infrastructure Project] is a checkbox
- [Product Priority] is stars (0 - 5)
If [Infrastructure Project]@row is checked, I would like [Product Priority]@row to be 5 stars. If it's not checked, I would like manual entry for the stars.
This would be simple if [Product Priority] were empty, but I already have it filled out. Is there a way to make the "if not" portion of the formula be "do nothing" (i.e. leave the current star rating)? Please let me know.
Comments
-
I think you'd have to do it in 2 steps because once you copy the formula down, it would overwrite your existing stars unless someone knows a trick.
You could try this if this will work for you. Add an adjacent column, you could use a formula like this:
=IF([Infrastructure Project]@row = 1, "Five", IF([Product Priority]@row > "empty", [Product Priority]@row, ""))
It'll first run a check to see if your one column is checked and input 5 stars. If its not checked, but greater than "empty", it'll fill in current result, if not, it'll leave it blank.
-
One caveat to this process might be if your users are using a report to set the number of stars manually. Columns that contain a formula are not editable in reports.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.9K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 458 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!