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
- Smartsheet Customer Resources
- 64.4K Get Help
- 424 Global Discussions
- 221 Industry Talk
- 463 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
Check out the Formula Handbook template!