How to calculate an AVG of numbers in a column "A" where only including records containing value "X" in the column B

Could somebody help with a formula? Thanks in advance :slight_smile:

Hi Ziga

I think you should be able to do this by using groups. If you group by column B and then set the column A to average. You will get an average for each group. If you just want to see the group averages, collapse their contents and you will have a summary row for each group. One thing to note, if you have any empty entries in the group, it will distort the average. e.g. say one group has 5 items + an extra blank row - the average will be divided by 6 rather than 5. Hope this helps

2 Likes

Thank you! Will give it a shot

1 Like

This topic was solved and automatically closed 3 days after the last reply. New replies are no longer allowed.