Try this...

Enter this formula in C2:

=MOD(B2-A2,1)

Format as h:mm

Copy down as needed.

Your average formula is now working. Format that cell as h:mm.