how do I return a blank cell if source is empty
lux
✭✭
I have the formula: =([projected cost]@row - [Fedex Charged]@row) / MAX([projected cost]@row:[Fedex Charged]@row)
I can not wrap my head around having the formula return a blank answer and leaving the cell empty if one of the source cells are empty. Not quite understanding how to use either COUNTIF and/or the ISBLANK function.
Answers
-
Try this:
=IF(OR(ISBLANK([projected cost]@row), ISBLANK([Fedex Charged]@row)), "", ([projected cost]@row - [Fedex Charged]@row) / MAX([projected cost]@row:[Fedex Charged]@row) )
-
Thanks Sameer. I got it to work with: =IF(ISBLANK([projected cost]@row), "", IF(ISBLANK([Actual Fedex Charge]@row), "", ([projected cost]@row - [Actual Fedex Charge]@row) / MAX([projected cost]@row:[Actual Fedex Charge]@row)))
but I like your solution better. Less typing.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 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!