# Averages and sums in data based upon a name column

Options
✭✭✭✭✭✭
edited 12/09/19

Hello,

I have a Smartsheet here with some data formatted by Name, Date, Number Done, and Hours. This data is populated by forms. Here's a live Smartsheet example:

https://app.smartsheet.com/b/publish?EQBCT=e6247aff028844ff9da1e4d0906860c2

Does anyone have any ideas how I can get the following:

1. Total Sum of [Number Done] by Dopey for example across all columns
2. Total Average [Hours] spent spent to finish exactly 1 [Number Done]
3. Daily Average of [Number Done]
4. How can I limit the Total Sum of [Number Done] by Dopey for the last 30 days?

Thank you!

Dr. St Nicholas Burrus DHA, PMP

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

Tags:

• ✭✭✭✭✭✭
Options

1. =SUMIFS([Number Done]:[Number Done], Name:Name, "Dopey")

2. =AVG(COLLECT(average:average, Name:Name, "Dopey"))

3. =AVG(COLLECT([Number Done]:[Number Done], Name:Name, "Dopey"))

4. =SUMIFS([Number Done]:[Number Done], Name:Name, "Dopey", Date:Date, @cell >= TODAY(-30))

• ✭✭✭✭✭✭
Options

Did these suggestions work for you?

## Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!