Calculation from number in a checkbox column
I'm trying to create a column that would allow some groups to report progress as a percentage and some to simply check a box for 100%.
I've written my formula, but as soon as I enter a number within the checkbox column I receive the #Invalid Operation error.
Any help would be appreciated.
=IF(Progress4 = "True", 1 * Duration4, IF(Progress4 = "False", 0, Progress4 * Duration4))
The desired outcome of row 4 would be 8*25%=200%
Comments
-
Hi Jacob,
At a glance, I would recommend creating another column for the percent value and then add that together with the Progress Checkbox.
Would that work?
Have a fantastic week!
Best,
Andrée Starå
Workflow Consultant @ Get Done Consulting
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.
-
Different work groups would like to use one or the other, not both. I'm trying to reduce columns (especially visible columns) and reduce confusion. If it is not possible, I will have to think of something else.
Are you saying this isn't possible from within 1 column?
-
Because the numbers are being manually entered along with the percent sign in the checkbox column, it is reading as text. You would need to remove the % and convert the numbers from text to actual numbers.
Try something like this...
=IF(Progress4 = "True", 1 * Duration4, IF(Progress4 = "False", 0, VALUE(SUBSTITUTE(Progress4, "%", "")) * Duration4))
-
Thanks Paul. You have to divide by 100, (depending on the data format in your column) but the formula works!
-
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 423 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!