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
 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
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!