Perhaps try replacing $B9 in the formula with $B9 & "-" & $C9, which would concatenate the account and department, and put a dash between them. The ampersand character in formulas is used to connect multiple text strings. Thus your formula would look like:
=ADDRONLY("GLDATA.OPEN",$B9&"-"&$C9)
_________________________
Regards,
Softrak Tech Support