How to apply sheet summary calculations while excluding error values?
Hello,
I'm trying to create On Time Delivery (OTD) metrics using sheet summaries. These work well on the test sheet, even with blanks and missing components, yet when applied to live project sheets the returned values contain #invalid data type for any blank entries or those with a missing component which ultimately blocks the sheet summary calculations.
I've tried to research solutions using CONTAINS, ISDATE, IFERROR but can't find the right application or where to place them.
OTD % formula:
=COUNTIF([Final Variance]:[Final Variance], >=0) / (COUNT([Final Variance]:[Final Variance]))
I don't know how to prevent/exclude cells that return #invalid data type so my sheet summary report consists of the correct % for the test sheet, then a bunch of #invalid data types below that
The final variance formula itself is below but might in fact be the root problem needing some attention:
=DATEONLY([Final delivery]@row) - ([FE: final files delivered]@row)
Thank you in advance for this specific issue and I'm open to any other methods on OTD calculation across hundreds of sheets!
Best Answers
-
Hi @C. Powell
You could wrap an IFERROR statement around your OTD% formula to return a blank cell if there's an error:
=IFERROR(COUNTIF([Final Variance]:[Final Variance], >=0) / (COUNT([Final Variance]:[Final Variance])), "")
Or actually, you could wrap this same function around your Final Variance formula which should then resolve the issue with the other formula:
=IFERROR(DATEONLY([Final delivery]@row) - ([FE: final files delivered]@row), "")
Let me know if this works!
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
Hi Genevieve,
Both worked, thank you!
Answers
-
Hi @C. Powell
You could wrap an IFERROR statement around your OTD% formula to return a blank cell if there's an error:
=IFERROR(COUNTIF([Final Variance]:[Final Variance], >=0) / (COUNT([Final Variance]:[Final Variance])), "")
Or actually, you could wrap this same function around your Final Variance formula which should then resolve the issue with the other formula:
=IFERROR(DATEONLY([Final delivery]@row) - ([FE: final files delivered]@row), "")
Let me know if this works!
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
Hi Genevieve,
Both worked, thank you!
-
Wonderful!! Glad to hear it 🙂
You were right to point out the root cause/formula ... it all trickles through from there haha.
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 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!