Index Match folmula within a certain date range

mrmerp

New Member
Joined
Jun 17, 2019
Messages
2
Hello!

Could someone help me with changing the SUMIFS formula to IndexMatch that would be able to sum a value within a certain time frame?
I started making the SUMIFS, but found out that once the separate file closes the formula goes haywire. I'm trying to remake the formula to Index Match formula since it would be able to pull the data without needing the data file open.
But I'm having a problem with the formula to pull the date range.
Please see below for reference.

Thanks in advance!
mrmerp

ABCDEFGHIJKLMNOP
1Date4/30/2019SUMIFS(E6:P6,E5:P5,"<="&EOMONTH(B1,0),E5:P5,">="&EOMONTH(B1,-3)+1)
22/28/2019Total306
3
4Date1/31/20192/28/20193/31/20194/30/20195/31/20196/30/20197/31/20198/31/20199/30/201910/31/201911/30/201912/31/2019
5Revenue100101102103104105106107108109110111
INDEX(D5:P6,MATCH(D6,D5:D6,0),MATCH(B3&B2,(D5:P5>=C3)*(D5:P5<=C2),0))
Total#N/A

<tbody>
</tbody>
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Try SUMPRODUCT.
Excel Workbook
ABCDEFGHIJKLMNOP
1Date4/30/2019
22/28/2019
3
4306
5Date1/31/20192/28/20193/31/20194/30/20195/31/20196/30/20197/31/20198/31/20199/30/201910/31/201911/30/201912/31/2019
6Revenue100101102103104105106107108109110111
Sheet
 
Upvote 0
You're welcome. Thanks for the feedback and welcome to the forum.
 
Upvote 0

Forum statistics

Threads
1,215,250
Messages
6,123,887
Members
449,130
Latest member
lolasmith

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