+ Reply to Thread
Results 1 to 3 of 3

Summing values in one column based on their adjacent values

  1. #1
    Registered User
    Join Date
    03-07-2013
    Location
    Grand Rapids, MI
    MS-Off Ver
    Excel 2010
    Posts
    2

    Summing values in one column based on their adjacent values

    Example.xlsx

    Attached is an example of the data sheet I have. I am trying to sum the values in column C for each of the distinct products listed in column B (ex: Programmable Thermostat total is 30, EnergyStar Refrigerator total is 25, etc)

    Not sure if I'm just trying to make it more complicated than it needs to be, but my attempts with SUMPRODUCT have not been successful. Any helpful suggestions out there?
    Last edited by undoubtedlymegz; 03-07-2013 at 04:30 PM.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Summing values in one column based on their adjacent values

    Try
    =SUMIF($B$2:$B$6,B2,$C$2:$C$6)
    Does that work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    03-07-2013
    Location
    Grand Rapids, MI
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Summing values in one column based on their adjacent values

    Yes, it does! Thank you so much.

+ 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