Hello,
I hope someone can help as i have been back and forth on this.
Basically, i want to extract an average based on the region and month from a data set, to work out average debtor days.
I have set up a spreadsheet whereby if i change the month in a certain cell, it automatically brings back the data i need for that month based on sumif formulas. However, in order to set up a debtor day target, i have to leave the sumifs function behind and set up an averageifs formula.
I have entered the month in the cell as 'Jan'
I have entered the following formula....which works
=AVERAGEIFS('Debtors Target'!CS:CS,'Debtors Target'!$B:$B,Data!$D:$D,'Debtors Target'!$CA:$CA,"Jan")
Immediately this brings back, the average value, based on the region in that spreadsheet, based on the month of Jan. I now need to add to this equation and include the data based on Feb, Mar, Apr etc.
I have tried doing the following:
=AVERAGEIFS('Debtors Target'!CS:CS,'Debtors Target'!$B:$B,Data!$D:$D,'Debtors Target'!$CA:$CA,"Jan")+AVERAGEIFS('Debtors Target'!CT:CT,'Debtors Target'!$B:$B,Data!$D:$D,'Debtors Target'!$CA:$CA,"Feb")+AVERAGEIFS('Debtors Target'!CU:CU,'Debtors Target'!$B:$B,Data!$D:$D,'Debtors Target'!$CA:$CA,"Mar") etc etc, keep adding the same formula.
The above doesnt work and comes back with div/0.
All of my sumifs calculations are based on the above logic and work well. I want the same logic to apply with the averageifs function, so that when i enter the month in the 'cell', it automatically brings back average debtor days for that region for that month. How can i add averageifs together?
I would very much appreciate if anyone can help with the above
Thanks
Bookmarks