+ Reply to Thread
Results 1 to 3 of 3

Sum cells based on value in adjacent cell

  1. #1
    Registered User
    Join Date
    11-16-2012
    Location
    college park, maryland
    MS-Off Ver
    Excel 2010
    Posts
    37

    Sum cells based on value in adjacent cell

    Hello,

    I have a spreadsheet with data starting in column D. In column C I have codes that represent the type of data. I have extracted the unique codes to a new location and would now like to sum the cells in column D that have the same codes in column C. Example:

    C D
    00dh 12
    00rh 11
    00dh 6
    00gh 88
    00gh 14



    00dh 18
    00rh 11
    00gh 102


    I hope this makes since. Please Help!

    Thank you!

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Sum cells based on value in adjacent cell

    If you have a specific code in F2 then try SUMIF like this

    =SUMIF(C:C,F2,D:D)

    you can copy the formula down the column
    Audere est facere

  3. #3
    Registered User
    Join Date
    11-16-2012
    Location
    college park, maryland
    MS-Off Ver
    Excel 2010
    Posts
    37

    Re: Sum cells based on value in adjacent cell

    Thanks so much! Got it!

+ 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