+ Reply to Thread
Results 1 to 7 of 7

summing up specific cells only

  1. #1
    Registered User
    Join Date
    04-24-2013
    Location
    usa
    MS-Off Ver
    Excel 2007
    Posts
    65

    summing up specific cells only

    hey guys new to the site and i have a quick question. If i want to add from cells j10:j50 but only the specific cells that in d10:d50 contain the word banana how do i do it. if its not clear ill try to explain it a bit more. i hope someone can help.
    thanks.

  2. #2
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: summing up specific cells only

    Try this:

    Please Login or Register  to view this content.
    Last edited by ConneXionLost; 04-24-2013 at 01:56 PM.
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  3. #3
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: summing up specific cells only

    Try

    =SUMIF(D10:D50,"banana",J10:J50)

  4. #4
    Registered User
    Join Date
    04-24-2013
    Location
    usa
    MS-Off Ver
    Excel 2007
    Posts
    65

    Re: summing up specific cells only

    i think i explain wrong let me try this in anything with the value of c244 in d185:d204 sum up those same rows in j185:j204
    i think this is more clear

  5. #5
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: summing up specific cells only

    Then:

    Please Login or Register  to view this content.

  6. #6
    Valued Forum Contributor Lemice's Avatar
    Join Date
    04-13-2013
    Location
    Somewhere.
    MS-Off Ver
    Excel 2016
    Posts
    696

    Re: summing up specific cells only

    Hello,

    In that case, try this formula
    Please Login or Register  to view this content.
    Edit: ConneXion, you beat me to it ...
    (copy pasta from Ford)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools

    Regards,
    Lem

  7. #7
    Registered User
    Join Date
    04-24-2013
    Location
    usa
    MS-Off Ver
    Excel 2007
    Posts
    65

    Re: summing up specific cells only

    wow it worked that was an easy one i guess lol thanks alot im sure ill have alot more questions.

+ 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