Chen and Cheng (Ann. Statist. 27 (1999) 1948) got the relationships between a blocked symmetrical factorial design and its residual design. In this paper, we extend the study to the case of blocked mixed-level factorial designs. By introducing a concept of blocked consulting design and using MacWilliams identities and Krawtchouk polynomials in coding theory, we obtain combinatorial identities that govern the relationships between the partitioned wordlength patterns of a blocked regular mixed factorial design and that of its blocked consulting design. Based on these identities, we furthermore establish some general rules for identifying minimum aberration blocked mixed factorial designs in terms of their blocked consulting designs. As applic...