+ Reply to Thread
Results 1 to 4 of 4

Sum Range Based on Values in another Column

  1. #1
    Registered User
    Join Date
    06-18-2013
    Location
    Toronto, Ontario
    MS-Off Ver
    Excel 2010
    Posts
    2

    Sum Range Based on Values in another Column

    I've got a table with several hundred rows each representing a different entry however several rows will share the same value in one particular column.

    I'm trying to create a column (Column C) where the values equal the sum of all values in Column B for which the values in Column A are equal. In other words, I'm trying to define the range of a SUM Function as "all cells in a column where the cells in another column are equal"

    chart 1.jpg

    Any ideas on how I can approach this?

    Thanks.
    Last edited by data1; 06-18-2013 at 05:31 PM.

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Sum Range Based on Values in another Column

    sumif will do for you.

    pivot table is another option.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    06-18-2013
    Location
    Toronto, Ontario
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Sum Range Based on Values in another Column

    Thanks!

    The SUMIF approach that you suggested worked!

    The formula that I ended up using for my "C Column" (which in my actual table is Column AN is: =SUMIF($C$2:$C$849,"="&C2,$AM$2:$AM$849)
    where the value in Column C was the relevent data, the criteria was to separate sums by similar values of C, and AM was the Column where I wanted my sums!)

    Thanks again for your help!

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Sum Range Based on Values in another Column

    Thanks for your reply.

    Glad I could help.

+ 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