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
- 62.9K Get Help
- 379 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 302 Events
- 33 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!