Average If Not Blank
Smartsheet Community:
My Results are Still 0 when they Should Be Blank. I am Not Sure what I am doing wrong with This Formula.
Current Formula:
=AVERAGEIF(SPI@row:CPI@row, <>"", SPI@row:CPI@row)
Desired Results:
If SPI & CPI are Not Blank Provide an Average. If They are Blank Then The Results Should Be Blank / Empty.
Thanks
Best Answer
-
@Kaleb Try this:
=IF(AVERAGEIF(SPI@row:CPI@row, <>"", SPI@row:CPI@row) = 0, "", AVERAGEIF(SPI@row:CPI@row, <>"", SPI@row:CPI@row))
Regards,
Jeff Reisman
Link: Smartsheet Functions Help Pages Link: Smartsheet Formula Error Messages
If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!
Answers
-
@Kaleb Try this:
=IF(AVERAGEIF(SPI@row:CPI@row, <>"", SPI@row:CPI@row) = 0, "", AVERAGEIF(SPI@row:CPI@row, <>"", SPI@row:CPI@row))
Regards,
Jeff Reisman
Link: Smartsheet Functions Help Pages Link: Smartsheet Formula Error Messages
If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!
-
Excellent, Thanks @Jeff Reisman
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 437 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!