What you provided is not so complex that it could not be done, if you add more Boolean rules then the formula can get rather large, but it's still possible. This code will work for what you described above so far. It assumes column B is the division, C is the department, and D is the Account; I'm assuming row 2 is the first check and I assume A2 is where this formula would go:
because the code above is a bit complex, I'll break it down into the 3 key sections below, but COPY the code above, this code below won't work if you try to paste it for use:
IF( AND( B2<>0, OR(C2=0, AND( C2>=500, C2<=599 )), AND( D2>=60000, D2<=69999 )),"Absorption",
IF( AND( AND( C2>=700, C2<=799 ), AND( D2>=60000, D2<>64600, D2<>64625, D2<=69999 )),"Logistics",
"Other"))
Bookmarks