Multi criteria sumifs

xcelnovice

Board Regular
Joined
Dec 31, 2011
Messages
81
I need to match 2 criteria acct# is one the date is the other. However id like for the date to be able to sum all the data in the cells that are a date prior to the reference date. Ex. I have sheet 1 with Jan-Dec in K4-V4 and data below. I have a reference date in sheet 2 3/31/16. I'd like to sum all the data up to what that date is. I tried this...
Sumifs with "<=" & (my cell with the ref date) along with the other criteria but couldn't figure it out? Any insight...sorry couldn't post sample bc I'm on my phone
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
#SUMIFS('Target Est'!K4:U4,'Target Est'!$B$4:$B$2035,BvA!B4,'Target Est'!K2:V2,"<="&BvA!$H$2)


Here was my attempt...K4-U4 is where the data lives id like to sum
B4-B2035 are unque identifiers, B4 is the reference point to compare
K2-V2 is my date reference range & then id like less than the date in H2

does this clarify?
 
Upvote 0
Thank you this was helpful...so I can get it to pull a single month using index match. Any way to add a sum to an index match?
 
Upvote 0
Thank you this was helpful...so I can get it to pull a single month using index match. Any way to add a sum to an index match?

Can't really answer your question without some sample data and your current formula. Please post.
 
Upvote 0

Forum statistics

Threads
1,223,723
Messages
6,174,123
Members
452,546
Latest member
Rafafa

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