I have two columns one with client name and another with employee name. example:
aaa cathy
ddd sime
aaa sime
aaa cathy
ddd cathy
I want to count no of jobs done by cathy for aaa. The result should be 2
Thanks
I have two columns one with client name and another with employee name. example:
aaa cathy
ddd sime
aaa sime
aaa cathy
ddd cathy
I want to count no of jobs done by cathy for aaa. The result should be 2
Thanks
Try...
=SUMPRODUCT(--(A1:A5="aaa"),--(B1:B5="cathy"))
OR
=SUMPRODUCT(--(A1:A5=C1),--(B1:B5=D1))
...where C1 contains your first criterion, and D1 your second.
Hope this helps!
Thanks Domenic...... it works fine........
Can u also let me know what is the role of "--" in that formula... and it will be greatful if you could let me know in which other cases we can use this.
Have a look at the following link...
http://www.mcgimpsey.com/excel/formulae/doubleneg.html
Cheers!
Domenic......... Thanks a lot ............
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks