How do I get a formula calculating Total Salary to come back blank if = 0?
C3PO
✭✭
I have a "Total Salary" column that calculates the "Total Salary" using "Base Salary", "Commission", and "Bonus %" (see below). But sometimes the form I'm using doesn't need to capture base, commission, and bonus. So, my formula returns "0". I'd rather have it remain blank.
What do I need to add to the formula below?
=([Base Salary]@row + Commission@row + ([Base Salary]@row * [Bonus %]@row))
Thank You
Best Answer
-
Try this:
=IF(([Base Salary]@row + Commission@row + ([Base Salary]@row * [Bonus %]@row))=0, "", ([Base Salary]@row + Commission@row + ([Base Salary]@row * [Bonus %]@row))
Answers
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 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!