+ Reply to Thread
Results 1 to 4 of 4

How to use COUNTIF or SUMPRODUCT?

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

    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 04: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, Excel 2013 Customer Preview
    Posts
    1,112

    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 the Thread Tools dropdown and select Mark thread as solved.
    Also, you might want to add to the user's reputation by clicking the star icon in the lower left corner of the post with the answer- it's why we do what we do...

    Thomas Lafferty
    Analyst/Programmer

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

    Re: How to use COUNTIF or SUMPRODUCT?

    Try:

    =COUNTIFS(A:A,E3,B:B,">1")
    Where there is a will there are many ways.

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

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

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

    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.6.0 RC 1