+ Reply to Thread
Results 1 to 2 of 2

Countifs and multiple columns...

  1. #1
    ajayb
    Guest

    Countifs and multiple columns...

    Hi,

    I have 2 columns of data. The first has a list of names, the second a list
    of scores.

    Fred 6
    Fred 5
    Joanne 5
    David 4
    Joanne 6

    I want to use COUNTIF along these lines:

    =COUNTIF(A1:A500,"Fred" and B1:B500,6)

    But know it doesn't work. I have seen SUMPRODUCT bandied about but not
    really sure if that'll help. Any ideas?

    Thanks

  2. #2
    Marcelo
    Guest

    RE: Countifs and multiple columns...

    Hi Ajayb,

    try to use

    =sumproduct(--(a2:a6="Fred")*(b2:b6=6))

    does this helps?
    regards from Brazil
    Marcelo


    "ajayb" escreveu:

    > Hi,
    >
    > I have 2 columns of data. The first has a list of names, the second a list
    > of scores.
    >
    > Fred 6
    > Fred 5
    > Joanne 5
    > David 4
    > Joanne 6
    >
    > I want to use COUNTIF along these lines:
    >
    > =COUNTIF(A1:A500,"Fred" and B1:B500,6)
    >
    > But know it doesn't work. I have seen SUMPRODUCT bandied about but not
    > really sure if that'll help. Any ideas?
    >
    > Thanks


+ 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