Ah that helps.
Modify the formula on the Details section to:
whileprintingrecords;
numbervar pen;
numbervar gh1_sub;
if {prhpost.postcode} = '001' then
pen := pen + {prhpost.amount};
gh1_sub := gh1_sub + pen;
pen;
Create a formula with this code and place it on the Group Footer 1 to display the total:
whileprintingrecords;
numbervar gh1_sub;
Create a reset formula with this code and place this on the Group Header 1:
whileprintingrecords;
numbervar gh1_sub := 0;
-Abhilash