Available in Sage 50 Premium Accounting and higher.
Settings Window - General > Departments
In this window, you can set up departments in your company, and add, rename, or remove a department. You can also define a department as active or inactive.