+ Reply to Thread
Results 1 to 5 of 5

Record Count

  1. #1
    Registered User
    Join Date
    03-30-2005
    Posts
    7

    Record Count

    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

  2. #2
    Forum Expert
    Join Date
    06-18-2004
    Location
    Canada
    MS-Off Ver
    Office 2016
    Posts
    1,474
    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!

  3. #3
    Registered User
    Join Date
    03-30-2005
    Posts
    7

    !Brilliant

    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.

  4. #4
    Forum Expert
    Join Date
    06-18-2004
    Location
    Canada
    MS-Off Ver
    Office 2016
    Posts
    1,474
    Have a look at the following link...

    http://www.mcgimpsey.com/excel/formulae/doubleneg.html

    Cheers!

  5. #5
    Registered User
    Join Date
    03-30-2005
    Posts
    7

    Thanks

    Domenic......... Thanks a lot ............

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1