+ Reply to Thread
Results 1 to 6 of 6

Multiple Range "If" Counting

Hybrid View

  1. #1
    Registered User
    Join Date
    05-29-2012
    Location
    Greenfield, Massachusetts
    MS-Off Ver
    Excel 2007
    Posts
    2

    Multiple Range "If" Counting

    Hello,

    I have a very complicated formula that I'm trying to write that has been stumping me for hours.
    I have a spreadsheet for project management wherein I'm trying to count up the number of participants who have completed X milestone in the program. I have a "counting" sheet with 1's under each heading they've accomplished. Counting up each heading is easy - only some of the counts I'm looking for are dependent on other counts.
    For example, I can only count the 1 in column D if there is ALSO a 1 in column A.
    On top of that, this spreadsheet is frequently Filtered and re-sorted.

    On another sheet is an "outcomes" chart. I need to find a formula that does the following:

    - Looks at Column A in the "counting" sheet; wherever there is a value of "1" in that column, look one cell to the right at column B (because this spreadsheet gets re-sorted, it really can't be dependent on cell number)
    - Total up ALL of the "1"s in column B ONLY where there is also a "1" in Column A (I'm looking for a counted/summed total)

    I'm new to nesting formulas and have tried V/HLOOKUPs and OFFSETs stacked with IFs, but am too much of a novice to figure this one out. I'm certainly not looking for this work to be done for me, but if anyone even has suggestions for things to try, it would be greatly appreciated.

  2. #2
    Forum Expert
    Join Date
    07-16-2010
    Location
    Northumberland, UK
    MS-Off Ver
    Excel 2007 (home), Excel 2010 (work)
    Posts
    3,054

    Re: Multiple Range "If" Counting

    Hi, and welcome to the forum.

    If you could post an example spreadsheet it would be much easier for somebody here to work out what is required.

  3. #3
    Valued Forum Contributor
    Join Date
    04-03-2012
    Location
    East Sussex, UK
    MS-Off Ver
    Excel 2003:2010
    Posts
    893

    Re: Multiple Range "If" Counting

    Could you post an example workbook with dummy data?

  4. #4
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Multiple Range "If" Counting

    Maybe (if I follow you correctly)

    =SUMIF(A:A,1,B:B)

    or maybe

    =COUNTIFS(A:A,1,B:B,1)
    Last edited by Cutter; 05-29-2012 at 12:26 PM.

  5. #5
    Registered User
    Join Date
    05-29-2012
    Location
    Greenfield, Massachusetts
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Multiple Range "If" Counting

    By the powers that be, Cutter's insanely simple answer was exactly what I needed, I had no idea that function existed.
    THANK YOU ALL.

  6. #6
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Multiple Range "If" Counting

    I AM insanely simple. Just ask my wife.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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