IF either of the two cells are blank
otavilog
✭✭✭✭
I am trying to write a formula if either of the two cells are blank return result blank or subtract the numbers.
This what I tried and getting an error:
=IF(OR(ISBLANK([ABC]@row, ISBLANK([BCD]@row))), [ABC]@row - [BCD]@row, "")
Best Answer
-
There was a slight mistake in your syntax.
See below corrected:
=IF(OR(ISBLANK([ABC]@row), ISBLANK([BCD]@row)), "",[ABC]@row - [BCD]@row)
Answers
-
There was a slight mistake in your syntax.
See below corrected:
=IF(OR(ISBLANK([ABC]@row), ISBLANK([BCD]@row)), "",[ABC]@row - [BCD]@row)
-
@Leibel Shuchat Thank you so much. I can't believe I missed that syntax. So close...
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.4K Get Help
- 424 Global Discussions
- 221 Industry Talk
- 462 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 144 Just for fun
- 59 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 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!