Both are fine and lead to the same conclusion. With in , the Accounts Department is considered by the speaker a place; with for , the speaker considers the Accounts Department an employer.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.