Try againWhat version of Excel are you using? Excel 2013 can count unique items in a Pivot Table using the Distinct Count feature ...
BTW, you have blanks in your brand column - I used the filter to exclude them to arrive at your answer of 14 for "<150,000"
@bosco_yip : your formula works perfectly on a simplified data table. I copied to the original file (attached below) and it didn't work. Could you please have a look into it? Thanks a lot
Leo,