Sum value based on multiple criteria

ten1jmj

New Member
Joined
Jan 10, 2019
Messages
7
Thank you for any assistance you can give,

I am trying to sum the revenue for each carrier based on the date and get the average for each carrier per month. I have the following formula which nets me the average per month based on all carriers, but I can't figure out how to obtain the results when a specific carrier is desired.

=IFERROR(SUMIFS(Data!$I$2:$P$1048576,Data!$BO$2:$BV$1048576,">="&"12/01/2018",Data!$BO$2:$BV$1048576,"<="&"12/31/2018")/COUNTIFS(Data!$BO$2:$BV$1048576,">="&"12/01/2018",Data!$BO$2:$BV$1048576,"<="&"12/31/2018",Data!$I$2:$P$1048576,">0"),"")


Name
Carrier
Revenue Week 1
Revenue Week 2
Revenue Week 3
Revenue Week 4
Week 1 Date
Week 2 Date
Week 3 Date
Week 4 Date
Week 5 Date
AA
abc-50
50
90.55
131.1
171.65
12/14/2018
12/21/2018
12/28/2018
1/4/2019
1/11/2019
BB
abc-ml
40
49.99
59.98

12/21/2018
12/28/2018
1/4/2019
1/11/2019
1/18/2019
CC
def
35.5
50


12/28/2018
1/4/2019
1/11/2019
1/18/2019
1/25/2019
DD
adc-ml
88.1



1/4/2019
1/11/2019
1/18/2019
1/25/2019
2/1/2019

<tbody>
</tbody>
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
I'm new to MrExcel so I apologize if I didn't provide enough information in the original post. My goal is to fill in a table similar to the one below as input is added to a master spreadsheet. I've tried adding an additional criteria range and criteria to the formula stated in the original post, in order to specify the "carrier" I need. (I'm wanting to create a similar table for each carrier), but I get a return of #VALUE !.

Again, thank you for providing any assistance possible.

Abc-50

Dec-18
Jan-19
Feb-19
Mar-19
Apr-19
May-19
Jun-19
Jul-19
Aug-19
Sep-19
Oct-19
Nov-19
Dec-19
2019
Average Revenue











































<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,213,538
Messages
6,114,218
Members
448,554
Latest member
Gleisner2

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top