Sum of values INCLUDING Start & End Dates

hsandeep

Well-known Member
Joined
Dec 6, 2008
Messages
959
Office Version
  1. 2007
Platform
  1. Windows
B2:B9999=Date & C2:C9999=Values
E2:E9999=Start Date & F2:F9999=End Date
Output required G2:G9999 as total of C column INCLUDING Start Date’s Value & End Date’s Value.

How to accomplish?
I am using Excel 2007.
Thanks in advance.

Sheet1

BCDEFG
21-Jan-201610 1-Feb-201629-Feb-2016110
311-Jan-201620 1-Jan-201614-Feb-2016130
425-Jan-201650
51-Feb-201620
614-Feb-201630
729-Feb-201660

<colgroup><col style="FONT-WEIGHT: bold; WIDTH: 30px"><col style="WIDTH: 82px"><col style="WIDTH: 64px"><col style="WIDTH: 64px"><col style="WIDTH: 77px"><col style="WIDTH: 82px"><col style="WIDTH: 78px"></colgroup><tbody>
</tbody>
 

Some videos you may like

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.

Weazel

Well-known Member
Joined
Dec 24, 2011
Messages
3,155
maybe something like...

G2=SUMIFS($C$2:$C$9999,$B$2:$B$9999,">="&E2,$B$2:$B$9999,"<="&F2)

Row\Col
B​
C​
D​
E​
F​
G​
1​
BCDEFG
2​
1-Jan-16
10
1-Feb-16
29-Feb-16
110​
3​
11-Jan-16
20
1-Jan-16
14-Feb-16
130​
4​
25-Jan-16
50
5​
1-Feb-16
20
6​
14-Feb-16
30
7​
29-Feb-16
60

<tbody>
</tbody>
 

Watch MrExcel Video

Forum statistics

Threads
1,122,961
Messages
5,599,061
Members
414,281
Latest member
Engjamal2021

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
Top