View Single Post
  #8   Report Post  
Posted to microsoft.public.excel.misc
[email protected] paultedder@hotmail.com is offline
external usenet poster
 
Posts: 8
Default Counting multiple values (including blanks) in one column

On Mar 9, 3:40 pm, "Max" wrote:
Glad you got it working fine, Paul. You're welcome.
--
Max
Singaporehttp://savefile.com/projects/236895
xdemechanik
---
<paultedder wrote

Max
you are a champion. I used the following and it works a treat
=SUMPRODUCT(('Grid data'!B9:B4563=A9)*(ISERROR(SEARCH("bob*",'Grid
data'!D9:D4563))*(('Grid data'!F9:F4563="aa")+(TRIM('Grid data'!
F9:F4563)=""))))


Thanks very much Max
Paul


Max
Firstly sorry to keep bother you but you've started something in my
brain. After getting those results I now want to also look up a 3rd
value in the same column, the following is my formula but it is not
giving me the correct results, eg I am getting zero and I can
calculate that the answer is 7

SUMPRODUCT(('Grid data'!B2:B4557=A2)*(ISERROR(SEARCH("shine*",'Grid
data'!D2:D4557))*((('Grid data'!F2:F4557="NS")*('Grid data'!
F2:F4557="C")*(TRIM('Grid data'!F2:F4557)="")))))

I am not getting an error so assume my parenthesis etc is ok ?

Paul