questionking
New Member
- Joined
- Sep 26, 2017
- Messages
- 17
Looking to calculate a weighted average if there is a rate in column B, and then to be able to filter on other columns and have the subtotal update with the correct weighted average rate.
Below is a copy of the formula I have thus far, where column B lists the rates and column A lists the values.
=SUMPRODUCT($B$2:$B$1048576,$A$2:$A$1048576)/SUMIF($B$2:$B$1048576,"<>",$A$2:$A$1048576)
How can I get SUBTOTAL to work with this formula?
Thanks in advance for the help, it is much appreciated.
Below is a copy of the formula I have thus far, where column B lists the rates and column A lists the values.
=SUMPRODUCT($B$2:$B$1048576,$A$2:$A$1048576)/SUMIF($B$2:$B$1048576,"<>",$A$2:$A$1048576)
How can I get SUBTOTAL to work with this formula?
Thanks in advance for the help, it is much appreciated.