Jack Hayes said:Since you're using specific text strings for all the columns—like "N/A" for things that don't need testing, "undefined date" for things that still need to be taken, and then just the date once they pass—you can actually just write a formula that looks specifically for those fixed labels and ignores the actual dates. Here’s how you do it:
Code:=((10-COUNTIF(B2:K2;"N/A"))-COUNTIF(B2:K2; "undefined date"))/(10-COUNTIF(B2:K2;"N/A"))
Personally, I’d swap out "undefined date" for something a bit shorter, maybe just an "x" or a dash. It keeps the spreadsheet looking much cleaner and less cluttered.
Basically, this formula takes the total number of tests required (which is 10), subtracts the ones that were failed, which gives you the number of passed tests, and then divides that by the total number of tests that actually had to be completed. Just make sure you set the column format to Percentage.
🙏🙏
👋
🎉
🙂
🙂 👏
🙂 🙂
Thanks so much, Jack Hayes and Kyle Johnson2!! Drinks are on me next time we're out!
Works like a charm!!
Kyle Johnson2, that's not an error, "N/A" just stands for "not applicable."
But thanks anyway!
I really hope you land a great job soon, you definitely deserve it! Fingers crossed for you! 👍