Hello Smart-Heads!
I hope you guys are doing great! I am diving deeper and deeper into the abyss of smartsheet formulas, yet I would appreciate your help!
I am calculating average quality results in percentage, per team and per individual. With monthly results was pretty easy, as raw file includes column with month, see:
=IFERROR(AVG(COLLECT({PC_QA_Avg}; {PC_Reviewer}; $[Grand (Total)]@row; {PC_QA_Month}; Jan$2; {PC_MP}; $[Grand (Total)]$1)); "")
The problem is with Quarters and Half-Years. Raw data does not include this information in columns.
I have created help columns updated manually with applicable information, see:
I could have created an additional sheet with month // quarter // year and use vlookup, but I know that formula won't work with another formula results.
Desired formula should express something like this:
For Q1'23:
=IFERROR(AVG(COLLECT({PC_QA_Avg}; {PC_Reviewer}; $[Grand (Total)]@row; HERE CONSIDER Jan'23 Feb'23 and Mar'23 from column Month; {PC_MP}; $[Grand (Total)]$1)); "")
Is there an option to use in this case AND formula?
As for now, I created walk around solution and have results, but moving forward, I don't want to update Quarter and Half-Year columns manually every time when bulk results are required.
=IFERROR(AVG(COLLECT({PC_QA_Average}; {PC_Reviewer}; $[Grand (Total)]@row; {PC_QA_Quarter}; [Q1'23]$1; {PC_MP}; $[Grand (Total)]$1)); "")
Thanks in advance for great as always support!,
Roman