I want to be able to take the average of grouped(based on the "true" in the B column) values(taken from the numbers in the A column) that will be displayed in the C column.
Does anyone know how to automate this using VBA or a formula?
<tbody>
</tbody>
Does anyone know how to automate this using VBA or a formula?
A1 Amount | B1 True/False | C1 Average |
5 | False | 0 |
3 | False | 0 |
8 | True | =AVERAGE(A4:A10) |
3 | True | |
2 | True | |
8 | True | |
6 | True | |
7 | True | |
4 | True | |
5 | False | 0 |
1 | False | 0 |
2 | False | 0 |
3 | True | |
4 | True | |
8 | False | |
9 | True | |
6 | False | |
3 | True | |
2 | True |
<tbody>
</tbody>
Last edited: