+ Reply to Thread
Results 1 to 2 of 2

Sumproduct? Countif?

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    11-22-2003
    Location
    Newport, Rhode Island
    MS-Off Ver
    Excel 365
    Posts
    158

    Sumproduct? Countif?

    Hello, Using Excel 2007

    In A2:A10 I have a person's initials and in columns E2:H10 I have a number from 1 to 100. What I want to do is to check A2:A10 for "M" and then check E2:H10 for the number 8. If both criteria are met then I went to count the number of occurences the 8 showed up in E2:H10.

    Attached is a sample sheet.
    Need help writing the formula to get a total of "2".

    Thanks

    Michael
    Attached Images Attached Images

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Hi,

    Try this

    =SUMPRODUCT((A2:A10="M")*(E2:E10=8)+(A2:A10="M")*(F2:F10=8)+(A2:A10="M")*(G2:G10=8)+(A2:A10="M")*(H2:H10=8))
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

+ 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