I think I am doing something wrong...I keep getting a runtime error that says subscript out of range.

I've tinkered around with it, but obviously I'm not smart enough to figure it out. I cut and pasted your formula straight from the site, so I know I didn't type it in wrong.

Any ideas?

Thanks for the continued help!