+ Reply to Thread
Results 1 to 7 of 7

Sumif formula that exclueds duplicates

  1. #1
    Forum Contributor
    Join Date
    07-17-2012
    Location
    N/A
    MS-Off Ver
    Excel 2010
    Posts
    218

    Sumif formula that exclueds duplicates

    I need a formula that will provide the 'Total' results below:

    Issues-For future 1, project A is included twice, I only want it in the total once. But when I sum for future 3, project A is here as well, I do want it included in the total for future 3 as well.

    Future Project Cost
    1 A 100
    1 A 100
    2 B 110
    3 C 120
    4 A 100
    1 B 110
    2 C 120
    3 A 100
    4 B 110
    1 C 120

    Totals
    Future 1 330 I need a formula that will provide these results
    Future 2 230
    Future 3 220
    Future 4 210


    Ok, so I am able to get this to work if I do the formula on the same tab, but I want my summary page as a separate tab, this is where I have issues...
    Thank you!!!
    Last edited by lesoies; 10-24-2012 at 01:43 PM.

  2. #2
    Valued Forum Contributor Miraun's Avatar
    Join Date
    04-03-2009
    Location
    New England
    MS-Off Ver
    2003, 2007, 2010, 2013
    Posts
    554

    Re: Sumif formula that exclueds duplicates

    You have a two options I can think of offhand.

    You can determine if it's a repeat by using a COUNTIF function in an additional column on your data, and then adding in a provision on your sumifs.
    Or you could filter for uniques using the option in the DATA tab, and then run the metrics.
    Going for Guru! Click the Star to the bottom left of this post if I helped!

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

    Re: Sumif formula that exclueds duplicates

    a pivot table will do that for you.

    see the attached file.
    Attached Files Attached Files
    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.

  4. #4
    Registered User
    Join Date
    08-24-2012
    Location
    Schiedam, holland
    MS-Off Ver
    Excel 2003-2013
    Posts
    38

    Re: Sumif formula that exclueds duplicates


  5. #5
    Registered User
    Join Date
    10-02-2012
    Location
    Baku
    MS-Off Ver
    Excel 2010
    Posts
    273

    Re: Sumif formula that exclueds duplicates

    I think most proper way is to add helper column by using countifs which has been recommended
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    07-17-2012
    Location
    N/A
    MS-Off Ver
    Excel 2010
    Posts
    218

    Re: Sumif formula that exclueds duplicates

    Quote Originally Posted by oeldere View Post
    a pivot table will do that for you.

    see the attached file.
    Thanks, but this counts project A in future 1 twice.

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

    Re: Sumif formula that exclueds duplicates

    I changed the table.

    See the pivot table in the attached file.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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