you will have to use grouping on the employee and then you can use Running Totals or shared variables to display in the group footer.
Or you can use another formula method to get the dates into the group header. This is closer to your attempted process. To do that you would create the formuals as you were and then use Maximum group value of each formula that you want to check for.
CPR as an exmple:
//CPRdate
If {Cert_Table.Type} = "CPR" then {Cert_Table.Date}
//CPRMaxdate
Edited by DBlank - 17 Nov 2011 at 9:46am