+ Reply to Thread
Results 1 to 4 of 4

How can I sum numbers in a specific range, determined by the cells value

  1. #1
    Registered User
    Join Date
    02-13-2012
    Location
    Bulgaria, Sofia
    MS-Off Ver
    Excel 2003
    Posts
    3

    How can I sum numbers in a specific range, determined by the cells value

    Hi,

    I have the following example:
    A B C D
    b 0 0a 01
    a 1 1a 11
    a 2 2b 22
    3 3c 33
    a 4 44
    a 5 1b 55

    So I want to sum all numbers in column D from a specific range. The range is - first row, where column C is 0a to the first blank cell in the same column and A cells value = a.
    In my example the sum = 11+22

    Can you help me with the formula? Thanks.
    I can try to explain it better, if was not clear enough. Thanks!

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: How can I sum numbers in a specific range, determined by the cells value

    After first blank in C column, can there be more data or all other cells are blank too?

  3. #3
    Registered User
    Join Date
    02-13-2012
    Location
    Bulgaria, Sofia
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: How can I sum numbers in a specific range, determined by the cells value

    There is more data after first blank.

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: How can I sum numbers in a specific range, determined by the cells value

    How about this with aditional column:

    Now in some separate column you can use MAX(E:E) or something to get 33.

    If blank is before 0a you will get #N/A. If there is no blank you will get blank.
    Attached Files Attached Files
    Last edited by zbor; 02-13-2012 at 04:53 AM.

+ 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