How do I create the formula I need? Dummy version
I used the formula =sum(qty1 * cost1) to get my total cost. I copied that formula down my total cost column and have a bunch of blank rows showing $0.00. How do I adjust my formula to leave empty rows blank?
Answers
-
Try the following, which looks to see if Quantity is either blank or equal to 0, if so, then the result will be blank, otherwise it will multiple the valid quantity entry by it's unit cost.
=IF(OR(ISBLANK(Qty1), (Qty1 = 0)), "", (Qty1 * Cost1))
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
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!