Thank you very much.
It works. Can you explain use of "MID" within SUMPRODUCT or be kind enough to evaluate the formula?