I expect you've seen this before
it's that old "purity" spread sheet

What I was wondering is: where is the code in it?

I'm sure I can't find it!