I have an excel report that shows account numbers and a subtotal for the department. Each department has the same account number, so the detail looks like this:
Account 0001
Account 0002
Account 0003
Department 1234 subtotal
Account 0001
Account 0002
Account 0003
Department 5678 subtotal
I am trying to use a formula to pull the amount for account 0002 for department 5678, but I am not sure how to do this without doing a 'sumif' and picking up all account 0002 instances, or by manually adding the department number to the account number so that I have a unique identifier. there are 60k rows of data, so combining the account number and department number would be time consuming. Is there an easier formula that would pull the balance for account 0002 in department 5678 on a monthly basis, when there may be accounts or departments added so the rows change?
Bookmarks