+ Reply to Thread
Results 1 to 5 of 5

trying to sum unique values based off of another column.

Hybrid View

  1. #1
    Registered User
    Join Date
    01-07-2015
    Location
    wisconsin
    MS-Off Ver
    2007
    Posts
    10

    trying to sum unique values based off of another column.

    Column1 Column3
    0011-1-1 50
    0011-1-1 50
    0011-1-1 50
    0022-2-2 100
    0022-2-2 100
    0033-3-3 1000

    Here is a simple form of my issue... I have multiple jobs in column 1 (3 different jobs). Some jobs are duplicated. Column 3 has the total parts produced. I would like a formula to run through my table and ignore all additional duplicated jobs....So, my answer would add 50+100+1000= 1,150. simple example.xlsx

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: trying to sum unique values based off of another column.

    d3=countif($A$3:$A3,$A3)

    After that a pivot table.

    See the attached file.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    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: trying to sum unique values based off of another column.

    Or use formula

    =SUMPRODUCT((A3:A8<>"")*(C3:C8)/COUNTIF(A3:A8,A3:A8))

    Row\Col
    A
    B
    C
    2
    Column1 Column12 Column2
    3
    0011-1-1
    50
    4
    0011-1-1
    50
    5
    0011-1-1
    50
    6
    0022-2-2
    100
    7
    0022-2-2
    100
    8
    0033-3-3
    1000
    9
    10
    1150
    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

  4. #4
    Registered User
    Join Date
    01-07-2015
    Location
    wisconsin
    MS-Off Ver
    2007
    Posts
    10

    Re: trying to sum unique values based off of another column.

    Thank you so much for the help! Both methods worked! For me, I am going to use the formula, so the users don't have to take the data that gets output and then put it in a pivot table every time. The formula I can just enter on the template, and will autocalculate for me! Thanks again!!

  5. #5
    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: trying to sum unique values based off of another column.

    You're welcome and thank you for the feedback!
    Last edited by AlKey; 01-08-2015 at 02:39 PM.

+ 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. Get unique values from column and get Counts and Sums based on these values
    By khhleung in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-17-2014, 09:58 PM
  2. Count Unique values in Column based on values in other columns
    By dmschave in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-17-2014, 11:06 AM
  3. Return number of unique values based on values in other column
    By Medir in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-26-2013, 11:17 AM
  4. Replies: 1
    Last Post: 11-16-2013, 05:18 AM
  5. [SOLVED] Filtering and generating new tabs based on Unique values based in column
    By amlan009 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-02-2012, 09:40 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