Problem with SUMIFs second critera based upon date

Nick Burrus
Nick Burrus ✭✭✭✭✭✭
edited 12/09/19 in Formulas and Functions



Smartsheet example here:


What I am trying to do is the following:

=SUMIFS(Name1:Name14, "Happy", average1:average14, Date1:Date14, >TODAY(-31)) / COUNTIFS(Name1:Name14, "Happy", Date1:Date14, >TODAY(-31))


Basically the following critera:

  • If the name is Happy
  • If the date is within the last 30 days
  • return the average sum / divide by the total count

I keep getting invalid argument. ANyone have any idea what is casuing that? If I remove the date it works just fine. 

Dr. St Nicholas Burrus DHA, PMP

I build Smartsheets for the US Government, State Government, and about a dozen of the US Fortune 100s.



Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!