+ Reply to Thread
Results 1 to 3 of 3

summing specific cells

  1. #1
    Registered User
    Join Date
    10-12-2009
    Location
    Israel
    MS-Off Ver
    Excel 2003
    Posts
    12

    summing specific cells

    Hi,
    I am new to the forum and I have a question about excel.

    I have a chart which looks something like this:

    A B C
    1 200 Joe
    2 150 Joe
    3 100 Mike
    4
    5 50 Joe
    6 100 Mike
    7
    8

    I want to use a function that will some up all the numbers from colum A that have Joe on on colum B. For example for Joe it should be 200+150+50. And for Mike it should be 100+100. I want to display that sum for Joe in C1 and for Mike in C2. So basically I need a function that will go through colum B and search for the word "Joe" and then if it appears for example in B1 then it will add A1 to the total.

    I hope that makes sense and I hope someone can help.

    Thanks a lot!
    Eyal.

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,444

    Re: summing specific cells

    Hi,

    Using your example

    =SUMIF(B1:B6,"Joe",A1:A6)

    Will sum column A where column B = Joe
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  3. #3
    Registered User
    Join Date
    10-12-2009
    Location
    Israel
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: summing specific cells

    Excellent!

    THANK YOU!

+ 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