Averaging numbers that meet a defined criteria
I'm creating a metrics sheet to feed a dashboard. On this sheet I am referencing a different sheet with the data. The formula I need to create would do the following:
1) AVERAGE the numerical values in one column.
2) IF the data was collected in a certain month, which is identified in a different column.
So for example, I would like to average all of the October data, November data, December etc.
Any help is appreciated!
Answers
-
Try something like this. (replace the ranges with your range names)
=AVERAGEIF({Column With Dates}; MONTH(@cell) = 10; {Column With Numerical Values})
The same version but with the below changes for convenience.
=AVERAGEIF({Column With Dates}, MONTH(@cell) = 10, {Column With Numerical Values})
Depending on your country/region, you'll need to exchange the comma to a period and the semi-colon to a comma.
Did that work/help?
I hope that helps!
Be safe and have a fantastic week!
Best,
AndrΓ©e StarΓ₯ | Workflow Consultant / CEO @ WORK BOLD
β Did my post(s) help or answer your question or solve your problem? Please help the Community by marking it as the accepted answer/helpful. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
AndrΓ©e StarΓ₯ | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E: andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
Help Article Resources
Categories
Check out the Formula Handbook template!