Sum with multiple dates

igbaria

New Member
Joined
Jul 7, 2011
Messages
8
Hi people. Thanks again for the help.

I'm facing a new problem with a very large sheet. In fact, I want to sum the column "Extension" when a couple of criterias is true, The example:

Place Extension Date1 Date2 Date3 Date4 ............. Date21
A 3,00 12/01/2005 06/15/2005 11/22/2005 04/23/2006 09/14/2021
A 2,00 12/01/2005 06/15/2005 11/22/2005 04/23/2006 09/14/2021
A 3,50 12/01/2005 06/15/2005 11/22/2005 04/23/2006 09/14/2021
B 4,80 12/01/2005 06/15/2005 11/22/2005 04/23/2006 09/14/2021
B 2,50 12/01/2005 06/15/2005 11/22/2005 04/23/2006 09/14/2021
B 3,30 12/01/2005 06/15/2005 11/22/2005 04/23/2006 09/14/2021
C 5,15 12/01/2005 06/15/2005 11/22/2005 04/23/2006 09/14/2021
C 2,75 12/01/2005 06/15/2005 11/22/2005 04/23/2006 09/14/2021
C 2,25 12/01/2005 06/15/2005 11/22/2005 04/23/2006 09/14/2021
.
.
.
.
Z 3,25 12/01/2005 06/15/2005 11/22/2005 04/23/2006 09/14/2021
Z 2,50 12/01/2005 06/15/2005 11/22/2005 04/23/2006 09/14/2021
Z 4,55 12/01/2005 06/15/2005 11/22/2005 04/23/2006 09/14/2021


And, I want this results:

Place 2005 2006 2007 2008 2009 2010............2021
A Sum Ext Sum Ext Sum Ext Sum Ext......................................Sum Ext
B .............................................................................................................
C .................................................................................................Sum ext
.
.
.
Z Sum Ext Sum Ext ................................................................... Sum Ext


Can any one help me to solve this?

Thanks
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
=SUM(IF((A1:A10=1)*(B1:B10=2)*(C1:C10=3),D1:D10,0)) 'Suppose D1:D10 is what you want to be summed.

Whereas 1 = 1st Criteria, 2 = 2nd Criteria, 3= 3rd Criteria

And Press Ctrl+Shift+Enter not just Enter.
 
Upvote 0
Row\Col
A​
B​
C​
D​
E​
H​
I​
J​
1​
PlaceExtensionDate1Date2Date3Place
2005​
2006​
2​
A
3​
12/1/2005​
6/15/2005​
11/22/2005​
A
25.5​
0​
3​
A
2​
12/1/2005​
6/15/2005​
11/22/2005​
B
28.5​
0​
4​
A
3.5​
12/1/2005​
6/15/2005​
11/22/2005​
5​
B
4.8​
12/1/2005​
6/15/2005​
11/22/2005​
6​
B
2.5​
12/1/2005​
6/15/2005​
11/22/2005​
7​
B
3.3​
12/1/2005​
6/15/2005​

In I2 control+shift+enter, not just enter, copy across, and down:

<strike></strike>=SUM(IF($A$2:$A$7=$H2,IF(YEAR($C$2:$E$7)=I$1,$B$2:$B$7)))
 
Upvote 0

Forum statistics

Threads
1,216,216
Messages
6,129,566
Members
449,517
Latest member
Lsmich

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