How about just a formula?

=average(abs(a1:a10-b1:b10))

It MUST be confirmed with Ctrl+Shift+Enter instead of just Enter.