willow1985
Well-known Member
- Joined
- Jul 24, 2019
- Messages
- 929
- Office Version
- 365
- Platform
- Windows
I have the below SUMIF formula that works in my spreadsheet that I would like to modify to AVERAGEIFS based on all of the same criteria minus the column to Average.
I tried to sub out SUMIFS with AVERAGEIFS but all I get is a #DIV/0! error. Not sure why I am getting the error. I have also tried specified ranges AA2:AA1000 etc but still get the error.
=SUMIFS('WO Report'!$F:$F,'WO Report'!$M:$M,AG2,'WO Report'!B:B,List!$B$2)+(SUMIFS('WO Report'!$F:$F,'WO Report'!$M:$M,AG2,'WO Report'!Z:Z,List!$B$2))
=AVERAGEIFS('WO Report'!$AA:$AA,'WO Report'!$M:$M,AG2,'WO Report'!B:B,List!$B$2)+(AVERAGEIFS('WO Report'!$AA:$AA,'WO Report'!$M:$M,AG2,'WO Report'!Z:Z,List!$B$2))
Additional info:
COLUMN AA has blanks, zeros and whole numbers in which to look at and average.
Column M is a date and AG is the date match
Column B is a customer name and B2 is the customer name selected by a drop down menu
Column Z:Z just has the word "ALL" to the bottom of the data for when B2 wants to view ALL customers.
Any and all help is appreciated!
Thank you!
Carla
I tried to sub out SUMIFS with AVERAGEIFS but all I get is a #DIV/0! error. Not sure why I am getting the error. I have also tried specified ranges AA2:AA1000 etc but still get the error.
=SUMIFS('WO Report'!$F:$F,'WO Report'!$M:$M,AG2,'WO Report'!B:B,List!$B$2)+(SUMIFS('WO Report'!$F:$F,'WO Report'!$M:$M,AG2,'WO Report'!Z:Z,List!$B$2))
=AVERAGEIFS('WO Report'!$AA:$AA,'WO Report'!$M:$M,AG2,'WO Report'!B:B,List!$B$2)+(AVERAGEIFS('WO Report'!$AA:$AA,'WO Report'!$M:$M,AG2,'WO Report'!Z:Z,List!$B$2))
Additional info:
COLUMN AA has blanks, zeros and whole numbers in which to look at and average.
Column M is a date and AG is the date match
Column B is a customer name and B2 is the customer name selected by a drop down menu
Column Z:Z just has the word "ALL" to the bottom of the data for when B2 wants to view ALL customers.
Any and all help is appreciated!
Thank you!
Carla