+ Reply to Thread
Results 1 to 3 of 3

re: complex query

  1. #1
    Forum Contributor
    Join Date
    12-16-2006
    Posts
    349

    re: complex query

    My fault i didnt explain the question right

    i want a formula that can count how many "joe bloggs" in coloumn "i" have the word "no call" in coloumn "E" or the word "Left" in coloum "E" or the Word "secondment in coloum "E" ...

    i hope this is clearer

  2. #2
    Forum Contributor
    Join Date
    11-29-2003
    Posts
    1,203
    =SUMPRODUCT(--($I$1:$I$65000="Joe Bloggs"),--(($E$1:$E$65000)="Left"))+SUMPRODUCT(--($I$1:$I$65000="Joe Bloggs"),--(($E$1:$E$65000)="no call"))+SUMPRODUCT(--($I$1:$I$65000="Joe Bloggs"),--(($E$1:$E$65000)="secondment"))

  3. #3
    Forum Expert
    Join Date
    06-18-2004
    Location
    Canada
    MS-Off Ver
    Office 2016
    Posts
    1,474
    Quote Originally Posted by khalid79m
    My fault i didnt explain the question right

    i want a formula that can count how many "joe bloggs" in coloumn "i" have the word "no call" in coloumn "E" or the word "Left" in coloum "E" or the Word "secondment in coloum "E" ...

    i hope this is clearer
    Try...

    =SUMPRODUCT(--($I$2:$I$100="Joe Bloggs"),--ISNUMBER(MATCH($E$2:$E$100,{"No Call","Left","Secondment"},0)))

    or

    =SUMPRODUCT(--($I$2:$I$100=L2),--ISNUMBER(MATCH($E$2:$E$100,$M$2:$M$4,0)))

    ...where L2 contains Joe Bloggs, and M2:M4 contains No Call, Left, and Secondment.

    Hope this helps!

+ 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