You can perform an ANOVA of any block design by using Boolean variables. As example considers 3 treatments organized in three blocks and Yi is the response of i experiment,
Xi1={1 if Yi was obtained from trat 1; 0 otherwise}
Xi2={1 if Yi was obtained from trat 2; 0 otherwise}
Zi1={1 if Yi was obtained from block 1; 0 otherwise}
Zi2={1 if Yi was obtained from block 2; 0 otherwise}
The model is,
Yi=b0+b1Xi1+b2Xi2+b3Zi1+b4Zi2
The hypothesis planted over b1, b2 b3 and b4 are the ANOVA.
You can generalize for more complex block design (I can recommend to you a model if you are more specific with your design).