+ Reply to Thread
Results 1 to 3 of 3

Nesting IF / COUNTIF STATEMENTS

  1. #1
    Forum Contributor
    Join Date
    10-27-2009
    Location
    San Diego California
    MS-Off Ver
    Excel 2010
    Posts
    160

    Nesting IF / COUNTIF STATEMENTS

    Please see attached sheet.
    1. I would like to make an IF statement in C2:C7 for cells in range B15:B782
    that match H2:H7.

    2. Then, count in range K15:K782 each cell matching $L$2 for each criteria match in B

    I have attempted many formulas and cannot get it. I get close but cannot nest the two statements properly.
    Attached Files Attached Files
    Last edited by MARKSTRO; 09-01-2011 at 05:49 PM.

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

    Re: Nesting IF / COUNTIF STATEMENTS

    I am not exactly sure what it is you are doing, but in your version of excel, there is a COUNTIFS function available that works with multiple conditions.

    For example the formula you have in L9 might be:

    =COUNTIFS($B$15:$B$782,$H$2,$K$15:$K$782,$J$2)

    If that is not what you want, can you try explaining more...
    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
    Forum Contributor
    Join Date
    10-27-2009
    Location
    San Diego California
    MS-Off Ver
    Excel 2010
    Posts
    160

    Re: Nesting IF / COUNTIF STATEMENTS

    Great solution, 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