+ Reply to Thread
Results 1 to 13 of 13

SUM cells with equal values in an adjacent column.

Hybrid View

angelopc SUM cells with equal values... 12-13-2013, 08:41 AM
zbor Re: SUM cells with equal... 12-13-2013, 08:51 AM
angelopc Re: SUM cells with equal... 12-13-2013, 08:55 AM
zbor Re: SUM cells with equal... 12-13-2013, 08:58 AM
angelopc Re: SUM cells with equal... 12-13-2013, 09:01 AM
angelopc Re: SUM cells with equal... 12-13-2013, 09:08 AM
zbor Re: SUM cells with equal... 12-13-2013, 09:05 AM
angelopc Re: SUM cells with equal... 12-13-2013, 09:18 AM
angelopc Re: SUM cells with equal... 12-13-2013, 09:11 AM
zbor Re: SUM cells with equal... 12-13-2013, 09:12 AM
martindwilson Re: SUM cells with equal... 12-13-2013, 09:16 AM
angelopc Re: SUM cells with equal... 12-13-2013, 09:20 AM
sktneer Re: SUM cells with equal... 12-13-2013, 09:55 AM
  1. #1
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,040

    Re: SUM cells with equal values in an adjacent column.

    Both of them?

    try replace them with:

    Formula: copy to clipboard
    =IF(COUNTIF(C$2:C2;C2)=1;SUMIF($C$2:$C$1000;C2;$E$2:$E$1000);"")


    Formula: copy to clipboard
    =IF(SUMPRODUCT(--(C$2:C2=C2);--(D$2:D2=D2))=1;SUMPRODUCT($E$2:$E$1000;--($C$2:$C$1000=C2);--($D$2:$D$1000=D2));"")


    Extend range (1000) if needed
    Never use Merged Cells in Excel

  2. #2
    Registered User
    Join Date
    12-13-2013
    Location
    Texas
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: SUM cells with equal values in an adjacent column.

    This seems to work just the way I need it to. I'm freakin' overjoyed!

    Quote Originally Posted by zbor View Post
    Both of them?

    try replace them with:

    Formula: copy to clipboard
    =IF(COUNTIF(C$2:C2;C2)=1;SUMIF($C$2:$C$1000;C2;$E$2:$E$1000);"")


    Formula: copy to clipboard
    =IF(SUMPRODUCT(--(C$2:C2=C2);--(D$2:D2=D2))=1;SUMPRODUCT($E$2:$E$1000;--($C$2:$C$1000=C2);--($D$2:$D$1000=D2));"")


    Extend range (1000) if needed

+ 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: 1
    Last Post: 03-02-2013, 05:06 AM
  2. Average range of cells in column if values in adjacent column are equal
    By RyNye in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-09-2012, 10:12 AM
  3. Replies: 3
    Last Post: 07-30-2012, 11:20 AM
  4. auto merge adjacent cells into one if cell values are equal
    By egosselin in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-04-2012, 12:24 AM
  5. autoFill column equal to adjacent column
    By Paulg in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-17-2006, 08:04 AM

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