+ Reply to Thread
Results 1 to 5 of 5

How to sum data based on a unique identifier

  1. #1
    Registered User
    Join Date
    01-06-2012
    Location
    MN
    MS-Off Ver
    Excel 2013
    Posts
    62

    How to sum data based on a unique identifier

    I would like for the program to list each unique identifier from column b in column c (one time) and then show the sum of the data associated with the identifier from column C in column F. I could do it with IF statements if the identifiers stayed the same each time but they can vary, they are not always letters and more commonly are a unique set of letters and or numbers, changing daily.

    The sumtotal function works but is cumbersome due to the large amount of data and the need to copy the sums over to a new tab using visible cells only.

    Any help is greatly appreciated!
    Attached Files Attached Files

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: How to sum data based on a unique identifier

    Use this formula in E3 and copy down

    =IFERROR(INDEX($B$2:$B$9,MATCH(0,INDEX(COUNTIF(E$2:E2,$B$2:$B$9),,),)),"")

    and SUMIF in F3 and copy down

    =SUMIF($B$2:$B$9,E3,$C$2:$C$9)
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Registered User
    Join Date
    01-06-2012
    Location
    MN
    MS-Off Ver
    Excel 2013
    Posts
    62

    Re: How to sum data based on a unique identifier

    Thanks you! Works like a charm.
    Last edited by tommypkoch; 02-24-2015 at 09:09 PM. Reason: solved

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: How to sum data based on a unique identifier

    Thank you for the feedback!
    Last edited by AlKey; 02-25-2015 at 12:27 AM.

  5. #5
    Registered User
    Join Date
    01-06-2012
    Location
    MN
    MS-Off Ver
    Excel 2013
    Posts
    62

    Re: How to sum data based on a unique identifier

    Solved by AlKey

+ 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. [SOLVED] Need to copy data cells from one sheet to another based on unique identifier
    By unitedscentdom in forum Excel - New Users/Basics
    Replies: 9
    Last Post: 02-24-2015, 10:51 AM
  2. Replies: 1
    Last Post: 01-29-2015, 04:08 PM
  3. Replies: 5
    Last Post: 04-13-2012, 10:50 PM
  4. Combine rows of data into 1 cell based on unique identifier
    By jud_goh in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-11-2010, 05:06 PM
  5. Replies: 1
    Last Post: 12-07-2009, 07:02 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