I am trying to find the value of the Sale $ based on the unique Deal #s by location. I can get a total value for unique Deal #s using
=SUMPRODUCT(C11:C23/COUNTIF(B11:B23,B11:B23))
but I can't figure out how to break it down by location. My original formula is shown below along with my expected result by location. I did try using COUNTIFS but I got a DIV/0 result.


