Pull in sum values for a specific date range

ngann

New Member
Joined
Jan 18, 2018
Messages
21
i’m trying to pull in all values in a specified date range. The data is on a separate tab and delineated by discrete dates. I need to sum all the dollars in a specific range. Please let me know if you have any ideas. Thanksb
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
[TABLE="width: 310"]
<colgroup><col width="68" style="width: 51pt;" span="2"> <col width="69" style="width: 52pt; mso-width-source: userset; mso-width-alt: 2355;" span="4"> <tbody>[TR]
[TD="width: 68, bgcolor: black"] [/TD]
[TD="width: 68, bgcolor: transparent, align: right"]1/1/2019[/TD]
[TD="width: 69, bgcolor: transparent, align: right"]1/10/2019[/TD]
[TD="width: 69, bgcolor: transparent, align: right"]1/20/2019[/TD]
[TD="width: 69, bgcolor: transparent, align: right"]2/25/2019[/TD]
[TD="width: 69, bgcolor: transparent, align: right"]3/12/2019[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent, align: right"]1[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="bgcolor: transparent, align: right"]2[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="bgcolor: transparent, align: right"]3[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="bgcolor: transparent, align: right"]4[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"]
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent, align: right"]5[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"]
[/TD]
[/TR]
</tbody>[/TABLE]

[TABLE="width: 154"]
<colgroup><col width="68" style="width: 51pt;"> <col width="69" style="width: 52pt; mso-width-source: userset; mso-width-alt: 2355;"> <col width="68" style="width: 51pt;"> <tbody>[TR]
[TD="width: 68, bgcolor: transparent"]Index[/TD]
[TD="width: 69, bgcolor: transparent"]Date[/TD]
[TD="width: 68, bgcolor: transparent"]$[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent, align: right"]1[/TD]
[TD="bgcolor: transparent, align: right"]1/1/2019[/TD]
[TD="bgcolor: transparent"] $ 5.00 [/TD]
[/TR]
[TR]
[TD="bgcolor: transparent, align: right"]1[/TD]
[TD="bgcolor: transparent, align: right"]3/14/2019[/TD]
[TD="bgcolor: transparent"] $ 10.00 [/TD]
[/TR]
[TR]
[TD="bgcolor: transparent, align: right"]1[/TD]
[TD="bgcolor: transparent, align: right"]2/17/2019[/TD]
[TD="bgcolor: transparent"] $ 7.00 [/TD]
[/TR]
[TR]
[TD="bgcolor: transparent, align: right"]1[/TD]
[TD="bgcolor: transparent, align: right"]2/2/2019[/TD]
[TD="bgcolor: transparent"] $ 20.00 [/TD]
[/TR]
[TR]
[TD="bgcolor: transparent, align: right"]2[/TD]
[TD="bgcolor: transparent, align: right"]1/1/2019[/TD]
[TD="bgcolor: transparent"] $ 34.00 [/TD]
[/TR]
[TR]
[TD="bgcolor: transparent, align: right"]2[/TD]
[TD="bgcolor: transparent, align: right"]3/14/2019[/TD]
[TD="bgcolor: transparent"] $ 5.00 [/TD]
[/TR]
[TR]
[TD="bgcolor: transparent, align: right"]2[/TD]
[TD="bgcolor: transparent, align: right"]2/17/2019[/TD]
[TD="bgcolor: transparent"] $ 9.00 [/TD]
[/TR]
[TR]
[TD="bgcolor: transparent, align: right"]2[/TD]
[TD="bgcolor: transparent, align: right"]2/2/2019[/TD]
[TD="bgcolor: transparent"] $ 17.00 [/TD]
[/TR]
[TR]
[TD="bgcolor: transparent, align: right"]3[/TD]
[TD="bgcolor: transparent, align: right"]1/1/2019[/TD]
[TD="bgcolor: transparent"] $ 22.00 [/TD]
[/TR]
[TR]
[TD="bgcolor: transparent, align: right"]3[/TD]
[TD="bgcolor: transparent, align: right"]3/14/2019[/TD]
[TD="bgcolor: transparent"] $ 41.00 [/TD]
[/TR]
[TR]
[TD="bgcolor: transparent, align: right"]5[/TD]
[TD="bgcolor: transparent, align: right"]2/17/2019[/TD]
[TD="bgcolor: transparent"] $ 58.00 [/TD]
[/TR]
[TR]
[TD="bgcolor: transparent, align: right"]5[/TD]
[TD="bgcolor: transparent, align: right"]2/2/2019[/TD]
[TD="bgcolor: transparent"] $ 2.00 [/TD]
[/TR]
[TR]
[TD="bgcolor: transparent, align: right"]4[/TD]
[TD="bgcolor: transparent, align: right"]3/31/2019[/TD]
[TD="bgcolor: transparent"] $ 18.00 [/TD]
[/TR]
[TR]
[TD="bgcolor: transparent, align: right"]4[/TD]
[TD="bgcolor: transparent, align: right"]2/27/2019[/TD]
[TD="bgcolor: transparent"] $ 9.00
[/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0
Above is a mockup of the two sheets I will be using. Each of these tables are on separate tabs. I am trying to have excel sum the $'s if the index matches and the dates are equal to or less than the date called out in row 1 on the first table.
 
Upvote 0
How about


Excel 2013/2016
ABCDEF
101/01/201910/01/201920/01/201925/02/201912/03/2019
215553232
323434346060
432222222222
5400009
650006060
Sheet2
Cell Formulas
RangeFormula
B2=SUMIFS(Sheet1!$C$2:$C$15,Sheet1!$A$2:$A$15,$A2,Sheet1!$B$2:$B$15,"<="&B$1)



Excel 2013/2016
ABC
1IndexDate$
2101/01/2019$ 5.00
3114/03/2019$10.00
4117/02/2019$ 7.00
5102/02/2019$20.00
6201/01/2019$34.00
7214/03/2019$ 5.00
8217/02/2019$ 9.00
9202/02/2019$17.00
10301/01/2019$22.00
11314/03/2019$41.00
12517/02/2019$58.00
13502/02/2019$ 2.00
14431/03/2019$18.00
15427/02/2019$ 9.00
Sheet1
 
Upvote 0

Forum statistics

Threads
1,223,894
Messages
6,175,252
Members
452,623
Latest member
Techenthusiast

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