# Using sumifs to tally up certain date ranges

Hi All. I'm working to understand the more complex formulas of smartsheet but have been stumped. I'm looking to sum the work area total amount of a task based on the start and finish dates on the Gantt chart. I want to see what we will bill per month. The Gantt has each work area with dates and work area pricing totals. I just want to see based on my start dates what I have scheduled what we can expect to bill for all tasks that start in a certain month.

basically- what is the sum of the work areas of all the tasks that start in a certain month

Any help would be much appreciated. I attached a snip of a portion of my Gantt chart showing the column names.

Thank you!

• You are going to want to use something like this (assuming separate metrics sheet):

=SUMIFS({Work Areas Column}, {Start Date Column}, AND(IFERROR(MONTH(@cell), 0) = 5, IFERROR(YEAR(@cell), 0) = 2022))

The above will sum the work areas column where the start date falls in the month of May 2022.

thinkspi.com