+ Reply to Thread
Results 1 to 3 of 3

SUM of data based on names in other cell (more complicated that it sounds)

  1. #1
    Registered User
    Join Date
    03-19-2014
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    3

    SUM of data based on names in other cell (more complicated that it sounds)

    Hello

    Thank you for looking at my first post.
    I have a bit of a dilema relating to summing data based on duplicates. See example of my issue below.

    Name A 14
    Name A 56
    Name A 900 Sum of Name A
    Name B 100
    Name B 2 Sum of Name B
    Name C 5000 Sum of Name C
    Name D 10000
    Name D 3000
    Name D 200 Sum of Name D

    I need to sum the totals of each name I have tried a few SUM IF's but to no avail unfortunatley.
    Each name could come up 1-10 times which is where i am struggling. I am also trying to make the formula only sum the final instance of the name occuring.

    Any help is greatly appreciated its probably a quick fix i'm just missing!

  2. #2
    Valued Forum Contributor AZ-XL's Avatar
    Join Date
    03-22-2013
    Location
    Azerbaijan, Baku
    MS-Off Ver
    Excel 2007
    Posts
    603

    Re: SUM of data based on names in other cell (more complicated that it sounds)

    Hi
    Assuming that your data starts from a1 cell and numbers in B column. then c1 cell
    =IF(COUNTIF($A$1:A1,A1)=COUNTIF(A:A,A1),SUMIF(A:A,A1,B:B),"")
    then drag down
    Appreciate the help? CLICK *

  3. #3
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,636

    Re: SUM of data based on names in other cell (more complicated that it sounds)

    Similar way but for large datasets could be a bit quicker. In C2:
    =IF(COUNTIF(A3:$A$1000,A2)=0,SUMIF(A$1:A2,A2,B$1:B2),"")
    Best Regards,

    Kaper

+ 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. Call cell value from other sheet based on condition (Complicated)
    By hecgroups in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-25-2013, 08:22 AM
  2. Eliminating Duplicate Entries (more complicated then it sounds)
    By mander19 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-14-2011, 04:05 PM
  3. Replies: 2
    Last Post: 04-06-2010, 01:18 AM
  4. Compiling a list... more complicated than it sounds!
    By sarahwebb in forum Excel General
    Replies: 3
    Last Post: 04-17-2009, 06:14 PM
  5. Replies: 1
    Last Post: 01-25-2006, 11:55 AM

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