Forum Discussion
Using Excel SUMIF with a condition and a Date Range
Hello,
I'm aggregating data that rolls into my spreadsheet every two weeks. I keep the raw data on a secondary tab called "Form Responses." I'm currently using the formula below to parse through the raw data, find inputs that have "Activation" in Column B, and then sum the responses in Column C.
=SUMIF('Form Responses'!$B:$B,"*activation*",'Form Responses'!C:C)
In Column A of the "Form Responses" tab, I have the date that the data was entered. I'm looking for a way to only pull in data from two week date ranges. So, for example, I'd like to pull in only data that satisfies the parameters in the formula above AND that came in between 1-14 days AFTER February 25.
So, ultimately, I need a formula that can:
- Search Column B from the "Form Responses" tab for the word "Activation"
- Sum the total in Column C from the "Form Responses" tab in rows where "Activation" is in Column B
- But only pulls in data between 1-14 days after 2/25
Anyone have any ideas? Thanks in advance!
The formula you need in ResponseSummary!D2 of the attached file is:
=SUMIFS('Form Responses'!C:C,
'Form Responses'!A:A,">="&A2,
'Form Responses'!A:A,"<="&B2,
'Form Responses'!B:B,"*"&C2&"*")
3 Replies
- TwifooSilver Contributor
The formula you need in ResponseSummary!D2 of the attached file is:
=SUMIFS('Form Responses'!C:C,
'Form Responses'!A:A,">="&A2,
'Form Responses'!A:A,"<="&B2,
'Form Responses'!B:B,"*"&C2&"*")