AVERAGEIFS

I've looked through the community and think AVG(COLLECT) is the answer to needing two variables to match before averaging. I'm also referencing another sheet, which isn't an obstacle for me any more.

I have a formula that works but need to add a 2nd variable. What I want to do is create a "calculator" that an office leader can use to calculate the profitability of a producer's book of business. The office leader needs to enter as little data as possible, meaning, just 1 person's name. This will be used by multiple office leaders so output will not be saved. The formula I have below averages a percentage (the second part of this formula) when both the producer name match what is entered in a cell on my calculator sheet (the first part of this formula) AND when the effective date of a reference sheet is within the last 12 months / rolling 12 months (not part of this formula). I have a today cell on my calculator sheet so the TBD formula can lookback 12 months from today. How can I change the formula to include the rolling 12 month variable?

=AVERAGEIF({Pricing Resource Tools Tracking Producer Name}, =[Column2]1, {Pricing Resource Tools Tracking Variance to Target})

Tags:

Best Answer

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!