A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Place the cell reference outside the quotes and concatenate it with "<". Use
=SUMIF(B5:B15,"<"&B2,C5:C15)
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
In Excel, how can I use the SUMIFS function to sum values that occur prior to a certain date. For example, with dates in b5:b15, a cutoff date in b2, and the amounts I want to sum in c5:c15, I can use =SUMIF(b5:b15,b2,c5:c15) to sum amounts that occur on the date specified in b2. But how to sum for all dates occurring before the cutoff date? =SUMIF(b5:b15,"<b2",c5:b15) does not work.
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Answer accepted by question author
Place the cell reference outside the quotes and concatenate it with "<". Use
=SUMIF(B5:B15,"<"&B2,C5:C15)
Perfect! Thank you very much!