Combining If Error formula with my existing formula.

Cody_Gomez32
✭✭✭
I currently have a margin formula calculating my profit margin. This formula looks like this =(Description5 - Description7) / Description5
When the sale price and landed cost are zero. I want my margin calculation to show 0% instead of #Divide By Zero.
I know I need to use If Error formula but I ma not sure how this needs to be combined with my current formula.
Best Answer
-
Hello Cody,
Should be as simple as this:
=IFERROR((Description5 - Description7) / Description5),0)
Answers
-
Hello Cody,
Should be as simple as this:
=IFERROR((Description5 - Description7) / Description5),0)
-
Thank you for your reply. That worked how I needed it to.
-
Good to hear!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66K Get Help
- 429 Global Discussions
- 149 Industry Talk
- 488 Announcements
- 5.2K Ideas & Feature Requests
- 85 Brandfolder
- 152 Just for fun
- 74 Community Job Board
- 499 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 305 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!