Hello!
I'm having some trouble getting a simple Sumproduct function to work. Maybe there's a better function to tackle my problem?
I'm creating a financial planner for an organization, and I need to be able to display all previous costs (spanning over multiple months and years), excluding the current month.
Currently I have =SUMPRODUCT((J10:J12<>RefYear)*(J10:J12=RefYear&K10:K12<>RefMonth)*L10:L12), where the J column is my years, K is months, and L is the costs. Also, I just wrote in the Refs where my reference cells usually are for the current month and year.
Basically, I want the sum of all costs, excluding the month for the current year.
Help? I also may not be using the ampersand correctly, but I'm not sure how to create one array that fits two criteria.
Bookmarks