Subtracting two cells and getting Invalid Operation error
Good day,
I am struggling with a formula that keeps giving me an Invalid Operation error.
Am I doing something wrong?
Regards
M
Michelle Basson
Smartsheet Overachiever Alumni | Solution Architect | Lover of everything Smartsheet
https://www.linkedin.com/in/michelle-basson/
CERTIFIED SMARTSHEET PLATINUM PARTNER
www.projectplanservices.co.uk
Answers
-
Hi @Michelle B
How are the values for the two columns added to the sheet?
I hope that helps!
Be safe and have a fantastic week!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅Did my post(s) help or answer your question or solve your problem? Please help the Community by marking it as the accepted answer/helpful. It will make it easier for others to find a solution or help to answer!
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.
-
Hi Andre,
Apologies for the delayed response.
The values for the 2 columns are generated by formula.
Total Stock Non-Serialized formula
Total Non-SN Stock assigned to warehouse formula
The Total non-Serialized stock on hand is then just a standard deduction (picture as in original post)
What am I doing wrong?
Regards
Michelle
Michelle Basson
Smartsheet Overachiever Alumni | Solution Architect | Lover of everything Smartsheet
https://www.linkedin.com/in/michelle-basson/
CERTIFIED SMARTSHEET PLATINUM PARTNER
www.projectplanservices.co.uk -
Hi @Michelle B
You're working on text cells, so obviously, you cannot substact.
Do that instead in your formula:
=IFERROR(VALUE([Total Stock Non-Serialized]@row)-VALUE([Total Non-SN Stock assigned to warehouse),"")
The IFERROR is here in case one of your formula returns an error. But otherwise, you're good to go.
One tip on smartsheet:
If Smartsheet sees a number, it is displayed on the right part of the cell. Otherwise, it's in the middle of the cell. So if there's a "2" in the middle of the cell, Smartsheet sees that as a character, not a number. And thus cannot do any math on it.
So, as a whole, try to always use VALUE([Cell]) when doing maths. just in case :)
-
No worries!
I saw that David answered already!
Let me know if I can help with anything else!
Best,
Andrée
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.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 141 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!