Below is a set of data I am working on. I have named the customer satisfaction range as "CustomerSatisfaction" then i have applied a filter on the cities ie filter by "Melbourne" then i have named the customer satisfaction column with the filter on and called it "MelbourneCustomerSatisfaction". If i do a =CountIf(CustomerSatisfaction,5) named range, all works as expected, however if i do somethign like =CountIf(MelbourneCustomerSatisfaction, 2) it seems to just run is as =CountIf(CustomerSatisfaction,2) rather than apply the melbourne filter to it. Can anyone gimme a hand with this?
[TABLE="width: 933"]
<colgroup><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Recipt No.[/TD]
[TD]Payment type[/TD]
[TD]Customer's city[/TD]
[TD]Sale price ($/ton)[/TD]
[TD]Delivery time (minutes/ton.km)[/TD]
[TD]Customer satisfaction[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Eftpos[/TD]
[TD]Sydney[/TD]
[TD]345[/TD]
[TD]0.57[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]cheque[/TD]
[TD]Melbourne[/TD]
[TD]444[/TD]
[TD]0.32[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Eftpos[/TD]
[TD]Brisbane[/TD]
[TD]434[/TD]
[TD]0.10[/TD]
[TD]8[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]cheque[/TD]
[TD]Sydney[/TD]
[TD]382[/TD]
[TD]0.43[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Eftpos[/TD]
[TD]Sydney[/TD]
[TD]412[/TD]
[TD]0.44[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]Eftpos[/TD]
[TD]Sydney[/TD]
[TD]451[/TD]
[TD]0.12[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]Eftpos[/TD]
[TD]Canberra[/TD]
[TD]358[/TD]
[TD]0.33[/TD]
[TD]7[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]cash[/TD]
[TD]Brisbane[/TD]
[TD]386[/TD]
[TD]0.67[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]cash[/TD]
[TD]Sydney[/TD]
[TD]407[/TD]
[TD]0.57[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]credit card[/TD]
[TD]Melbourne[/TD]
[TD]345[/TD]
[TD]0.63[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD]credit card[/TD]
[TD]Melbourne[/TD]
[TD]390[/TD]
[TD]0.34[/TD]
[TD]4[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 933"]
<colgroup><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Recipt No.[/TD]
[TD]Payment type[/TD]
[TD]Customer's city[/TD]
[TD]Sale price ($/ton)[/TD]
[TD]Delivery time (minutes/ton.km)[/TD]
[TD]Customer satisfaction[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Eftpos[/TD]
[TD]Sydney[/TD]
[TD]345[/TD]
[TD]0.57[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]cheque[/TD]
[TD]Melbourne[/TD]
[TD]444[/TD]
[TD]0.32[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Eftpos[/TD]
[TD]Brisbane[/TD]
[TD]434[/TD]
[TD]0.10[/TD]
[TD]8[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]cheque[/TD]
[TD]Sydney[/TD]
[TD]382[/TD]
[TD]0.43[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Eftpos[/TD]
[TD]Sydney[/TD]
[TD]412[/TD]
[TD]0.44[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]Eftpos[/TD]
[TD]Sydney[/TD]
[TD]451[/TD]
[TD]0.12[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]Eftpos[/TD]
[TD]Canberra[/TD]
[TD]358[/TD]
[TD]0.33[/TD]
[TD]7[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]cash[/TD]
[TD]Brisbane[/TD]
[TD]386[/TD]
[TD]0.67[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]cash[/TD]
[TD]Sydney[/TD]
[TD]407[/TD]
[TD]0.57[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]credit card[/TD]
[TD]Melbourne[/TD]
[TD]345[/TD]
[TD]0.63[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD]credit card[/TD]
[TD]Melbourne[/TD]
[TD]390[/TD]
[TD]0.34[/TD]
[TD]4[/TD]
[/TR]
</tbody>[/TABLE]