Thank you very much for your quick response and for this

-
With regard to your comments re N6 and N28 you are correct.
I will see if I can adapt the formula to take into account more departments and more sections - so I may come back if I get stuck.
Once again many thanks for your quick response and for the fomula

.
E