+ Reply to Thread
Results 1 to 3 of 3

CountIFS and SUMPRODUCT Combined??

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    12-29-2012
    Location
    usa
    MS-Off Ver
    Excel 2016
    Posts
    325

    CountIFS and SUMPRODUCT Combined??

    Ok heres the formula I have so far:

    =SUMPRODUCT((ABS($C$2:$C$48)>2)*(ABS($C$2:$C$48)<4))

    This looks in the C column for numbers between 2 and 4 OR -2 and -4. Now, I need my formula to do this, AND each row that contains a value that is either between 2 and 4 OR -2 and -4, and for each row that contains a value in that range, I want to look in column G in that row and Count if that cell contains "Y"

    Any ideas? Thanks guys

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,408

    Re: CountIFS and SUMPRODUCT Combined??

    Try this:

    =SUMPRODUCT((ABS($C$2:$C$48)>2)*(ABS($C$2:$C$48)<4)*($G$2:$G$48="Y"))

    Hope this helps.

    Pete

  3. #3
    Forum Contributor
    Join Date
    12-29-2012
    Location
    usa
    MS-Off Ver
    Excel 2016
    Posts
    325

    Re: CountIFS and SUMPRODUCT Combined??

    Quote Originally Posted by Pete_UK View Post
    Try this:

    =SUMPRODUCT((ABS($C$2:$C$48)>2)*(ABS($C$2:$C$48)<4)*($G$2:$G$48="Y"))

    Hope this helps.

    Pete
    Works great! 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