+ Reply to Thread
Results 1 to 6 of 6

Checking for multiple values

  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(('FFTA25%'!$U$2:$U$180="5a")*('FFTA25%'!$AC$2:$AC$180="C-"))

    This allows me to add up how many time C- is in the column AC, if 5a is in the column U as well.

    What I would like to change it to is count how many times C- or C or C+ is in column AC, if 5a is in column U as well.

    Any help would be greatly appreciated.

    Many thanks
    Last edited by Cmorgan; 01-13-2013 at 02:11 PM.

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

    Re: Checking for multiple values

    Try it like this:

    =SUMPRODUCT(('FFTA25%'!$U$2:$U$180="5a")*(ISNUMBER(SEARCH("C",'FFTA25%'!$AC$2:$AC$180))))

    Hope this helps.

    Pete

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

    Re: Checking for multiple values

    Thanks for this, I just now need one more tweak for a different section and I can put this spread sheet to bed

    I need to tweak:

    =SUMPRODUCT(('FFTA25%'!$U$2:$U$180="5a")*(ISNUMBER(SEARCH("C",'FFTA25%'!$AC$2:$AC$180))))

    So that before it counts the C-,C or C+ grade in column AC, it still checks 5a is in U, but ALSO it checks PP is in column F.

    Any help would be really appreciated.

    Thanks

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Checking for multiple values

    As i see that Pete is ofline, does this helps?

    =SUMPRODUCT(('FFTA25%'!$U$2:$U$180="5a")*($f$2:$f$180="PP")*(ISNUMBER(SEARCH("C",'FFTA25%'!$AC$2:$AC$180))))
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

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

    Re: Checking for multiple values

    Thanks for this, I'm sure I tried this and it came up with an error, but yours works perfectly.

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Checking for multiple values

    ..............

+ 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