How to calculate the Average number of days based on a range with a date criteria?

I am trying to write a formula for calculating the average number of days in one range based on anything added to the sheet post July 1 2020. I have tried several combinations. I can get a simple AVERAGE of the range for the whole sheet but need to specify only average the data after July 1.

Works and provides average for entire sheet:

=AVERAGEIF([Days to Complete]:[Days to Complete]

Does not work and produces an uparseable error:

=AVERAGEIF(COLLECT([Submitted Date]:[Submitted Date], [Submitted Date]:[Submitted Date], > DATE(2020, 7, 1))[Days to Complete]:[Days to Complete],

Any suggestions?


Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!