+ Reply to Thread
Results 1 to 4 of 4

Sum finite number of cells based on status of other cells

  1. #1
    Registered User
    Join Date
    08-18-2010
    Location
    Hoboken, New Jersey
    MS-Off Ver
    Excel 2003
    Posts
    1

    Sum finite number of cells based on status of other cells

    Forgive me if I can't explain this well...I have 2 columns of data. The first is a binary value (i.e. " x " or " y "). The second has data. I want to move down the second column and sum all values for which the first column of that row contains one of the binary values (for instance "x"). However, I only want to do this for the first 10 rows that have "x" in the first column, and then stop.

    I attached a very simple example.

    I'm decent with Excel but have been stumped on this one for awhile. Any help is appreciated.
    Attached Files Attached Files

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

    Re: Sum finite number of cells based on status of other cells

    Try:

    Please Login or Register  to view this content.
    confirmed with CTRL+SHIFT+ENTER not just ENTER

    you can replace the "X" s with cell reference containing an X so that you can change at will
    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
    Valued Forum Contributor SDruley's Avatar
    Join Date
    04-27-2009
    Location
    Conover, NC
    MS-Off Ver
    Excel 2010 64 bit
    Posts
    415

    Smile Re: Sum finite number of cells based on status of other cells

    A possible solution is attached
    Attached Files Attached Files
    Turn Data into Information
    Turn Information into Knowledge
    Turn Knowledge into Direction
    Turn Direction into Leadership
    Turn Leadership into Results
    Stephen Druley

    It's not how quickly you think
    But how deeply you think
    The quality of thinking is measured
    by remoteness to conformance
    Stephen Druley

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

    Re: Sum finite number of cells based on status of other cells

    To avoid error if there are less than 10 "x" s..

    Please Login or Register  to view this content.
    confirmed with CSE

    This will sum all the matches if less than 10 are there....

+ 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