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
- 68K Get Help
- 474 Global Discussions
- 209 Use Cases
- 517 Announcements
- 5.6K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 85 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!