Welcome to the Smartsheet Forum Archives


The posts in this forum are no longer monitored for accuracy and their content may no longer be current. If there's a discussion here that interests you and you'd like to find (or create) a more current version, please Visit the Current Forums.

sumif date is today to end of month

Jason S
Jason S
edited 07/12/17 in Archived 2017 Posts

Trying to write a formula that doesn't need manual updating that basically sums a total amount for file that have a closing date from today to the end of the month.  Seems like it should be fairly straight forward but I cant get it to work.

The sheet has parent rows but i want to include all rows in all parent rows in the calculation except a value i the parent row itself

After some searching I've tried these formulas below but obviously its wrong.  ideas?

=SUMIF([Closing Date]:[Closing Date], (MONTH(TODAY()) < 12, DATE(YEAR(TODAY()), MONTH(TODAY()) + 1, 1) - 1, DATE(YEAR(TODAY(), 12, 31)))

 

=SUMIF([Closing Date]:[Closing Date], MONTH(@cell) = MONTH(TODAY()))

 

sumif.png

sumif.png

Comments

This discussion has been closed.