+ Reply to Thread
Results 1 to 3 of 3

Countif or sum thing else 2 criteria

  1. #1
    Registered User
    Join Date
    05-18-2012
    Location
    Liverpool
    MS-Off Ver
    Excel 2013
    Posts
    76

    Countif or sum thing else 2 criteria

    I HAVE A PROBLEM HOPE YOU CAN HELP
    I HAVE COLUMN A WITH AN EXTENSIVE LIST OF Ys AND Ns Y/N COLUMN B HAS A NUMBER IN
    OK I NEED A FORMULA TO COUNT ALL NUMBERS (NOT ADD) IN B UNDER 25 WHICH ALSO HAVE A "Y" IN COLUMN A
    IM USING 2002 EXCEL AND PLEASE GIVE ME RUNDOWN OF ANSWER AS IM JUST LEARNING EXCEL
    THANKS FOR VIEWING

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

    Re: Countif or sum thing else 2 criteria

    =Sumproduct((A2:A1000="Y")*(B2:B1000<25))

    adjust ranges to suit.

    This creates two arrays of TRUEs and FALSEs and multiplies the corresponding elements from both together, yielding a 1 for every TRUE*TRUE and 0's for all other combos... the 1's are then added to give final count.

    FYI... all cap messages are perceived as yelling in the forum environment and is more difficult to read.... please refrain.
    Last edited by NBVC; 05-29-2012 at 05:30 PM. Reason: typo
    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.

  3. #3
    Registered User
    Join Date
    05-18-2012
    Location
    Liverpool
    MS-Off Ver
    Excel 2013
    Posts
    76

    Re: Countif or sum thing else 2 criteria

    Wow i know this is bread and butter to you guys but to us its Amazing thanks for your help been on this for days ..
    Sorry for the CAPS wont happen again Thanks again

+ 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