• 513K Members
• 2,358 Online
• 611K Conversations
SOLVED

New Contributor

# 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!

3 Replies
Solution

# Re: Using Excel SUMIF with a condition and a Date Range

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&"*")

Highlighted

# Re: Using Excel SUMIF with a condition and a Date Range

Thank you! This worked perfectly! Really appreciate your help!

# Re: Using Excel SUMIF with a condition and a Date Range

You’re welcome.
Related Conversations
SumIf multiple columns
Gemma Telfer in Excel on
3 Replies
SUMIF Formula populating wrong data
D M in Excel on
7 Replies
Help with Cash-flow schedule
yossivan in Excel on
3 Replies
Help with a sumif formula
Gemma Telfer in Excel on
3 Replies