I need a formula which says sum the amount column on the all sheet when 2 criteria are met:
The first criteria is sum for the correct time period. To accomplish this I created a period code. To ensure unique values in the period code I multiplied the period number by the year.
The second criteria is sum revenue and expenses separately. Revenue accounts are all less than or equal to 49999. Expenses are greater than or equal to 50000.
I've attached an example
The first criteria is sum for the correct time period. To accomplish this I created a period code. To ensure unique values in the period code I multiplied the period number by the year.
The second criteria is sum revenue and expenses separately. Revenue accounts are all less than or equal to 49999. Expenses are greater than or equal to 50000.
I've attached an example