+ Reply to Thread
Results 1 to 3 of 3

Checking for multiple values

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    09-23-2010
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    346

    Checking for multiple values

    Evening,

    I am using this formula:

    =SUMPRODUCT(('KS4 RESULT INPUT SHEET'!$X$2:$X$245=$A5)*('KS4 RESULT INPUT SHEET'!$AC$2:$AC$245=D$3))

    However I need to amend the end, instead of checking to see if the value of D3 is present, I need to change it to checking if the following values are present F+ or F or F-

    I would greatly appreciate any help you can give.

    Regards

  2. #2
    Forum Contributor
    Join Date
    01-17-2012
    Location
    Canada
    MS-Off Ver
    Excel 365
    Posts
    221

    Re: Checking for multiple values

    Hi CMorgan,

    Please see attached for one possible solution. Substitute the second part of your formula with the formula in red highlighted cell.

    Hope this helps!

    sumproduct.xlsx
    Regards,

    jeversf

  3. #3
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Checking for multiple values

    With SUMPRODUCT
    =SUMPRODUCT(('KS4 RESULT INPUT SHEET'!$X$2:$X$245=$A5)*('KS4 RESULT INPUT SHEET'!$AC$2:$AC$245={"F","F+","F-"}))
    with COUNTIFS
    =SUM(COUNTIFS('KS4 RESULT INPUT SHEET'!$X$2:$X$245,$A5,'KS4 RESULT INPUT SHEET'!$AC$2:$AC$245,{"F","F+","F-"}))
    Life's a spreadsheet, Excel!
    Say thanks, Click *

+ 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