+ Reply to Thread
Results 1 to 4 of 4

Thread: How to use COUNTIF or SUMPRODUCT?

  1. #1
    Registered User
    Join Date
    11-18-2011
    Location
    Pittsburgh, PA
    MS-Off Ver
    Excel 2010
    Posts
    10

    How to use COUNTIF or SUMPRODUCT?

    I need to get a formula that will tell me how many times the name in E3 appears in column A with a value next to it in column B with a value greater than 1. For example, my column of 50 names in A contains Jim(E3) 10 times. Three of these have number 3 in column B, two have number 2, two have number 1 and three have zeros. I want my answer to be 5 (a count of how many times Jim's name appears with a number >1). What is the formula to get this?
    Last edited by NBVC; 11-18-2011 at 03:41 PM.

  2. #2
    Valued Forum Contributor tlafferty's Avatar
    Join Date
    04-08-2011
    Location
    United States, Tacoma, WA
    MS-Off Ver
    Excel 2010
    Posts
    856

    Re: How to use COUNTIF or SUMPRODUCT?

    =sumproduct(--(a:a=e3)*(b:b>1))
    If your question has been satisfactorily addressed, please consider marking it solved. Click here to see how.

    Also, you might want to add to the user's reputation by clicking the scales icon - it's why we do what we do...

    Thomas Lafferty
    Analyst/Programmer

  3. #3
    Forum Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,636

    Re: How to use COUNTIF or SUMPRODUCT?

    Try:

    =COUNTIFS(A:A,E3,B:B,">1")
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  4. #4
    Registered User
    Join Date
    11-18-2011
    Location
    Pittsburgh, PA
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: How to use COUNTIF or SUMPRODUCT?

    PERFECT! 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.2.0