your sample formulas are fine but you cannot get that to display in the header only the footer.
formula 1 in the GH, formula 2 in details and formula 3 in the GF for display
However I have not seen any reason for display of the names, only the count of names which is why you can use a distinct count of the name field in the GH3 to get the count of staff in the group.
If you need to show the names then you can move it all to the footer or you can use a crosstab in the GH or a sub report in the GH
Edited by DBlank - 18 Nov 2014 at 3:28am