# Assistance w/ Average Formula

Options
✭✭
edited 04/16/24

I have 2 columns.

One is a calculated field that displays Business Days Open.

I have another field that has 1 of 4 possible values.

I want to calculate the average business days open by each of the 4 values.

value 1 = (average of "Business Days Open")

value 2 = (average of "Business Days Open")

value 3 = (average of "Business Days Open")

value 4 = (average of "Business Days Open")

I am trying to get his info into a chart.

Thanks!

• ✭✭✭✭
Options

Take a look at AVERAGEIF formula, I think this is what you want.

• ✭✭
Options

Unfortunately, because I have multiple criteria, it says I need to use the "collect" function, but everything I try is not working.

• ✭✭✭✭
Options

You have 2 columns you stated...what are your 2 criteria you are trying to use?

You want to average the Business Days Open for each of the 4 values in the second column, right? That should work with. Maybe a screenshot of your sheet and an example of what you are trying to calculate would help.

One workaround for need an additional criteria in a formula like AVERAGEIF would be to wrap that formula in an IF statement that covers one of the criteria...IF([Field 1] = "Value 1", AVERAGEIF.....like that.

## Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!