You can format subtotals.

Right-click one of the subtotals and select Anaplan XL > Formatting > Format this level.

Alternatively, you can write the line directly to the format sheet using LEVEL:SUBTOTAL as the member.

This formats only the subtotal rows.