+ Reply to Thread
Results 1 to 2 of 2

Sum cells if adjacent cells are the same

  1. #1
    Registered User
    Join Date
    01-30-2024
    Location
    Michigan
    MS-Off Ver
    Version 2310
    Posts
    1

    Sum cells if adjacent cells are the same

    Hello all,

    Brand new to the forum so apologies in advance for any missteps.

    I am trying to consolidate some data in a 400 row spreadsheet with about 20 columns. What I am looking for is a formula that will Sum all dollar values in column B (highlighted in blue) IF the value in column C (highlighted in green) is the same. In theory, all other data in the row should be the same, so only these two cells are of concern. Is there a way to sum the data highlighted and reduce the number of rows per unique entry in column C to a single row? I have tried looking through SUMIF options but haven't been able to make progress.

    Hopefully an image of what I'm describing is attached here:

    SumCells.jpg

    Thanks in advance!!!
    Mike

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,607

    Re: Sum cells if adjacent cells are the same

    Try a Pivot Table.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 7
    Last Post: 07-24-2023, 03:23 AM
  2. [SOLVED] mark color for not matched items for adjacent cells based on another adjacent cells
    By tubrak in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 03-14-2022, 08:02 AM
  3. Replies: 3
    Last Post: 07-21-2021, 12:44 AM
  4. Copy values from adjacent cells to groups of adjacent cells with gaps
    By Kneigum in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-08-2017, 04:50 PM
  5. Replies: 3
    Last Post: 06-15-2017, 05:42 PM
  6. Replies: 4
    Last Post: 02-11-2015, 09:02 AM
  7. Formula needed for dividing 2 sets of cells and excluding adjacent text cells
    By excelteam777 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-07-2013, 06:45 PM

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