merge successive working group cells when they have the same value