Forum Discussion

powerboss's avatar
powerboss
Frequent Visitor
6 years ago

How To Calculate Mean For Column ONLY IF value In One Table Matches Another

I am currently calculating Total Sums, Total Quantities, and then computing Means grouping by another column in a table. The identifier is a Unique ID.

 

I have another table with a Unique ID identifier. I need to compute the Mean for this column as well. I do not know how to calculate this.

 

I basically need a formula that does: IF(ColumnAInTableB matches ColumnAInTableA), then Average((SumOfColumnBInTableA)/(AverageQuantityOfColumnCInTableA)GroupedBy ColumnDInTableA)), and return just that average number for each instance of ColumnAInTableB.

1 Reply