You are here:

Excel/Date sensitive Excell formulas


I have a spreadsheet that I want to populate with planned data for an entire month, then in a month to date column I want to sum the data as the month progresses. Is there a way to create a formulas to sum the daily columns, but only show the amount through the current date without having to amend the formula daily?

The SUMIF formula allows you to sum the data in one column based on a single "test" in an adjacent column.  

To sum the values in column B that have "Bob" in column A:

   =SUMIF(A:A, "Bob", B:B)

To sum the values in columm B that have a date in column A less than or equal to today:

   =SUMIF(A:A, "<=" & TODAY(), B:B)

If the limiting date were in a cell, perhaps D1:

   =SUMIF(A:A, "<=" & D1, B:B)

To collect the date between two dates, perhaps start date in D1 and end date in E1, you would need to switch to SUMIFS() function:

   =SUMIFS(B:B, A:A, "<=" & D1, A:A, ">=" & E1)
About Excel
This topic answers questions related to Microsoft Excel spreadsheet (or workbook) stand-alone or Mircrosoft Office Excel including Excel 2003, Excel 2007, Office 2000, and Office XP. You can get Excel help on Excel formulas(or functions), Excell macros, charting in Excel, advanced features, and the general use of Excel. This does not provide a general Excel tutorial nor the basics of using a spreadsheet. It provides specific answers to using Microsoft Excel only. If you do not see your Excel question answered in this area then please ask an Excel question here


All Answers

Answers by Expert:

Ask Experts


Jerry Beaucaire


Excel Formulas, macros, automation. Microsoft Excel MVP - 2010. Code site with free code snippets and techniques:


Microsoft Excel MVP - 2010. I have my own extensive Excel help/code site: ===================== I have been offering free assistance as an Excel aid on many web sites for many years: ( - JBeaucaire) ======== ( - JBeaucaire) ======= ( - jbeaucaire)

Bachelor's Degree from Azusa Pacific University in Mathematics and Music Composition

Awards and Honors
Microsoft Excel MVP 2010

©2016 All rights reserved.