Calculating Average in days of a date range (for multiple rows)

Hi there,

I have a Date range on a Data base sheet (for a lot of rows). I have the difference in Days for the gap between these two dates. In order to create a metric on a Dashboard, on another sheet I trying to get the average in days of these multiple rows and... don't get it!

I have to select multiple criteria so here is the formula I have without any good results.

=AVERAGEIFS({DATABASE Project completed}, 1, {DATABASE Work Type}, [Primary Column]@row, {DATABASE Expected}, >=DATE(2020, 6, 1) <= DATE(2020, 6, 30), {DATABASE country}, USA1, IFERROR({DATABASE Difference date} = 1))

I also tried with the =COUNTIFS, no better results.

I think the problem is that SS can't figure out what to do if there is a blank cell (for exemple if there's no End of Installation Date).


Thanks guys!

Julien

Best Answers

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!